INSIDE KUBERNETES ABOUT POD
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
POD:
*is the smallest building block. Within a cluster, a pod represents a process that’s running
*A Pod is a group of one or more containers with shared storage and network resources
*is in worker node there can be many pods and each pod has one or more containers
*instantiated by kubelet
*containers share same IP address
*ATOMIC UNIT OF SCHEDULING
*pod is running as long as all the containers inside pod is running (must)
*all namespaces assigned to pod are available to all container
*two inside pod they are main container and side container
*scaling is easy
*communicate outside through pod IP address .
Types of POD:
- Single-container-per-pod.
- Multi-container-pod.
INSIDE POD:
*one or more application containers share same IP address which are relatively tightly coupled.
POD LIFECYCLE:
*Pending state
*Running state
*Succeeded state
*Failed state