Questions tagged [openshift]
20 questions
5
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
- 650
- 1
- 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
- 61
- 3
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
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
- 253
- 3
- 13
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
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 && echo "" and it didn't work neither. How can I…
Mohammad Mousavi
- 41
- 1
- 3
0
votes
0 answers
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 for pulling image so if I try docker pull redis,…
Mohammad Mousavi
- 41
- 1
- 3
0
votes
0 answers
Change default docker registry in Openshift 4.7
How can I change default docker image registry in Openshift ? I already modified /etc/containers/registries.conf in workers and master nodes and put something like this but it didn't work.
[[registry]]
prefix = "my_private_registry.com"
location =…
Mohammad Mousavi
- 41
- 1
- 3
0
votes
0 answers
Red Hat OpenShift Failed to push image
I'm trying to create a new container in RH OpenShift, but I keep getting the following error:
error: build error: Failed to push image: error copying layers and metadata from "containers-storage:[overlay@...blah...: i/o timeout
I've recently…
davidburtton
- 41
- 4
0
votes
2 answers
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 just keep getting the following error:
Error…
davidburtton
- 41
- 4
0
votes
0 answers
OpenShift Error "No container image registry has been configured with the server"
I've got a brand new OpenShift Single Node 4.9 installation up and running but am running into issues when trying to get my first container up and running
The install completed without a hitch, but now that I'm trying to get my first container up, I…
davidburtton
- 41
- 4
0
votes
0 answers
How to get default credentials for OpenShift Single Node installation
I've just finished up installing my first Single Node OpenShift cluster but I'm running into some problems with trying to log into the node itself. Of course, I have access to the VM that the cluster is running on but I don't seem to have a way of…
davidburtton
- 41
- 4
0
votes
0 answers
Can't add rhel-7-fast-datapath-rpms repo on RHEL 7.9
I'm trying to get an OpenShift installation going, but I'm running into issues pretty much right away when trying to add the 'rhel-7-fast-datapath-rpms' repo to RHEL.
Of course, the systems are fully and correctly registered, subscribed, etc. And…
davidburtton
- 41
- 4
0
votes
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
- 1
- 3