Difference between revisions of "AKS Gotchas"

From UVOO Tech Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
 
https://learn.microsoft.com/en-us/azure/aks/manage-abort-operations?tabs=azure-cli
 
https://learn.microsoft.com/en-us/azure/aks/manage-abort-operations?tabs=azure-cli
  
 +
```
 
az aks nodepool operation-abort --resource-group myResourceGroup --cluster-name myAKSCluster --name myNodePool
 
az aks nodepool operation-abort --resource-group myResourceGroup --cluster-name myAKSCluster --name myNodePool
  
 
az aks operation-abort --name myAKSCluster --resource-group myResourceGroup
 
az aks operation-abort --name myAKSCluster --resource-group myResourceGroup
 +
```
 +
 +
```
 +
az aks show -g myResourceGroup -n myAKSCluster -o table
 +
az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n {{NODEPOOL}} -o table
 +
 +
az aks update --resource-group myResourceGroup --name myAKSCluster
 +
az aks nodepool update \
 +
    --resource-group myResourceGroup \
 +
    --cluster-name myAKSCluster \
 +
    --name {{NODEPOOL}}
 +
```

Latest revision as of 13:13, 23 March 2023

https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/upgrade-fails-because-of-nsg-rules

https://learn.microsoft.com/en-us/azure/aks/use-multiple-node-pools

https://learn.microsoft.com/en-us/azure/aks/manage-abort-operations?tabs=azure-cli

az aks nodepool operation-abort --resource-group myResourceGroup --cluster-name myAKSCluster --name myNodePool

az aks operation-abort --name myAKSCluster --resource-group myResourceGroup
az aks show -g myResourceGroup -n myAKSCluster -o table
az aks nodepool show -g myResourceGroup --cluster-name myAKSCluster -n {{NODEPOOL}} -o table

az aks update --resource-group myResourceGroup --name myAKSCluster 
az aks nodepool update \
    --resource-group myResourceGroup \
    --cluster-name myAKSCluster \
    --name {{NODEPOOL}}