Difference between revisions of "Aks azure cli snipperts"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "Scale up or down if you need more or less minimum nodes for testing scenerios. ``` az aks nodepool update --resource-group $rg --cluster-name $name --name default --up...")
 
 
Line 1: Line 1:
 
Scale up or down if you need more or less minimum nodes for testing scenerios.
 
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
 
az aks nodepool update  --resource-group $rg  --cluster-name $name  --name default  --update-cluster-autoscaler  --min-count 3  --max-count 5
 
```
 
```

Latest revision as of 20:57, 17 January 2025

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