2

I am trying to experiment with Preview feature available in Azure AKS as per documentation available we need to have the following requirements

  • Kubernetes version 1.12.4 or later
  • Azure CLI version 2.0.55 or later.
  • add aks preview :- az extension add --name aks-preview
  • register scale set provider:- az feature register --name VMSSPreview --namespace Microsoft.ContainerService
  • ensure that it is registerd enter image description here
  • created AKS cluster with terraform

when i try to apply following command

az aks update --resource-group rg-euwest-d04-dvag-001 --name k8s-euwest-d04-dvag-dfs-dfsapp-001 --enable-cluster-autoscaler --min-count 3 --max-count 5

error

Operation failed with status: 'Bad Request'. Details: AgentPool '' has set auto scaling as enabled but is not on Virtual Machine Scale Sets, this is not allowed

2 Answers 2

0

As per my understanding, it is not supported at this time through terraform or from Azure Portal but only possible from Azure CLI

Sign up to request clarification or add additional context in comments.

Comments

0

Your cluster needs to be created via Azure CLI to enable autoscaling. So if you have created on evia Azure portal, you need to delete it and create new one through Azure CLI. Ref: https://github.com/MicrosoftDocs/azure-docs/issues/29199

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.