Questions tagged [openshift-origin]

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

More information on OKD can be found at:

756 questions
169
votes
10 answers

How to debug "ImagePullBackOff"?

All of a sudden, I cannot deploy some images which could be deployed before. I got the following pod status: [root@webdev2 origin]# oc get pods NAME READY STATUS RESTARTS AGE arix-3-yjq9w 0/1 …
Devs love ZenUML
  • 9,490
  • 7
  • 41
  • 55
119
votes
12 answers

How to create a local development environment for Kubernetes?

Kubernetes seems to be all about deploying containers to a cloud of clusters. What it doesn't seem to touch is development and staging environments (or such). During development you want to be as close as possible to production environment with some…
Wernight
  • 32,087
  • 22
  • 110
  • 128
51
votes
2 answers

What happens when the Kubernetes master fails?

I've been trying to figure out what happens when the Kubernetes master fails in a cluster that only has one master. Do web requests still get routed to pods if this happens, or does the entire system just shut down? According to the OpenShift 3…
David Newswanger
  • 803
  • 1
  • 8
  • 9
31
votes
1 answer

What is the different between openshift deploymentconfig and kubernetes deployment

After far as I know: deploymentconfig → replicationcontroller → pod vs. deployment → replicaset → pod Otherwise, do these two resources have additional differences? The more detail the better.
Weiwei Jiang
  • 467
  • 1
  • 5
  • 6
20
votes
2 answers

What is the "kube-system" namespace for?

In a default openshift install, there is an unused project titled kube-system. It seems like openshift-infra is for things like metrics, default is for the router and registry, and openshift is for global templates. What is the kube-system project…
thisguy123
  • 906
  • 1
  • 6
  • 29
18
votes
3 answers

How to include script and run it into kubernetes yaml?

It is how to run simple batch in kubernetes yaml (helloworld.yaml): ... image: "ubuntu:14.04" command: ["/bin/echo", "hello", "world"] ... In Kubernetes i can deploy that like this: $ kubectl create -f helloworld.yaml Suppose i have a batch script…
smftr
  • 753
  • 2
  • 12
  • 29
17
votes
2 answers

what's the difference between openshift route and k8s ingress?

I'm new to openshift and k8s. I'm not sure what's the difference between these two terms, openshift route vs k8s ingress ?
Feng Xi
  • 795
  • 1
  • 5
  • 25
16
votes
2 answers

OpenShift Origin vs OpenShift Enterprise

I'm searching for a main difference between OpenShift Origin and OpenShift Enterprise. I know that the first is open source and the latter is the commercial version. Have OpenShift Enterprise got other features compared to the open source…
DarkSkull
  • 829
  • 3
  • 9
  • 21
13
votes
2 answers

How to delete or overwrite a secret in OpenShift?

I'm trying to create a secret on OpenShift v3.3.0 using: oc create secret generic my-secret --from-file=application-cloud.properties=src/main/resources/application-cloud.properties -n my-project Because I created the same secret earlier, I get…
Paulo Merson
  • 9,709
  • 5
  • 63
  • 56
11
votes
1 answer

OpenShift V3 vs. OpenShift V2

I'm searching for a main difference between OpenShift V3 and V2. Is OpenShift V2 working like this?: https://www.openshift.com/walkthrough/how-it-works And how are Docker and Kubernetes working in V3? Can someone give me a clear explanation about…
lvthillo
  • 20,087
  • 10
  • 71
  • 108
10
votes
2 answers

What is CrashLoopBackOff status for openshift pods?

There is more than one example where I have seen this status from a pod running in openshift origin. In this case it was the quickstart for the cdi camel example. I was able to successfully build and run it locally (non - openshift) but when I try…
ZeroGraviti
  • 849
  • 1
  • 9
  • 20
9
votes
5 answers

How to make oc cluster up persistent?

I'm using "oc cluster up" to start my Openshift Origin environment. I can see, however, that once I shutdown the cluster my projects aren't persisted at restart. Is there a way to make them persistent ? Thanks
Carla
  • 2,132
  • 2
  • 24
  • 38
9
votes
2 answers

Running a docker image in Openshift Origin

I am very new to Openshift Origin. I am now trying out the possibility of deploying my docker containers in OpenShift origin. For that I created a very simple docker container that adds two numbers and produce the result:…
Abraham Jaison
  • 359
  • 1
  • 3
  • 14
9
votes
3 answers

Right way to delete unused docker images on OpenShift Origin

I try to delete unused docker images on OpenShift origin. What is the right way to do this? I tried: docker rmi `docker images -aq` This deleted all the unused images but I got something like this:
DenCowboy
  • 10,114
  • 24
  • 80
  • 168
9
votes
3 answers

How to get the namespace from inside a pod in OpenShift?

I would like to access to OpenShift and Kubernetes API from inside a pod to query and modify objects in the application the pod belongs to. In the documentation (https://docs.openshift.org/latest/dev_guide/service_accounts.html) I found this…
1
2 3
50 51