Part 1ilyas28 min read
Kubernetes API Server Explained: The Life of a Request
Follow a kubectl request through the Kubernetes API server: authentication, RBAC, admission control, etcd and watches, plus what 401, 403, 409 and 422 mean.
Series9 parts257 min read
Learn how a Kubernetes cluster really works, from the API server and etcd to scheduling, networking and operators.
Start with part 1
Part 1ilyas28 min read
Follow a kubectl request through the Kubernetes API server: authentication, RBAC, admission control, etcd and watches, plus what 401, 403, 409 and 422 mean.
Part 2admin26 min read
How kube-scheduler places Pods: the scheduling queue, filtering, scoring, binding and preemption, and how to read FailedScheduling to fix a Pending Pod.
Part 3admin33 min read
How the kubelet runs Pods: the sync loop, CRI, containerd and runc, probes, CrashLoopBackOff and eviction, and how to debug a Pod stuck on its node.
Part 4admin27 min read
How Kubernetes Services, kube-proxy, CoreDNS and Ingress get traffic to Pods: ClusterIP, NodePort, EndpointSlices, ndots:5, Gateway API and debugging.
Part 5admin28 min read
How Kubernetes persistent storage works: PersistentVolumes, PVCs, StorageClasses, dynamic provisioning, CSI drivers, access modes, snapshots and debugging.
Part 6admin25 min read
Fix CrashLoopBackOff, OOMKilled, ImagePullBackOff and Pending Pods: read the status, the exit code and the events, find the cause and apply the right fix.
Part 7admin27 min read
How etcd stores Kubernetes state: Raft leader election, quorum and fault tolerance, compaction, health checks, and how to back up and restore etcd safely.
Part 8admin25 min read
How Kubernetes controllers work: the reconciliation loop, informers and the workqueue, kube-controller-manager, owner references, finalizers and operators.
Part 9admin38 min read
How Kubernetes Pod networking works: the network model, CNI plugins and IPAM, VXLAN and BGP between nodes, MTU, eBPF data planes and NetworkPolicy.