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:

174 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
  • 506
  • 5
  • 18
5
votes
0 answers

Unable to deploy mongodb community operator in openshift

Im 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…
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,045
  • 6
  • 16
5
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
  • 3,281
  • 14
  • 54
  • 82
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
  • 111
  • 6
4
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…
4
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,045
  • 6
  • 16
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. ELK stack versions: FIlebeat - 6.4.1 Logstash - 6.3.1 elastic - 6.5.4 & kibana - 6.5.4 Please find the template for the…
Bhavani Prasad
  • 1,045
  • 6
  • 16
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,045
  • 6
  • 16
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
  • 2,289
  • 1
  • 18
  • 39
3
votes
0 answers

Unable to redeploy the certificates post-expiry in openshift 3.11

I have deployed openshift(okd) 3.11 using : https://github.com/openshift/openshift-ansible/tree/release-3.11 I would want to produce a scenario where certificates expire and test how the renewal certificates can be done. Hence I have set following…
3
votes
1 answer

"jx boot" fails in "openshift-3.11" provider with "tekton pipeline controller" pod into "crashloopbackoff" state

Summary: I already have a setup of "static jenkins server" type jenkins-x running in openshift 3.11 provider. The cluster was crashed and I want to reinstall jenkins-x in my cluster but there is no support for "static jenkins server" now. So I am…
Bhavani Prasad
  • 1,045
  • 6
  • 16
3
votes
0 answers

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

The following is my kubernetes/openshift deployment, pv and pvc-yaml template: apiVersion: v1 kind: DeploymentConfig metadata: name: pythonApp creationTimestamp: null annotations: openshift.io/image.insecureRepository: "true" spec: …
Rakesh Kotian
  • 115
  • 11
3
votes
0 answers

Openshift deployment is unable to access jarfile "tes.jar"

I am trying to deploy a springboot application in openshift environment. The deployment is finished but the pod is going into "CrashLoopBackOff" error. Found the access error from the pod logs. Error: Unable to access jarfile…
Bhavani Prasad
  • 1,045
  • 6
  • 16
3
votes
0 answers

Openshift RBAC policy to add anyuid scc to all the projects in preview environment

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 "CrashLoopBackOff" error since the…
Bhavani Prasad
  • 1,045
  • 6
  • 16
1
2 3
11 12