Mission 09 Kubernetes core Intermediate

Run a fleet

How Kubernetes really decides what runs where.

The control plane and what breaks when each part is down, how a rollout works, why a pod is Pending, what requests and limits really do, and how etcd keeps the cluster's memory.

Start lesson 1 10 lessons 75 drills About 80 min of reading
  1. Control plane and node components: what talks to what, and what breaks when each is down Everything is a controller watching the API server and reconciling declared state toward actual state. Nobody commands anything — which explains both the resilience and the debugging. 7 drills · 8 min read
  2. Controllers and rollouts: reconciliation, ReplicaSets, and how a Deployment actually rolls A rollout is a ReplicaSet dance: create the new, scale up under maxSurge, scale down under maxUnavailable, stop when readiness fails. Nothing rolls back on its own. 7 drills · 8 min read
  3. Pods: phases, probes, and graceful termination Pending is scheduling, ContainerCreating is the kubelet, CrashLoopBackOff is your process. Probes decide traffic and restarts — and terminating gracefully is something you have to code. 8 drills · 9 min read
  4. Scheduler: filtering, scoring, and why a pod is Pending Filter then score: predicates remove nodes that cannot host the pod, priorities rank the rest, then it is bound. Pending is nearly always requests, taints or a spread rule with nowhere left to go. 8 drills · 4 min read
  5. Workload controllers: StatefulSets, DaemonSets, Jobs and CronJobs Deployment for stateless, StatefulSet for identity and storage, DaemonSet for per-node, Job and CronJob for work that ends. Choosing wrong shows up as an operational problem months later. 7 drills · 9 min read
  6. Debugging workloads: events, exit codes, and the first three minutes Events, then previous logs, then exit code. describe before logs, --previous for a crash loop, and exit 137 means something killed it rather than it failing. 8 drills · 8 min read
  7. Nodes: NotReady, cordon and drain, PDBs, and upgrades Cordon stops new pods, drain evicts existing ones, and PodDisruptionBudgets decide whether the drain can proceed. NotReady is the kubelet's own report, not the node being off. 7 drills · 8 min read
  8. Requests, limits, QoS classes, and eviction Requests are for scheduling, limits are for enforcement. A CPU limit throttles in 100 ms windows; a memory limit kills. Guaranteed, Burstable and BestEffort decide who gets evicted first. 8 drills · 8 min read
  9. API server: authn, authz, admission, watches, and deprecations Every request goes authentication, authorisation, then admission — mutating before validating. Watches are how controllers stay current, and a broken webhook can break the cluster. 7 drills · 9 min read
  10. etcd: quorum, Raft, and the failure modes that page you Majority quorum: 3 tolerate 1, 5 tolerate 2, even numbers add cost and no tolerance. Lose quorum and writes stop by design — and disk latency is etcd's health. 8 drills · 9 min read

Loading…