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

what if a container dies?



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?

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