bhouse-nexthop commented on PR #118: URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/118#issuecomment-7257441302
Tested 1fe4509 on a KVM lab with Apache CloudStack (a main / 24.0 build), Ceph RBD primary storage, and a CKS cluster on Kubernetes 1.33.1 (1 control, 2 workers). The CCM image was built from #120, so a stopped node gets the shutdown taint. Two runs, each on a new cluster, 22 of 22 checks passed in both. Each run first applied the previous revision of this PR (control-plane preferred, not required) with the control node cordoned, so the CCM pod landed on a worker. It then applied this revision and stopped that same worker from CloudStack. | Check | Run 1 | Run 2 | |---|---|---| | Previous revision, control node cordoned | pod on a worker | pod on a worker | | This revision | pod on the control node | pod on the control node | | Control node cordoned, CCM pod deleted | replacement Pending for 30 s: `2 node(s) didn't match Pod's node affinity/selector` | same | | After uncordon | pod on the control node | pod on the control node | | The worker that hosted the pod before is stopped | NotReady +53 s, shutdown taint +56 s | NotReady +53 s, taint +58 s | | VM started again | Ready +37 s, taint removed 5 s later | Ready +34 s, taint removed 3 s later | | Control: kubelet stopped on that worker, VM Running | NotReady +47 s, no taint 30 s later | NotReady +45 s, no taint 30 s later | The API server prints a warning on apply that `node-role.kubernetes.io/master` is deprecated. The affinity term keeps the CCM schedulable on clusters before 1.20. -- 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]
