Pods

  • Pods are the smallest deployable units of computing that you can create and manage in Kubernetes.
  • A Pod (as in a pod of whales or pea pod) is a group of one or more containers.
  • A pod with multiple container is not a good practice
  • Pods can be created using yaml or json
  • Pod has multiple states. Running, Pending and succeeded/failed
  • Each pod connects to common pod network
  • Each pod is an application
  • Pods can only be instantiated not created
  • Service serves as an internal load balancer for pod
  • Each pod has an ip and port
  • If more than one container are available in a pod. Each container will have a sperate port address
  • Pod either runs or exits