Kubernetes Architecture
Cheat sheet · https://pcornel.dk/topic.php?topic=6079
Answer
Kubernetes architecture: a control plane (kube-apiserver, etcd, scheduler, controller-manager) stores desired state and reconciles it; worker nodes run kubelet, a container runtime and kube-proxy/CNI to run pods.
Remember
Everything goes through the API server. Desired state in etcd → controllers act → scheduler places pods → kubelet runs them. Check events first; they tell you which step failed.
First checks
kubectl get nodes— first check for this topickubectl get pods -o wide— pods, status, node, IPkubectl describe pod <pod>— events and conditionskubectl logs <pod> [-c <c>] [--previous]— container logs (incl. previous crash)kubectl get events --sort-by=.lastTimestamp— recent cluster events
Verify in this order
kubectl → API server → etcd → controllers/scheduler → kubelet → runtime → pod
Where it usually breaks
Architecture-level failures include API/control-plane unavailability, etcd/state issues, controllers that cannot reconcile, unschedulable work, node/kubelet problems and treating an accepted manifest as proof that workload state converged.
Kubernetes Architecture verification boundary matrix
| Boundary | Inspect | Healthy interpretation | Do not infer |
|---|---|---|---|
| Intent | Cluster architecture | Intended object/scope is explicit and versioned where relevant | Intent is already effective |
| Owning runtime/control plane | Control plane / Worker nodes | Owner accepts and reports the expected object state | Downstream dependencies are healthy |
| Effective state | API server | Independent read-back matches the intended state | Every client sees the same result |
| Consumer outcome | etcd responsibility boundary | The original bounded check succeeds in the same time window | Production correctness outside this scope |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6079