bhouse-nexthop commented on PR #14604: URL: https://github.com/apache/cloudstack/pull/14604#issuecomment-7259980598
Tested on a KVM lab running a main (24.0) build that includes this change. Primary storage is Ceph RBD. The CKS cluster is Kubernetes 1.34.7, 1 control and 2 worker nodes, without autoscaling. The PR targets 4.22; the scale validation and worker are the same on both branches apart from this change. Steps: I stopped one worker VM from CloudStack and waited for the status scanner to move the cluster to Alert. Then I tried a service offering change and a size change. Result: 14 of 14 checks passed (gates included). | Step | Result | |---|---| | Worker VM stopped | cluster in Alert within 5 minutes | | `scaleKubernetesCluster serviceofferingid=<another offering>` | refused (530): `Kubernetes cluster <cluster> is in Alert state; only its size can be changed or nodes removed. Recover the cluster before changing its service offering or autoscaling` | | `scaleKubernetesCluster size=1` | succeeded; the stopped worker's VM is the one removed and expunged, the running worker kept | | Drain | no `kubectl drain` of the stopped worker in the control node's sudo journal; its node object deleted | | Afterwards | cluster Running with 1 worker | Before this change, any scale of a cluster in Alert was refused (#14603). Not tested: removing a stopped worker by `nodeids`, a scale-up in Alert, the refusals for a down control node and for a VM/node count mismatch, and the UI dialog. -- 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]
