0PricingLogin
Kubernetes Basics · Lesson

Pod Lifecycle and States

Understand the various phases a Pod goes through and how to monitor its status.

Pods: A Journey Through Life

Pods aren't static; they go through different stages, much like a journey. Understanding this "lifecycle" is key to managing your applications effectively in Kubernetes.

It helps you know if your app is healthy, starting up, or has encountered a problem.

Pod Lifecycle and States — illustration 1

Pod's Five Life Stages

Kubernetes categorizes Pods into five main phases. These phases give us a high-level overview of a Pod's current state:

  • Pending: The Pod has been accepted by Kubernetes but its containers haven't started.
  • Running: At least one container in the Pod is running or starting.
  • Succeeded: All containers in the Pod completed successfully and will not restart.
  • Failed: All containers terminated, and at least one failed (e.g., exited with a non-zero code).
  • Unknown: The state of the Pod could not be determined, often due to communication issues.

All lessons in this course

  1. Pods: The Smallest Unit
  2. Pod Lifecycle and States
  3. Multi-Container Pods (Sidecars)
  4. Init Containers and Startup Ordering
← Back to Kubernetes Basics