File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
docs/xks/operator-guide/kubernetes Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export RG=rg1
9090export POOL_NAME=default
9191export CLUSTER_NAME=cluster1
9292export AZURE_LOCATION=westeurope
93+ export KUBE_VERSION=1.21.9
9394```
9495
9596What AKS versions can I pick in this Azure location:
@@ -102,6 +103,16 @@ az aks get-versions --location $AZURE_LOCATION -o table
102103az aks get-upgrades --resource-group $RG --name $CLUSTER_NAME --output table
103104```
104105
106+ We recommend to only upgrade control-plane separately and then upgrade the nodes.
107+
108+ ``` shell
109+ az aks upgrade --resource-group $RG --name $CLUSTER_NAME --kubernetes-version $KUBE_VERSION --control-plane-only
110+ ```
111+
112+ ``` shell
113+ az aks nodepool upgrade --resource-group $RG --cluster-name $CLUSTER_NAME --name $POOL_NAME --kubernetes-version $KUBE_VERSION
114+ ```
115+
105116### Upgrading node pools without upgrading cluster
106117
107118From time to time you might want to upgrade your Node Pools without upgrading the Kubernetes version. We always recommend to look at
You can’t perform that action at this time.
0 commit comments