Skip to content
StackDecode
System Design
14. Cloud ArchitectureAnimated

Kubernetes

A system that runs and manages containers at scale.

The idea

You declare the desired state; Kubernetes schedules pods, restarts failures and scales.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

kubectlAPI serveretcdSchedulerNode 1 (pods)Node 2 (pods)
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

You declare the desired state (3 replicas).

step:
1/4
at:
kubectl
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Describe the desired state
  2. 2The scheduler places pods
  3. 3Controllers keep the state
  4. 4Services route traffic

Where it is used

Large container fleets.

Watch out for

Steep learning curve and operational cost.

Related