What is Pod in kubernetes. Exaplin in 15 points with image as an example
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 atomic unit of scheduler in K8s.
- Pods contains one or more containers, at least one.
- K8s(kubelet) will instantiate pods.
- Pod is running as long the container inside is running.
- Life cycle of pod – Pending, Running, Succeded/ Failed
- Pods will communicate with each other through a pod network – inter pod communication.
- If the pods are in same node, it will communicate via localhost.
- We can’t get the same pod again. We can get the similar pod.
- Pods run an application, access through network.
- The most recommended design to have only one container in a pod.