[ SRE_ARENA ]
KUBERNETES ARCHITECTURE

Kubernetes Architecture: The Zero-to-Hero Guide

DOWNLOADING CONCEPT: 1. WHAT IS KUBERNETES?...

↳Containers are great, but how do you run 10,000 of them across 500 physical servers? What happens when a server's motherboard burns out at 3 AM and takes down 50 containers? Who restarts them on a healthy server?

Kubernetes (K8s)
  • ↳is a Container Orchestrator.
  • ↳It acts as the Operating System for your entire data center.
  • ↳You give Kubernetes a pool of raw servers (Nodes) and tell it your *Desired State* (e.g., 'I want 5 copies of Nginx running').
  • ↳Kubernetes abstracts away the underlying hardware and relentlessly works to maintain that state, even during catastrophic failures.
▲ LIVE INCIDENTA developer deployed a Pod, but it's been stuck in 'Pending' state for 3 hours. It hasn't crashed, it just won't start.
sre@arena:~/kubernetes
sre@arena:~$ kubectl describe pod my-backend-xyz123 | grep -A 5 Events