POD – Kubernetes Life Line

A POD is basically an executing unit containing one or more containers . Even if one container inside the POD fails the entire POD fails.

Types Of POD-

POD in kuberenetes are generally used in two ways that is:-

1.POD that run Single Container

2. POD that run multiple Container

Inside the POD

The POD contains containers . Different POD are assigned with different IPs and the containers inside each POD shares the POD’s IP with different ports . All the containers share their respective POD environment. Some multi-container POD also contain main container and sidecar container inside.

LifeCycle Of a POD

POD life cycle consists of the following Phases:-

  1. Pending Phase-> When the POD is instantiated it is in the pending state
  2. Running Phase
  3. Succeeded/Failed Phase