Aks azure cli snipperts

From UVOO Tech Wiki
Revision as of 20:57, 17 January 2025 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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