Skip to content

Commit d749c01

Browse files
committed
Added portal experience for Automatically upgrade an AKS cluster
1 parent b0f4bae commit d749c01

File tree

5 files changed

+32
-9
lines changed

5 files changed

+32
-9
lines changed

articles/aks/auto-upgrade-cluster.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you’re using cluster auto-upgrade, you can no longer upgrade the control pl
3434

3535
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.
3636

37-
## Use cluster auto-upgrade
37+
## Cluster auto-upgrade channels
3838

3939
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].
4040

@@ -62,38 +62,61 @@ The following upgrade channels are available:
6262
>
6363
> * 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.
6464
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)
6668

6769
* 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.
6870

6971
```azurecli-interactive
7072
az aks create --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable --generate-ssh-keys
7173
```
7274
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)
7489
7590
* Set the auto-upgrade channel on an existing cluster using the [`az aks update`][az-aks-update] command with the `auto-upgrade-channel` parameter.
7691
7792
```azurecli-interactive
7893
az aks update --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable
7994
```
8095
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**.
82101
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.":::
84103
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.
86105
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+
---
88111
89112
## Use auto-upgrade with Planned Maintenance
90113
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.
92115
93116
> [!NOTE]
94117
> To ensure proper functionality, use a maintenance window of *four hours or more*.
95118
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].
97120
98121
## Best practices for cluster auto-upgrade
99122
19.8 KB
Loading
35.4 KB
Loading
53.9 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)