Aks azure cli snipperts

From UVOO Tech Wiki
Jump to navigation Jump to search

Scale up or down if you need more or less minimum nodes for testing scenerios.

rg=
name=
az aks nodepool show   --resource-group $rg   --cluster-name $name   --name default   --query "[enableAutoScaling, minCount, maxCount]" -o table
az aks nodepool update   --resource-group $rg   --cluster-name $name   --name default   --update-cluster-autoscaler   --min-count 3   --max-count 5