Handbooks / Kubernetes / Chapter 2
Pods and Deployments
6 pages · ~4 min✓ Reviewed
Builds on Local Clusters and kubeconfig. Next up: Services and Ingress.
Cluster Architecture: Control Plane and Nodes
1. Components
| Where | Component | Job |
|---|---|---|
| Control plane | kube-apiserver | only front door; all talk through it |
| Control plane | etcd | key-value store of all cluster state |
| Control plane | kube-scheduler | picks a node for unassigned Pods |
| Control plane | kube-controller-manager | control loops: actual → desired |
| Node | kubelet | keeps assigned Pods' containers running |
| Node | kube-proxy | programs Service routing rules |
| Node | container runtime | containerd or CRI-O runs containers |
2. The declarative loop
- Submitdesired state to API
- Storein etcd
- Watchcontrollers fix drift
- Bindscheduler picks node
- Startkubelet runs Pod