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/azure-linux/tutorial-azure-linux-migration.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,10 @@ title: Azure Linux Container Host for AKS tutorial - Migrating to Azure Linux
3
3
description: In this Azure Linux Container Host for AKS tutorial, you learn how to migrate your nodes to Azure Linux nodes.
4
4
author: htaubenfeld
5
5
ms.author: htaubenfeld
6
+
ms.reviewer: schaffererin
6
7
ms.service: microsoft-linux
7
8
ms.topic: tutorial
8
-
ms.date: 01/12/2024
9
+
ms.date: 01/19/2024
9
10
---
10
11
11
12
# Tutorial: Migrate nodes to Azure Linux
@@ -26,18 +27,18 @@ If you don't have any existing nodes to migrate to Azure Linux, skip to the [nex
26
27
27
28
* You need the latest version of Azure CLI. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
28
29
29
-
## Remove existing node pools and add new Azure Linux node pools
30
+
## Add Azure Linux node pools and remove existing node pools
30
31
31
-
1.Remove your existing nodes using the `az aks nodepool delete` command.
32
+
1.Add a new Azure Linux node pool using the `az aks nodepool add` command. This command adds a new node pool to your cluster with the `--mode System` flag, which makes it a system node pool. System node pools are required for Azure Linux clusters.
32
33
33
34
```azurecli-interactive
34
-
az aks nodepool delete --resource-group <resource-group-name> --cluster-name <cluster-name> --name <node-pool-name>
35
+
az aks nodepool add --resource-group <resource-group-name> --cluster-name <cluster-name> --name <node-pool-name> --mode System --os-sku AzureLinux
35
36
```
36
37
37
-
2. Add a new Azure Linux node pool using the `az aks nodepool add` command. This command adds a new node pool to your cluster with the `--mode System` flag, which makes it a system node pool. System node pools are required for Azure Linux clusters.
38
+
2. Remove your existing nodes using the `az aks nodepool delete` command.
38
39
39
40
```azurecli-interactive
40
-
az aks nodepool add --resource-group <resource-group-name> --cluster-name <cluster-name> --name <node-pool-name> --mode System --os-sku AzureLinux
41
+
az aks nodepool delete --resource-group <resource-group-name> --cluster-name <cluster-name> --name <node-pool-name>
41
42
```
42
43
43
44
## In-place OS SKU migration (preview)
@@ -115,7 +116,7 @@ There are several settings that can block the OS SKU migration request. To ensur
115
116
116
117
#### Migrate the OS SKU of your Ubuntu node pool
117
118
118
-
* Migrate the OS SKU of your node pool to Azure Linux using the `az aks nodepool update` command. This command updates the OS SKU for your node pool from Ubuntu to Azure Linux. The change is applied immediately.
119
+
* Migrate the OS SKU of your node pool to Azure Linux using the `az aks nodepool update` command. This command updates the OS SKU for your node pool from Ubuntu to Azure Linux. The OS SKU change triggers an immediate upgrade operation, which takes several minutes to complete.
119
120
120
121
```azurecli-interactive
121
122
az aks nodepool update --resource-group <resource-group-name> --cluster-name <cluster-name> --name <node-pool-name> --os-sku AzureLinux
0 commit comments