Cheat sheets
Components and ports
Control plane and node components, what each one does, and the port numbers worth remembering.
Every component talks to the API server. Only the API server reads and writes etcd.
Who does what
| Component | One-line job |
|---|---|
| kube-apiserver | Front door. Authenticates, authorizes, admits, validates, persists |
| etcd | Consistent key-value store for all cluster state |
| kube-scheduler | Picks a node for each unscheduled Pod |
| kube-controller-manager | Runs the built-in controllers (ReplicaSet, Job, Node, EndpointSlice) |
| cloud-controller-manager | Talks to the cloud API for nodes, routes and load balancers |
| kubelet | Node agent. Starts containers, runs probes, reports status |
| kube-proxy | Programs Service rules on each node |
| Container runtime | Pulls images and runs containers (containerd, CRI-O) |
| CoreDNS | Cluster DNS add-on |
Ports
| Port | Component |
|---|---|
| 6443 | kube-apiserver (secure) |
| 2379 | etcd client |
| 2380 | etcd peer |
| 10250 | kubelet API |
| 10257 | kube-controller-manager (secure) |
| 10259 | kube-scheduler (secure) |
| 30000 to 32767 | Default NodePort range |
Exam signal
"Source of truth" is etcd. "Front end of the control plane" is the API server. "Watches for unscheduled Pods" is the scheduler. "Node agent" is the kubelet. "Service networking rules" is kube-proxy.