Workloads on the Only Control Plane Can Starve etcd, So Heavy Nodes Should Be Workers

In progress Kubernetes

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