INSIDE KUBERNETES ABOUT POD

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 .

Pods | Kubernetes Pods |- Cloud Training Program

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. 

Pods | contino | Katacoda

POD LIFECYCLE:

*Pending state

*Running state

*Succeeded state

*Failed state

6 Managing the lifecycle of the Pod's containers - Kubernetes in Action,  Second Edition MEAP V07