How to enable autoscaler? #891
-
I provisioned a cluster with a static node pool plus an autoscaled node pool. The autoscaled pool should scale to 0 if the static nodes are sufficient. So far so good; this works as expected (or so I thought). autoscaler_nodepools = [
{
name = "worker-asg-arm-fsn1"
server_type = "cax41",
location = "fsn1",
min_nodes = 0
max_nodes = 6
labels = [
"type=dynamic"
],
}
] Now let's assume the number of nodes in the static pool is I can see that the change is correctly applied to the
Am I doing something wrong? Is there anything else I need to enable for the autoscaler to start adding nodes? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@dstockhammer Thank you for providing a detailed description of your setup and the issue you're facing. From your configuration and the logs you've shared, it seems that the cluster-autoscaler is correctly configured with the desired node range ( The cluster-autoscaler primarily scales based on pod requirements. If there are pods that are unschedulable due to resource constraints, the autoscaler will attempt to add nodes. Conversely, if there are nodes running at low capacity, the autoscaler will consider scaling down. Here are a few things to consider:
If you've checked all the above and the issue persists, it might be helpful to increase the log verbosity of the cluster-autoscaler to get more detailed information about its decision-making process. |
Beta Was this translation helpful? Give feedback.
-
Same problem. Autoscale not working |
Beta Was this translation helpful? Give feedback.
@dstockhammer Thank you for providing a detailed description of your setup and the issue you're facing.
From your configuration and the logs you've shared, it seems that the cluster-autoscaler is correctly configured with the desired node range (
--nodes=1:6:cax41:fsn1:worker-asg-arm-fsn1
). However, the autoscaler is not triggering any scaling actions.The cluster-autoscaler primarily scales based on pod requirements. If there are pods that are unschedulable due to resource constraints, the autoscaler will attempt to add nodes. Conversely, if there are nodes running at low capacity, the autoscaler will consider scaling down.
Here are a few things to consider:
Unschedulable Pods: Ensure t…