bhouse-nexthop commented on PR #120:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/pull/120#issuecomment-7254086577

   Tested on a KVM lab with Apache CloudStack (a main / 24.0 build), Ceph RBD 
primary storage, and CKS clusters on Kubernetes 1.33.1. The CCM was deployed 
with the `deployment.yaml` from #118 (host network), once with the released 
v1.3.0 image (1 control, 1 worker) and once with an image built from this 
branch (1 control, 2 workers). In each run a worker VM that was not running the 
CCM pod was stopped from CloudStack, then started again.
   
   | Check | v1.3.0 (15 of 15 passed) | This branch (18 of 18 passed) |
   |---|---|---|
   | Stopped worker goes NotReady | +54 s | +53 s |
   | `node.cloudprovider.kubernetes.io/shutdown` taint | not set within 120 s | 
set at +58 s |
   | CCM log for the stopped node | `is shutdown: unimplemented` (21 lines) | 
no error |
   | After the VM is started again | | Ready at +41 s, taint removed 3 s later |
   | Control: kubelet stopped on a worker, VM still Running | NotReady, no 
taint | NotReady at +47 s, no taint 30 s later |
   
   The taint time follows the node monitor grace period (50 s on Kubernetes 
1.33) plus one CCM monitor period.
   
   Seen while testing, not caused by this change: the CCM runs as a single 
replica and its control-plane placement in the manifest is a preference, so the 
pod can be scheduled on a worker. In one run it was on the worker that was 
stopped, and no taint could be set until that worker came back.
   


-- 
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]

Reply via email to