[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: what if a container dies?



When the container in Pod dies, it will be automatically restarted. The restart counter will be increases.
In console you will see a warning sign if this happen.

On Thu, Nov 5, 2015 at 9:33 AM, Lorenz Vanthillo <lorenz vanthillo outlook com> wrote:
I know OpenShift V3 is working with Docker and Kubernetes.
Kubernetes uses pods, and a pod contains one or more containers. If a pod dies, the controller manager on the master, will read the replication controller (set) and will notic there is one pod missing. This will be reported. The scheduler will search a new place for the pod and the pod and its container will be recreated. So if a pod dies, a container will die too and it will all be rebuild.

But what is a container dies in a pod? Will the pod die? If the answer is yes, than the same process will be performed. But if the answer is no. How will a something notice that the container inside a pod died?

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]