-
Bug
-
Resolution: Done
-
Major
-
4.17, 4.18, 4.19
Description of problem:
After scale down the last node always has ToBeDeletedByClusterAutoscaler taints. No issue for 4.19.0-0.nightly-2025-03-07-175123 and 4.18 clusters. OCP-28108:ClusterInfrastructure Cluster should automatically scale up and scale down with clusterautoscaler deployed
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-03-20-013047
How reproducible:
Always
Steps to Reproduce:
1. Create clusterautoscaler and machineautoscaler 2. Add workload to scale up cluster 3. After cluster is stable, remove workload 4. Check the last node taints
Actual results:
After scale down, the last node always has ToBeDeletedByClusterAutoscaler taint $ oc get node zhsun-az201-nrwn6-worker-eastus3-zgntk -o yaml taints: - effect: NoSchedule key: ToBeDeletedByClusterAutoscaler value: "1742477304" $ oc get node NAME STATUS ROLES AGE VERSION zhsun-az201-nrwn6-master-0 Ready control-plane,master 11h v1.32.2 zhsun-az201-nrwn6-master-1 Ready control-plane,master 11h v1.32.2 zhsun-az201-nrwn6-master-2 Ready control-plane,master 11h v1.32.2 zhsun-az201-nrwn6-worker-eastus1-sgblk Ready worker 10h v1.32.2 zhsun-az201-nrwn6-worker-eastus2-rhdt4 Ready worker 10h v1.32.2 zhsun-az201-nrwn6-worker-eastus3-zgntk Ready worker 175m v1.32.2 $ oc get machineautoscaler NAME REF KIND REF NAME MIN MAX AGE zhsun-az201-nrwn6-worker-eastus3 MachineSet zhsun-az201-nrwn6-worker-eastus3 1 3 33m
Expected results:
After scale down, the last node no ToBeDeletedByClusterAutoscaler taint
Additional info:
upstream discussion https://github.com/kubernetes/autoscaler/issues/7964
Found this when testing bug https://issues.redhat.com/browse/OCPBUGS-11115
- clones
-
OCPBUGS-59260 [release-4.18] After scale down the last node has ToBeDeletedByClusterAutoscaler taint
-
- Closed
-
- depends on
-
OCPBUGS-59260 [release-4.18] After scale down the last node has ToBeDeletedByClusterAutoscaler taint
-
- Closed
-
- is cloned by
-
OCPBUGS-59267 [release-4.16] After scale down the last node has ToBeDeletedByClusterAutoscaler taint
-
- Closed
-
- is depended on by
-
OCPBUGS-59267 [release-4.16] After scale down the last node has ToBeDeletedByClusterAutoscaler taint
-
- Closed
-
- links to