bhouse-nexthop opened a new issue, #14753:
URL: https://github.com/apache/cloudstack/issues/14753

   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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] CKS: add the out-of-servi... bhouse-nexthop (via GitHub) via commits

Reply via email to