Workloads on the Only Control Plane Can Starve etcd, So Heavy Nodes Should Be Workers
etcd stores the whole cluster state and must write every change to disk before it answers. It is sensitive to disk latency and to CPU starvation: when its writes or heartbeats are delayed, leader elections and API requests time out, and the whole cluster looks broken even though every worker is healthy. When the control plane also runs heavy workloads, those workloads compete with etcd and the API server for CPU, memory, disk and, on a laptop, heat.
A GPU node is a likely place for that contention: transcoding and model inference keep the CPU, memory and disk busy as well as the GPU, often for hours. With a single control plane there is no second etcd member to fall back on.
Separate the Roles
| Node | Runs | Protected by |
|---|---|---|
| Control plane | etcd, API server, scheduler, light workloads at most | Its own node; resource reservations for system daemons |
| GPU worker | GPU workloads only | A taint, e.g. nvidia.com/gpu=true:NoSchedule, plus a matching toleration on GPU pods |
The taint keeps ordinary pods off the GPU node; the GPU request (nvidia.com/gpu: 1) and the toleration let the right pods on. Low-power, always-on machines make good control planes; the most powerful or specialised machines make good workers.
References
- Kubernetes MOC - hub for Kubernetes notes.
- A Highly Available Control Plane Needs a Virtual IP That No Single Node Owns - what a multi-node control plane needs.
- Kubernetes Schedules a GPU Only After a Device Plugin Advertises It as an Extended Resource - GPU requests.
- kubeadm Uses the Hostname as the Node Name, So Name a Node Before It Joins - renaming the node after its role changed.
- etcd documentation: Hardware recommendations - disk latency and CPU needs.
- Kubernetes documentation: Taints and Tolerations - keeping pods off a node.
- Kubernetes documentation: Reserve Compute Resources for System Daemons -
kube-reservedandsystem-reserved.