bhouse-nexthop opened a new pull request, #14821:
URL: https://github.com/apache/cloudstack/pull/14821

   ### Description
   
   Fixes #14820
   
   | test | covers |
   |---|---|
   | `test_14` | enable autoscaling (1..3) via `scaleKubernetesCluster`, check 
the autoscaler pod runs, disable it, check minsize/maxsize are cleared and the 
`cluster-autoscaler` deployment is gone |
   | `test_15` | enable autoscaling (1..3), deploy 2 pods each requesting 55% 
of a worker's CPUs, wait for the cluster to grow and all pods to schedule, 
delete them, wait for it to shrink back to 1 worker |
   | helpers | `autoscaleKubernetesCluster` can disable autoscaling; 
`waitForAutoscalerPodInRunningState` no longer loops forever when no pod 
appears; `test_15` shortens the scale-down delays to 1m on the deployed 
autoscaler (the CKS manifest keeps the 10m defaults and has no override) |
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] Build/CI
   - [x] Test (unit or integration test code)
   
   ### How Has This Been Tested?
   
   Tested: KVM, k8s v1.28.4 and v1.32.3 ISOs, `-m "^test_(04|14|15)_"`: `Ran 3 
tests in 951s, OK`. `test_15` scaled up to 2 workers and back down to 1.
   
   #### How did you try to break this feature and the system with this change?
   
   - Only the test file changes; no product code.
   - Every wait has a timeout, and a failed test deletes its cluster.
   


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