Kubernetes 101 / Chapter 05 of 07

Pods

Pods in Pankaj Mouriya's Kubernetes 101 guide.

All chapters ↘
  1. 01 / Overview
  2. 02 / Kubernetes Master Node
  3. 03 / kubernetes Nodes
  4. 04 / Declarative Manifesto
  5. 05 / Pods
  6. 06 / Service
  7. 07 / Deployment - Compute

What is a Pod?#

A pod is a thin wrapper wrapped outside of a container or Pod is an execution environment where if multiple or single containers share the same execution environment.

Pods, figure 1

What do we mean by an execution environment?

A collection of things that an app needs in order to run example - IP address, network port, file system or shared memory.

All containers in a port share the same resources from the execution environment

Pods, figure 2

Note - A pod only shows up and running when all the container inside them are up and running