Description
Which component are you using?:
cluster-autoscaler
What version of the component are you using?:
Component version: 1.28.0
What k8s version are you using (kubectl version
)?:
1.28.2
What environment is this in?:
this affects all environments
What did you expect to happen?:
I expect the node-autoprovisioning-enabled
flag to change the behavior of the cluster-autoscaler when it is set or unset.
What happened instead?:
Changing this flag has no effect as it is essentially a left over from an earlier version of the autoscaler.
How to reproduce it (as minimally and precisely as possible):
Run the autoscaler with --node-autoprovisioning-enabled
and without, there is no change in the behavior of the autoscaler.
Anything else we need to know?:
This issue was discussed during the SIG meeting from 2023-10-23, and agree that removal is safe and the function is no longer in use.
The node autoprovisioning metrics should also be removed as part of this effort, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/metrics/metrics.go#L352-L375
/good-first-issue
/help