Questions tagged [openshift]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
123 views

How to create a static IP for pods in OpenShift?

I have an application that needs to get data from a mainframe using FTP. Each MF account is connected to a specific IP, whenever I try to connect from the pod I am connecting through a different ip ...
user avatar
0 votes
0 answers
119 views

Kubernetes Ingress: Having Load Balancing + Session Stickiness by Header/Cookie Value provided in the Request

Following scenario in my cluster: I have a Spring Boot RestAPI with 1 Pod running, on which we receive requests. Each of these requests go through a standart ingress, which routes to a PowerShell HTTP ...
Ayibogan's user avatar
0 votes
0 answers
18 views

Use an Openshift edge route to an external VM

I have several VM's running and I have an Openshift cluster. All exposed application in my cluster have HTTPS through Openshift edge routing. Now I would like to add a url and https to my VM's too (...
Herman's user avatar
  • 101
0 votes
0 answers
14 views

Why do these Tekton resources need to be in separate YAML files?

Does anyone know why putting these resources into a single file does not work, but having them in separate files work perfectly fine? Running oc apply -f big_file.yaml on this does not work: ...
Zhao Li's user avatar
  • 125
0 votes
1 answer
111 views

How to write command for Kubernetes pod with flag and parameter on same line?

I have this configuration working for a Kubernetes/OpenShift cronjob/pod: spec: containers: - name: activate-trigger image: curlimages/curl command: - curl - --header - &...
Zhao Li's user avatar
  • 125
0 votes
0 answers
43 views

OpenShift action audit log

Good day everyone ! I am looking if there is any way to audit or look at a audit log for any specific actions done by a specific user on a deployment for example. My goal would be to see, who scaled ...
yield's user avatar
  • 800
0 votes
0 answers
22 views

Airgap Openshift cluster requires image registry

I have an airgapped installaion of openshift cluster. It was installed from a registry, that holds a copy of images from Redhat registry. The problem is, that after the installation, if this registry ...
Alex's user avatar
  • 1
0 votes
0 answers
94 views

CUPS print server in Openshift

i'm trying to build cups print server in Openshift. the server works fine . I can see the printers and view printer details too. However, i cannot get the admin features to work. Every time when it ...
user216069's user avatar
0 votes
0 answers
76 views

mTLS, Openshift route, and reencrypt mode

I'm not a cluster admin and don't want to enable mTLS on all routes/ingress. Just one, for a specific service. So a lot of the "how to enable mTLS on Openshift" doesn't apply. Anyway, I ...
Max's user avatar
  • 1
0 votes
0 answers
21 views

Openshift REST API endpoint(s) - need to get useful data for CMDB, especially about containers itself

I need a help with tips on REST endpoints with usefull information which I can import inside CMDB for evidence purposes. I found several of them (like Image, Infrastructure, Identity, User, ...
zorbon.cz's user avatar
  • 195
0 votes
0 answers
20 views

Will compute nodes with A100 80GB (2x on node1) and A100 40GB (2x on node2) work in Red Hat OpenShift cluster?

I think the answer should be yes, however these parts/cards are expensive, so would like to know from experts who have done this kind of things. Will MIG be supported on this?
techele's user avatar
0 votes
0 answers
28 views

How to open Openshift route on macOS?

I have installed Openshift CRC on my M1 Macbook using this instruction https://crc.dev/crc/getting_started/getting_started/installing/. Version is OpenShift 4.13.6 I was able to create a simple ...
Богдан Тимофеев's user avatar
0 votes
1 answer
187 views

How to enforce an image in a deployment config is only pulled from an image stream?

I am using OpenShift 4.11. I have configured an ImageStream like so: kind: ImageStream apiVersion: image.openshift.io/v1 metadata: name: my-image spec: lookupPolicy: local: true tags: - ...
Seldon's user avatar
  • 101
0 votes
1 answer
2k views

Nginx configuration in OpenShift

I have been struggling with a solution to have nginx running, in OpenShift there is no use of root user during creation of the containers. Then, I was getting the following error: 2023/06/21 10:37:45 [...
John Barton's user avatar
0 votes
0 answers
83 views

how to configure a prometheus installation of openshift to include the labels of node role in the exporter?

How to configure a prometheus installation of openshift to include the labels of node role in the exporter? We want to alert based on cpu requests only on worker nodes namespace_cpu:...
Adrián Blázquez's user avatar
-1 votes
1 answer
118 views

Keeping a vmdk's path on vmotion

Situation's a bit complicated so I hope I can make sense here. I have an OpenShift cluster installed on vSphere (managers and workers). It has Elastic configured to gather logs. Elastic has a ...
ShmilS's user avatar
  • 1
0 votes
1 answer
2k views

Unable to pull openshift release image

I am installing okd following this link. After installing coreos on bootstrap node I am getting error "Unable to pull Openshift release image". How can I fix this problem ? Thank you
9me's user avatar
  • 101
1 vote
0 answers
64 views

How to include two phase types to look for in `oc wait` command

I'm editing a script that calls the oc wait command with these parameters: oc wait --for=condition=Ready pod --field-selector=status.phase!=Terminating -l app=foo --timeout=55s The above command ...
wwillfred's user avatar
1 vote
3 answers
3k views

kubernetes: how to check pod IP range allocated to node

Every node in a kubernetes cluster has a dedicated range of IP addresses that it can allocate to the pods. How can one check what that IP range is?
Sergey Guzenkov's user avatar
0 votes
2 answers
2k views

Reset kubeadmin password in OKD 4.7

I tried to find password in .openshift_install.log file and I found something but it didn't work. I tried to oc get secrets kubeadmin -n kube-system -ojsonpath='{.data.kubeadmin}' | base64 --decode &...
Mohammad Mousavi's user avatar
-1 votes
1 answer
34 views

Where do I find detailed instructions on installing the community version of Openshift?

Most of the instructions online are either for the full/trial version of Openshift. I was looking for recent instructions and downloads that would allow me to install the Openshift community version.
Tlink's user avatar
  • 103
0 votes
0 answers
585 views

Remove default docker registry and put prefix to pull images in Openshift 4.7

I know we can add registry name before image name. like docker pull my_registry/myimage:latest. But by default it looks in docker hub. Is there anyway to remove docker hub from default or add a prefix ...
Mohammad Mousavi's user avatar
1 vote
1 answer
221 views

Is there an "initial memory allocation" different from the "limit" in Openshift/Kubernetes?

In java, you have min heap space (-Xms) and max heap space (-Xmx). Min heap space is allocated to the JVM from start, "max heap space" is the limit where the JVM will say "out of heap ...
Tristan's user avatar
  • 119
0 votes
2 answers
4k views

How to enable local image registry on OpenShift Single Node Cluster installation

I've recently completed an installation of a Single Node Cluster using OpenShift 4 but I'm running into issues when trying to spin up some of the example container / projects they have available. I ...
davidburtton's user avatar
1 vote
1 answer
6k views

how openshift service loadbalance between pods?

This is a pretty basic question so I figure I must be missing something obvious, Does openshift service uses round-robin to load balance between pods? Or does it forward requests to the pod with the ...
Naama L Ackerman's user avatar
0 votes
0 answers
57 views

OpenShift/OKD cluster - Use with external/outside domain

I have an OpenShift/OKD cluster already up and running and using the following domain... certain.domain Within this domain I have these (among others) features working... console-openshift-console....
Eduardo Lucio's user avatar
1 vote
0 answers
2k views

UPI/Bare Metal - The master node cannot finish the installation ("config/master", "timeout awaiting response headers"/"EOF")

Simple question, but so far very difficult to answer... =-[ I am trying to deploy OpenShift (OKD) 4.5 or 4.7 as directed here Guide: Installing an OKD 4.5 Cluster. Look at the "Starting the ...
Eduardo Lucio's user avatar
2 votes
3 answers
1k views

Any point in running containers as non-root on openshift

The openshift documentation reads : To further protect RHCOS systems in OpenShift Container Platform clusters, most containers, except those managing or monitoring the host system itself, should run ...
bryan hunt's user avatar
-1 votes
1 answer
724 views

OpenShift internal docker registry inaccessible

I am trying to connect with the internal docker registry of an openshift cluster with /bin/docker login -u user -p password` `oc get svc -n default | grep docker-registry `:5000 Getting the following ...
monty's user avatar
  • 1
1 vote
0 answers
92 views

Open shift internal registry lost connection with the cluster

As a result getting image pull error while submitting the deployment to the kube API. Even the docker registry pod IP is in connection but VIRTUAL IP of docker registry lost connection with the ...
user14805338's user avatar
0 votes
0 answers
210 views

Openshift Route - Cookie specification - Istio Routing

I have requirement to pass cookie or headers in openshift route to istio virtual service and decide the traffic routing based on cookie or header passed from route to virtualservice. Please share ...
Nagendra Vummadi's user avatar
0 votes
1 answer
1k views

Is there a way to copy an Openshift project?

I want to have an entire copy of my Openshift project (with all builds, pods, secrets, etc.) for testing purposes (second independent testing environment). Is there a way to copy a project?
Богдан Тимофеев's user avatar
1 vote
1 answer
706 views

401 Unauthorized when trying to log on to Openshift 4.5 with Google identity provider

I recently deployed a version 4.5 OKD cluster and everything seems fine, but I can't get the Google identity provider to work for signing in. I followed the instructions here, but with no success. ...
JSM's user avatar
  • 21
7 votes
1 answer
7k views

What is the difference between objects project and namespace in Openshift 4.x

In openshift 4.x, you have an API for project which seems to be totally similar to namespace in the sense that when you create a project there a namespace created and the other way around. I know ...
Baptiste Mille-Mathias's user avatar