# Kubernetes

Week 12 · Virtualization · Operating Systems
The page also has an interactive playground: https://alfonsocampodonico.com/classes/operating-systems/kubernetes?lang=en
Code: https://github.com/AlfonsoCampodonico/os-playground/tree/main/src/sim (`gh repo clone AlfonsoCampodonico/os-playground`)

> Follow a pod from kubectl apply to Running: scheduler, kubelet, cgroups and Services.

A pod is processes in namespaces and cgroups on a node’s kernel. Watch the control plane decide where it runs, and what happens when it does not fit, runs out of memory or loses its node.



The playground above keeps its whole setup in the URL, so a link to this page reproduces the exact example. Change the inputs, step through it, and share the link.
