Questions tagged [openshift]
27 questions
7
votes
1 answer
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 namespace is a standard object in kubernetes and…

Baptiste Mille-Mathias
- 679
- 2
- 8
- 26
2
votes
3 answers
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 as a non-root user. Dropping the privilege level…

bryan hunt
- 63
- 5
1
vote
0 answers
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 executes successfully, but I need to check for…

wwillfred
- 11
- 1
1
vote
2 answers
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
- 31
- 4
1
vote
1 answer
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 space" when reaching it.
Are there such different values (initial…

Tristan
- 119
- 3
1
vote
1 answer
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 greatest amount of available resources? Or is it…

Naama L Ackerman
- 11
- 1
- 3
1
vote
0 answers
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 control plane nodes" section.
I'm trying to create the…

Eduardo Lucio
- 269
- 4
- 14
1
vote
0 answers
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 cluster.
Observed these logs in server. Error response…

user14805338
- 11
- 2
1
vote
1 answer
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.
When I try to log in with my company google identity…

JSM
- 21
- 3
0
votes
0 answers
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
- 1
0
votes
0 answers
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 deployment config for Java Spring Application by using…

Богдан Тимофеев
- 143
- 6
0
votes
1 answer
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:
- name: latest
annotations: null
from:
…

Seldon
- 101
0
votes
1 answer
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 [emerg] 1#1: mkdir()…

John Barton
- 103
- 2
0
votes
0 answers
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…
0
votes
1 answer
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
- 101
- 1