bhouse-nexthop commented on PR #14611: URL: https://github.com/apache/cloudstack/pull/14611#issuecomment-7260564421
Tested again at the current head (the shared removed-node helper from review). Lab: a KVM lab running a main (24.0) build with this PR, Ceph RBD primary storage, a CKS cluster on Kubernetes 1.34.7 with 1 control and 2 worker nodes, `cloud.kubernetes.cluster.node.drain.timeout=60` for the test (reset afterwards). A Deployment of 2 pods, one per worker (required pod anti-affinity), was put under a PodDisruptionBudget with `minAvailable: 2`, so no worker could be drained. Result: 13 of 13 checks passed (gates included). | Step | Result | |---|---| | `scaleKubernetesCluster size=1` with the PDB | failed: `unable to drain Kubernetes node: <worker> ... Cannot evict pod as it would violate the pod's disruption budget ... global timeout reached: 1m0s ... No node was removed` | | After the failure | same VMs as before, no node left cordoned, cluster `Running` | | PDB deleted, `scaleKubernetesCluster size=1` again | succeeded: one worker drained and removed, cluster `Running` with 1 worker | The upgrade part of this PR was not re-run at this head: the build I tested carries other unmerged changes to the upgrade worker, so an upgrade there would not exercise this PR's code alone. My earlier report covers it. -- 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]
