Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: <carry>: fix calculation of max cluster size
When scaling up, the calculation for the maximum size of the cluster based on `--max-nodes-total` doesn't take into account any nodes that are in the process of coming up. This allows the cluster to grow beyond the size specified. With this change I now see: scale_up.go:266] 21 other pods are also unschedulable scale_up.go:423] Best option to resize: openshift-cluster-api/amcdermo-ca-worker-us-east-2b scale_up.go:427] Estimated 18 nodes needed in openshift-cluster-api/amcdermo-ca-worker-us-east-2b scale_up.go:432] Capping size to max cluster total size (23) static_autoscaler.go:275] Failed to scale up: max node total count already reached
- Loading branch information