Skip to content

Commit 0de99f9

Browse files
authored
Merge pull request #175925 from andyzhangx/patch-28
Update csi-storage-drivers.md
2 parents 54921e8 + 521564f commit 0de99f9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/aks/csi-storage-drivers.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enable Container Storage Interface (CSI) drivers on Azure Kubernetes Serv
33
description: Learn how to enable the Container Storage Interface (CSI) drivers for Azure disks and Azure Files in an Azure Kubernetes Service (AKS) cluster.
44
services: container-service
55
ms.topic: article
6-
ms.date: 08/31/2021
6+
ms.date: 10/15/2021
77
author: palma21
88

99
---
@@ -29,7 +29,7 @@ The CSI storage driver support on AKS allows you to natively use:
2929
- The minimum Kubernetes minor version that supports CSI drivers is v1.17.
3030
- The default storage class will be the `managed-csi` storage class.
3131

32-
## Create a new cluster that can use CSI storage drivers
32+
## Install CSI storage drivers on a new cluster with version < 1.21
3333

3434
Create a new cluster that can use CSI storage drivers for Azure disks and Azure Files by using the following CLI commands. Use the `--aks-custom-headers` flag to set the `EnableAzureDiskFileCSIDriver` feature.
3535

@@ -47,7 +47,7 @@ Create the AKS cluster with support for CSI storage drivers:
4747
az aks create -g MyResourceGroup -n MyManagedCluster --network-plugin azure --aks-custom-headers EnableAzureDiskFileCSIDriver=true
4848
```
4949

50-
If you want to create clusters in tree storage drivers instead of CSI storage drivers, you can do so by omitting the custom `--aks-custom-headers` parameter.
50+
If you want to create clusters in tree storage drivers instead of CSI storage drivers, you can do so by omitting the custom `--aks-custom-headers` parameter. Starting in Kubernetes version 1.21, Kubernetes will use CSI drivers only and by default.
5151

5252

5353
Check how many Azure disk-based volumes you can attach to this node by running:
@@ -62,6 +62,10 @@ $ echo $(kubectl get CSINode <NODE NAME> -o jsonpath="{.spec.drivers[1].allocata
6262
8
6363
```
6464

65+
## Install CSI storage drivers on an existing cluster with version < 1.21
66+
- [Set up Azure Disk CSI driver on AKS cluster](https://github.com/kubernetes-sigs/azuredisk-csi-driver/blob/master/docs/install-driver-on-aks.md)
67+
- [Set up Azure File CSI driver on AKS cluster](https://github.com/kubernetes-sigs/azurefile-csi-driver/blob/master/docs/install-driver-on-aks.md)
68+
6569
## Migrating custom in-tree storage classes to CSI
6670
If you have created custom storage classes based on the in-tree storage drivers, these will need to be migrated when you have upgraded your cluster to 1.21.x.
6771

0 commit comments

Comments
 (0)