Open
Description
As an operator I would like CKS to tell Kubernetes when a node's VM is down, so stateful pods on that node move to other nodes.
| today | wanted |
|---|---|
| A node VM stops (host failure, crash, out-of-band stop). Kubernetes marks the node NotReady but keeps its volumes attached. StatefulSet pods with RWO volumes (e.g. Ceph RBD via ceph-csi) stay stuck until the node returns. | CloudStack knows the VM is not running, so CKS adds node.kubernetes.io/out-of-service=nodeshutdown:NoExecute to the node. Kubernetes' non-graceful node shutdown handling (default on from 1.26, GA in 1.28) then force-detaches the volumes and reschedules the pods. The taint is removed when the VM runs again. |
Notes:
- Only when CloudStack is sure the VM is down (Stopped / Destroyed / Expunging), never for transitional or unknown states.
- Not during CKS's own scale, stop, upgrade or node removal.
- Opt-in, since force-detach is only safe where a stopped VM is really powered off.
Metadata
Metadata
Assignees
Labels
No labels
Activity