Skip to content

Commit d96b0ca

Browse files
committed
Saurabh edits
1 parent ac10bdc commit d96b0ca

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

articles/storage/container-storage/container-storage-aks-quickstart.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Create a Linux-based Azure Kubernetes Service (AKS) cluster, instal
44
author: khdownie
55
ms.service: azure-container-storage
66
ms.topic: quickstart
7-
ms.date: 10/27/2023
7+
ms.date: 11/03/2023
88
ms.author: kendownie
99
ms.custom: devx-track-azurecli
1010
---
@@ -18,7 +18,7 @@ ms.custom: devx-track-azurecli
1818
[!INCLUDE [container-storage-prerequisites](../../../includes/container-storage-prerequisites.md)]
1919

2020
> [!IMPORTANT]
21-
> This Quickstart will work for most use cases. The only exception is if you plan to use Azure Elastic SAN Preview as backing storage for your storage pool and you don't have owner-level access to the Azure subscription. If both these statements apply to you, use the [manual installation steps](install-container-storage-aks.md) instead.
21+
> This Quickstart will work for most use cases. An exception is if you plan to use Azure Elastic SAN Preview as backing storage for your storage pool and you don't have owner-level access to the Azure subscription. If both these statements apply to you, use the [manual installation steps](install-container-storage-aks.md) instead. Alternatively, you can complete this Quickstart with the understanding that a storage pool won't be automatically created, and then [create an Elastic SAN storage pool manually](use-container-storage-with-elastic-san.md).
2222
2323
## Getting started
2424

@@ -28,14 +28,20 @@ ms.custom: devx-track-azurecli
2828

2929
- If you're using Azure Cloud Shell, you might be prompted to mount storage. Select the Azure subscription where you want to create the storage account and select **Create**.
3030

31-
## Install the latest AKS preview extension
31+
## Install the required extensions
3232

3333
Upgrade to the latest version of the `aks-preview` cli extension by running the following command.
3434

3535
```azurecli-interactive
3636
az extension add --upgrade --name aks-preview
3737
```
3838

39+
Add or upgrade to the latest version of k8s-extension by running the following command.
40+
41+
```azurecli-interactive
42+
az extension add --upgrade --name k8s-extension
43+
```
44+
3945
## Set subscription context
4046

4147
Set your Azure subscription context using the `az account set` command. You can view the subscription IDs for all the subscriptions you have access to by running the `az account list --output table` command. Remember to replace `<subscription-id>` with your subscription ID.
@@ -127,6 +133,8 @@ The deployment will take 10-15 minutes to complete.
127133

128134
If you already have an AKS cluster that meets the [VM requirements](#choose-a-vm-type-for-your-cluster), run the following command to install Azure Container Storage on the cluster and create a storage pool. Replace `<cluster-name>` and `<resource-group-name>` with your own values. Replace `<storage-pool-type>` with `azureDisk`, `ephemeraldisk`, or `elasticSan`.
129135

136+
Running this command will enable Azure Container Storage on a node pool named `nodepool1`, which is the default node pool name. If you want to install it on other node pools, see [Install Azure Container Storage on specific node pools](#install-azure-container-storage-on-specific-node-pools).
137+
130138
> [!IMPORTANT]
131139
> **If you created your AKS cluster using the Azure portal:** The cluster will likely have a user node pool and a system/agent node pool. However, if your cluster consists of only a system node pool, which is the case with test/dev clusters created with the Azure portal, you'll need to first [add a new user node pool](../../aks/create-node-pools.md#add-a-node-pool) and then label it. This is because when you create an AKS cluster using the Azure portal, a taint `CriticalAddOnsOnly` is added to the system/agent nodepool, which blocks installation of Azure Container Storage on the system node pool. This taint isn't added when an AKS cluster is created using Azure CLI.
132140
@@ -135,3 +143,19 @@ az aks update -n <cluster-name> -g <resource-group-name> --enable-azure-contain
135143
```
136144

137145
The deployment will take 10-15 minutes to complete.
146+
147+
### Install Azure Container Storage on specific node pools
148+
149+
If you want to install Azure Container Storage on specific node pools, follow these instructions. The node pools must contain at least three Linux VMs each.
150+
151+
1. Run the following command to view the list of available node pools. Replace `<resource-group-name>` and `<cluster-name>` with your own values.
152+
153+
```azurecli-interactive
154+
az aks nodepool list --resource-group <resource-group-name> --cluster-name <cluster-name>
155+
```
156+
157+
1. Run the following command to install Azure Container Storage on specific node pools. Replace `<cluster-name>` and `<resource-group-name>` with your own values. Replace `<storage-pool-type>` with `azureDisk`, `ephemeraldisk`, or `elasticSan`.
158+
159+
```azurecli-interactive
160+
az aks update -n <cluster-name> -g <resource-group-name> --enable-azure-container-storage <storage-pool-type> --azure-container-storage-nodepools <comma separated values of nodepool names>
161+
```

0 commit comments

Comments
 (0)