POD – Kubernetes Life Line
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
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:-
- Pending Phase-> When the POD is instantiated it is in the pending state
- Running Phase
- Succeeded/Failed Phase