You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/auto-upgrade-cluster.md
+32-9Lines changed: 32 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ If you’re using cluster auto-upgrade, you can no longer upgrade the control pl
34
34
35
35
If using the `node-image` cluster auto-upgrade channel or the `NodeImage` node image auto-upgrade channel, Linux [unattended upgrades][unattended-upgrades] are disabled by default.
36
36
37
-
## Use cluster auto-upgrade
37
+
## Cluster auto-upgrade channels
38
38
39
39
Automatically completed upgrades are functionally the same as manual upgrades. The [selected auto-upgrade channel][planned-maintenance] determines the timing of upgrades. When making changes to auto-upgrade, allow 24 hours for the changes to take effect. Automatically upgrading a cluster follows the same process as manually upgrading a cluster. For more information, see [Upgrade an AKS cluster][upgrade-aks-cluster].
40
40
@@ -62,38 +62,61 @@ The following upgrade channels are available:
62
62
>
63
63
> * Each cluster can only be associated with a single auto-upgrade channel. This is because your specified channel determines the Kubernetes version that runs on the cluster.
64
64
65
-
### Use cluster auto-upgrade with a new AKS cluster
65
+
## Use cluster auto-upgrade with a new AKS cluster
66
+
67
+
### [Azure CLI](#tab/azure-cli)
66
68
67
69
* Set the auto-upgrade channel when creating a new cluster using the [`az aks create`][az-aks-create] command and the `auto-upgrade-channel` parameter.
68
70
69
71
```azurecli-interactive
70
72
az aks create --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable --generate-ssh-keys
71
73
```
72
74
73
-
### Use cluster auto-upgrade with an existing AKS cluster
75
+
### [Azure portal](#tab/azure-portal)
76
+
77
+
1. In the Azure portal, select **Create a resource** > **Containers** > **Azure Kubernetes Service (AKS)**.
78
+
2. In the **Basics** tab, under **Cluster details**, select the desired auto-upgrade channel from the **Automatic upgrade** dropdown. We recommend selecting the **Enabled with patch (recommended)** option.
79
+
80
+
:::image type="content" source="./media/auto-upgrade-cluster/portal-autoupgrade-new-cluster.png" alt-text="The screenshot of the create blade for an AKS cluster in the Azure portal. The automatic upgrade field shows 'Enabled with patch (recommended)' selected.":::
81
+
82
+
3. Complete the remaining steps to create the cluster.
83
+
84
+
---
85
+
86
+
## Use cluster auto-upgrade with an existing AKS cluster
87
+
88
+
### [Azure CLI](#tab/azure-cli)
74
89
75
90
* Set the auto-upgrade channel on an existing cluster using the [`az aks update`][az-aks-update] command with the `auto-upgrade-channel` parameter.
76
91
77
92
```azurecli-interactive
78
93
az aks update --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable
79
94
```
80
95
81
-
## Auto-upgrade in the Azure portal
96
+
### [Azure portal](#tab/azure-portal)
97
+
98
+
1. In the Azure portal, navigate to your AKS cluster.
99
+
2. In the **Settings** section, select **Cluster configuration**.
100
+
3. Under **Upgrade** > **Kubernetes version**, select **Upgrade version**.
82
101
83
-
If using the Azure portal, you can find auto-upgrade settings under the **Settings** > **Cluster configuration** blade by selecting **Upgrade version**. The `Patch` channel is selected by default.
102
+
:::image type="content" source="./media/auto-upgrade-cluster/portal-autoupgrade-existing-cluster.png" alt-text="The screenshot of the upgrade blade for an AKS cluster in the Azure portal.":::
84
103
85
-
:::image type="content" source="./media/auto-upgrade-cluster/portal-upgrade.png" alt-text="The screenshot of the upgrade blade for an AKS cluster in the Azure portal. The automatic upgrade field shows 'patch' selected, and several APIs deprecated between the selected Kubernetes version and the cluster's current version are described.":::
104
+
4. On the **Upgrade Kubernetes version** page, select the desired auto-upgrade channel from the **Automatic upgrade** dropdown. We recommend selecting the **Enabled with patch (recommended)** option.
86
105
87
-
The Azure portal also highlights all the deprecated APIs between your current version and newer, available versions you intend to migrate to. For more information, see the [Kubernetes API removal and deprecation process][k8s-deprecation].
106
+
:::image type="content" source="./media/auto-upgrade-cluster/portal-autoupgrade-upgrade-page-existing-cluster.png" alt-text="The screenshot of the upgrade blade for an AKS cluster in the Azure portal.":::
107
+
108
+
5. Select **Save**.
109
+
110
+
---
88
111
89
112
## Use auto-upgrade with Planned Maintenance
90
113
91
-
If using Planned Maintenance and cluster auto-upgrade, your upgrade starts during your specified maintenance window.
114
+
If using Planned Maintenance and cluster auto-upgrade, your upgrade starts during your specified maintenance window.
92
115
93
116
> [!NOTE]
94
117
> To ensure proper functionality, use a maintenance window of *four hours or more*.
95
118
96
-
For more information on Planned Maintenance, see [Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster][planned-maintenance].
119
+
For more information on how to set a maintenance window with Planned Maintenance, see [Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster][planned-maintenance].
0 commit comments