Which component are you using?:
/area cluster-autoscaler
What version of the component are you using?:
1.35.0
Component version: cluster-autoscaler-chart-9.56.0
What k8s version are you using (kubectl version)?:
kubectl version Output
$ kubectl version
Server Version: v1.34.4+rke2r1
What environment is this in?:
Exoscale
What did you expect to happen?:
I would expect the cluster autoscaler to respect the minimum set instances on a Instance Pool.
What happened instead?:
The cluster autoscaler ignores the minimum set instances and always defaults back onto 1
How to reproduce it (as minimally and precisely as possible):
- Deploy 3 static controlplane instances on Exoscale
- Deploy a self-managed kubernetes cluster, no SKS, on Exoscale with cloud provider set to external.
- Deploy the exoscale Cloud Controller Manager.
- Deploy a Instance pool with a mimum set to three to be configured as worker nodes.
- Deploy the Cluster Autoscaler with the Exoscale configuration.
- Wait for the CA to be fully active and see that it automatically scales back to 1
Anything else we need to know?:
Based on my analysis on these two files:
The exoscale_node_group_sks_nodepool.go has parameters for setting the Instance Pool size but the exoscale_node_group_instance_pool.go does not which is why the CA seems to default back 1 as it's hardcoded.
Which component are you using?:
/area cluster-autoscaler
What version of the component are you using?:
1.35.0
Component version: cluster-autoscaler-chart-9.56.0
What k8s version are you using (
kubectl version)?:kubectl versionOutputWhat environment is this in?:
Exoscale
What did you expect to happen?:
I would expect the cluster autoscaler to respect the minimum set instances on a Instance Pool.
What happened instead?:
The cluster autoscaler ignores the minimum set instances and always defaults back onto 1
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Based on my analysis on these two files:
The
exoscale_node_group_sks_nodepool.gohas parameters for setting the Instance Pool size but theexoscale_node_group_instance_pool.godoes not which is why the CA seems to default back 1 as it's hardcoded.