Pod Structure

Pod Structure An architecture diagram generated by Archify. Pod · Smallest deployable unit · Architecture component · 1 IP · 1 netns Pod Smallest deployable unit 1 IP · 1 netns Pod IP Address · Unique within the cluster · Network Pod IP Address Unique within the cluster Network Namespace · Shared by all containers · Network Network Namespace Shared by all containers Application Container · Port 8080 · Containers Application Container Port 8080 Sidecar Container · Port 9090 · Containers Sidecar Container Port 9090 Init Container · Runs before app containers · Containers Init Container Runs before app containers emptyDir Volume · Ephemeral shared storage · Storage emptyDir Volume Ephemeral shared storage configMap Volume · Configuration files · Storage configMap Volume Configuration files secret Volume · Sensitive data · Storage secret Volume Sensitive data persistentVolumeClaim · Persistent storage · Storage persistentVolumeClaim Persistent storage assigns IP runs mounts Network Containers Storage

Shared Context

  • • All containers in a Pod share the same network, IPC, and UTS namespaces
  • • Each Pod has a unique IP address within the cluster

Deployment Unit

  • • All containers in a Pod always run on the same node
  • • A Pod is the atomic unit of deployment, scheduling, and replication