bhouse-nexthop commented on PR #14754: URL: https://github.com/apache/cloudstack/pull/14754#issuecomment-7085302246
### Lab test: passed Tested on a nested KVM lab (3 hosts, Ceph RBD) running a main (24.0.0-SNAPSHOT) build with this commit, and `cloud.kubernetes.cluster.node.out.of.service.taint.enabled=true`. Kubernetes v1.33.13. The CloudStack CSI driver v3.0.0 provided the volumes. **Single control node, 2 workers.** A StatefulSet (1 replica, 1Gi PVC) ran on worker A. Worker A was then stopped with `stopVirtualMachine forced=true`, outside CKS. | time | event | |---|---| | +0s | VM Stopped | | +10s | cluster Alert, node has `node.kubernetes.io/out-of-service=nodeshutdown:NoExecute` | | +71s | `db-0` Running on worker B, VolumeAttachment moved to worker B, the data written before the stop is still on the volume | | start VM, +32s | node Ready, taint removed, cluster back to Running, tainted-VMs detail cleared | **HA: 3 control nodes, 2 workers.** | step | result | |---|---| | stop the first control node | tainted within 16s (kubectl ran through another control node) | | also stop a worker while it is down | tainted within 22s | | start both | both taints removed, cluster back to Running within 46s, all 5 nodes Ready | -- 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]
