Questions tagged [okd]

OKD which stands for OpenShift Kubernetes Distribution is the open source upstream project for OpenShift, a distribution of Kubernetes for the enterprise developed by Red Hat. OKD was previously known as OpenShift Origin.

More information on OKD can be found at:

210 questions
14
votes
1 answer

Openshift service is not available after short inactivity

We have our project hosted in OpenShift (OKD to be precise. We host it ourselves). The setup is as follows: Routing server (Spring Boot 1.5.8 with Zuul): This one takes all the incoming traffic and routes it to the correct services Multiple…
Nexonus
  • 706
  • 6
  • 26
6
votes
1 answer

How to set node ip as nameserver in dnsConfig?

Im overriding the the dns policy of a pod since I'm facing a issue with default /etc/resolv.conf of the pod. Another issue is that the pod is not able to connect to smtp server server due to default /etc/resolv.conf of the pod Hence the dnspolicy…
6
votes
0 answers

Filebeat unable to access logs under "/var/lib/docker/containers" path due to Permission Denied issue

I am trying to deploy ELK stack with Filebeat in Openshift environment. Filebeat is trying to read the log files under "/var/lib/docker/containers" path of a pod but it failed with "Permission Denied" error. I am using an SCC with "runsAsAny" and…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
6
votes
2 answers

openshift 3.11 install fails - Unable to update cni config: No networks found in /etc/cni/net.d",

I'm trying to install Openshift 3.11 on a one master, one worker node setup. The installation fails, and I can see in journalctl -r: 2730 kubelet.go:2101] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady…
Magick
  • 4,603
  • 22
  • 66
  • 103
5
votes
0 answers

Unable to deploy mongodb community operator in openshift

I'm trying to deploy the mongodb community operator in openshift 3.11, using the following commands: git clone https://github.com/mongodb/mongodb-kubernetes-operator.git cd mongodb-kubernetes-operator oc new-project mongodb oc create -f…
Rakesh Kotian
  • 175
  • 3
  • 20
5
votes
1 answer

statefulset unable to rollback if the pods are not in running state

I have deployed mongo stateful pods with an auto rolling strategy and below is the template for it. The deployment is successful and the pods are into Running state. - apiVersion: apps/v1beta1 kind: StatefulSet metadata: name: mongo spec: …
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
5
votes
0 answers

What is the timeline for OpenShift Origin 4.X?

My company is playing around with OKD. I got a question as to when version 4.1 would be available for the public. Any comment in this regard would be appreciated.
Billy Billy
  • 423
  • 4
  • 14
4
votes
0 answers

Pod/Container directory used to mount nfs path gets empty after deployment

The following is my kubernetes/openshift deployment configuration template, along with its persistent volumes and persistent volume claims: apiVersion: v1 kind: DeploymentConfig metadata: name: pythonApp creationTimestamp: null annotations: …
Rakesh Kotian
  • 175
  • 3
  • 20
4
votes
1 answer

Filebeat unable to send data to logstash which results in empty data in elastic & kibana

I am trying to deploy ELK stack in openshift platform (OKD - v3.11) and using filebeat to automatically detect the logs. The kibana dashboard is up, elastic & logstash api's are working fine but the filebeat is not sending the data to logstash since…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
4
votes
1 answer

Openshift RBAC policy to allow projects in preview environment to access images from different project

I am using OKD with Jenkinsx setup and jenkinsx creates a project dynamically based on a Pull Request created by a developer and deploys the services in that project. But the services in those projects fails with "ImagePullBackOff" error since the…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
4
votes
1 answer

Find out internal OpenShift registry IP or URL

I set up an OpenShift cluster using oc cluster up. Now I want to directly access the internal registry, but I am not able to find out the correct url. I already searched a lot for this, but it seems that all the potential solutions don´t point me to…
EllisTheEllice
  • 905
  • 3
  • 14
  • 33
4
votes
3 answers

Installing and Running docker in a Docker container running in Openshift

I am currently working on the following scenario I am trying to setup a container in OpenShift that runs a Jenkins that is itsself able to run docker to make use of declarative pipelines where the build is running in it's own docker container. This…
relief.melone
  • 3,042
  • 1
  • 28
  • 57
4
votes
1 answer

Openshift/OKD template if/else condition

Currently I have an OKD/openshift template which exposes port 1883 on a specific container: ports: - name: 1883-tcp port: 1883 containerPort: 1883 protocol: TCP hostPort: ${MQTT-PORT} Is it possible to have an if/else clause depending…
Bob Claerhout
  • 781
  • 5
  • 24
3
votes
1 answer

How to change the route url of openshift oauth authentication?

Openshift Version: 4.7 I'm trying to update the route url of the openshift webconsole and openshift OAuth athentication. I could successfully do it for openshift console by using oc edit route.route.openshift.io/console -n openshift-console Changed…
3
votes
1 answer

openshift 3.11 oc command : error: Error loading config file ".kube/config": yaml: line 11: could not find expected ':'

In a okd cluster installed using https://github.com/openshift/origin/tree/release-3.11 After the okd installation the oc command was working fine but after somedays, I'm facing a weird issue with oc command i.e running any oc command in the cluster…
1
2 3
13 14