-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Unable to enable cluster-autoscaler due to VM Scale Sets not being enabled #24942
Comments
Thanks for reaching out. We are currently investigating and will update you shortly. |
As noted in the opening section:
Creating an AKS cluster through the portal doesn't meet these requirements. You must install the As also noted in the article:
What you're currently seeing on a regular AKS cluster without scale set support is manually scaling the number of nodes. When you create a cluster that uses scale sets, you don't use any of the scale options in the portal. Let the cluster autoscaler manage settings from within the cluster itself. @Karishma-Tiwari-MSFT #please-close |
@JoshLefebvre We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion. |
This should not be closed, I installed the aks-preview extension and followed step-by-step this guide: https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler, however, I obtain the exactly same message:
What else can I try? |
@diegotrujillor We are looking into your issue and will update you shortly. |
Thanks, I was able to use the autoscaler once I deleted the cluster and recreated again. You can skip the looking into the issue. Any chances in the future to enable the autocluster on existing ones created without the --enable-vmss from its beginning? Or probably an update that accepts --enable-vmss so, --enable-cluster-autoscaler, in this case would not needed delete the cluster at all. |
@diegotrujillor You can directly use the Kubernetes cluster autoscaler for clusters that aren't using VMSS - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/azure The cluster autoscaler behavior built-in to AKS is unlikely to have a migration to VMSS as the underlying infrastructure components are quite different. Rather than individual VM resources for each of the Kubernetes nodes, a virtual machine scale set resource is used to control the create and delete operations of VM nodes and handle the required network connections. |
This should not be closed, as I am facing the same issue. AKS Cluster version : 1.13.12 Azure CLI Version : 2.0.77 Operation failed with status: 'Bad Request'. Details: AgentPool 'agentpool' has set auto scaling as enabled but is not on Virtual Machine Scale Sets, this is not allowed. Please see https://aka.ms/aks-vmss-enablement for more details. |
yes, please reopen this
|
@sumanentc @stel-lest How was your AKS cluster created, using VMSS? Please let me know. If it is not, please refer to this document on troubleshooting: https://docs.microsoft.com/en-us/azure/aks/troubleshooting#im-receiving-errors-trying-to-use-features-that-require-virtual-machine-scale-sets |
Same Issue here when I try to upgrade node count from 3 to 4 using terraform Output Terraform
|
Any progress on this? |
This has become a blocker for us as we aren't in a position to easily recreate our clusters with |
And I assume |
Same here. In my case, I deleted all nodepools in my AKS. (So yes, my cluster was running with Just a guess but does AgentPool API require at least 1 VMSS based nodepool in the cluster ? |
not able to create a new nodepool for avilability set node pool, please check below error and sugget the solution how shall i increase node VM sizes(Ram and CPU) as customers increased. Error : (AgentPoolAPIsNotSupported) AgentPool APIs supported only for clusters with VMSS agent pools. |
Getting this error when deploying ARM/Bicep Templates to add additional agent pools |
When running the following command against my aks cluster:
I get the following error message:
> Operation failed with status: 'Bad Request'. Details: AgentPool 'agentpool' has set auto scaling as enabled but is not on Virtual Machine Scale Sets, this is not allowed
I am wondering what this means not allowed on Virtual Machine Scale Sets? When creating the cluster I used the portal and just created and provisioned my VMs directly from the "Scale" tab. There was no option to enable/disable VM Scale sets?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: