Skip to content

Pod lifecycle and status

Pod lifecycle and status refers to the sequence of states a Pod goes through from creation to termination, as well as the specific conditions it reports during its operation.

Phases of Existence

The lifecycle of a Pod begins when it is submitted to the Kubernetes cluster and typically ends with its deletion.^[400-devops__06-Kubernetes__k8s-learning__04.deployment__deployment.md]

When a Deployment creates a Pod, its initial status is often ContainerCreating, indicating that the container runtime is in the process of pulling the image and starting the container.^[400-devops__06-Kubernetes__k8s-learning__04.deployment__deployment.md]

Deletion and Ownership

The lifecycle can be terminated either manually by deleting the Pod directly or indirectly by deleting its parent resource, such as a Deployment.^[400-devops__06-Kubernetes__k8s-learning__04.deployment__deployment.md] Deleting a Deployment will remove all associated Pods, leaving no resources in the namespace.^[400-devops__06-Kubernetes__k8s-learning__04.deployment__deployment.md]

Sources

  • 400-devops__06-Kubernetes__k8s-learning__04.deployment__deployment.md