-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[azurerm_kubernetes_cluster] working with autoscaler #2502
Comments
Would it make sense to rename this property from |
Thanks for opening this issue - apologies for the delayed response here! If you're managing the count for the AKS Cluster externally it's possible to use the
Whilst that will ignore changes to the count being different; if another field changes Terraform will still try and update the number of nodes in the cluster to match this. Would you be able to take a look and see if this approach works for you for the moment? We could investigate obtaining the current cluster count and re-submitting that if the users explicitly ignored the value of the Thanks! |
Didn't find any related issue so I'll ask here. $ az aks create \
...
--enable-cluster-autoscaler \
--min-count 1 \
--max-count 3 Thanks |
Autoscaling for AKS is in preview. I don't think there's anything for it in azure-sdk-for-go yet. It's enabled using this aks-preview extension. There's an SDK there. Assuming this eventually goes GA, would it be possible for the aurerm_kubernetes_cluster resource to use
|
I am requesting the same feature. It would be great to add "enable_cluster_autoscaler = true" into agent_pool_profile. Or, expand the "addon_profile" block to accept "cluster_autoscaler" settings. |
Would be great to see support for this |
AutoScaling has been supported in the go sdk since 2019-02-01: |
So who's going to hack it into provider? The preview feature for the aci connector is already available. |
Any progress on this? |
Looks like there is a PR for it in the works #3361 |
Any updates? We really need this feature in terraform! |
The PR is merged now, so it's available for testing. I guess with next release this issue can be closed. |
Fixed via #3361 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
In our AKS (deployed using terraform), we've setup autoscaler (https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/aks/autoscaler.md) manually (not using terraform - planned to use).
At creation time, we setup with only 1 agent.
The text was updated successfully, but these errors were encountered: