Skip to content

Commit f68999b

Browse files
Merge pull request #217786 from khdownie/kendownie-aks-28781
Volume per node limit for Disks
2 parents 3ca955d + 4faaf05 commit f68999b

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

articles/aks/azure-disk-volume.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ This article assumes that you have an existing AKS cluster with 1.21 or later ve
2424

2525
If you want to interact with Azure disks on an AKS cluster with 1.20 or previous version, see the [Kubernetes plugin for Azure disks][kubernetes-disks].
2626

27+
The Azure Disks CSI driver has a limit of 32 volumes per node. The volume count will change based on the size of the node/node pool. Run the following command to determine the number of volumes that can be allocated per node:
28+
29+
```console
30+
kubectl get CSINode <nodename> -o yaml
31+
```
32+
2733
## Storage class static provisioning
2834

2935
The following table describes the Storage Class parameters for the Azure disk CSI driver static provisioning:

articles/aks/azure-disks-dynamic-pv.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.date: 07/21/2022
1515
A persistent volume represents a piece of storage that has been provisioned for use with Kubernetes pods. A persistent volume can be used by one or many pods, and can be dynamically or statically provisioned. This article shows you how to dynamically create persistent volumes with Azure Disks for use by a single pod in an Azure Kubernetes Service (AKS) cluster.
1616

1717
> [!NOTE]
18-
> An Azure Disks can only be mounted with *Access mode* type *ReadWriteOnce*, which makes it available to one node in AKS. If you need to share a persistent volume across multiple nodes, use [Azure Files][azure-files-pvc].
18+
> An Azure disk can only be mounted with *Access mode* type *ReadWriteOnce*, which makes it available to one node in AKS. If you need to share a persistent volume across multiple nodes, use [Azure Files][azure-files-pvc].
1919
2020
For more information on Kubernetes volumes, see [Storage options for applications in AKS][concepts-storage].
2121

@@ -25,6 +25,12 @@ This article assumes that you have an existing AKS cluster with 1.21 or later ve
2525

2626
You also need the Azure CLI version 2.0.59 or later installed and configured. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
2727

28+
The Azure Disks CSI driver has a limit of 32 volumes per node. The volume count will change based on the size of the node/node pool. Run the following command to determine the number of volumes that can be allocated per node:
29+
30+
```console
31+
kubectl get CSINode <nodename> -o yaml
32+
```
33+
2834
## Built-in storage classes
2935

3036
A storage class is used to define how a unit of storage is dynamically created with a persistent volume. For more information on Kubernetes storage classes, see [Kubernetes Storage Classes][kubernetes-storage-classes].

articles/aks/concepts-storage.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Kubernetes typically treats individual pods as ephemeral, disposable resources.
3333

3434
Traditional volumes are created as Kubernetes resources backed by Azure Storage. You can manually create data volumes to be assigned to pods directly, or have Kubernetes automatically create them. Data volumes can use: [Azure Disks][disks-types], [Azure Files][storage-files-planning], [Azure NetApp Files][azure-netapp-files-service-levels], or [Azure Blobs][storage-account-overview].
3535

36+
> [!NOTE]
37+
> The Azure Disks CSI driver has a limit of 32 volumes per node. Other Azure Storage services don't have an equivalent limit.
38+
3639
### Azure Disks
3740

3841
Use *Azure Disks* to create a Kubernetes *DataDisk* resource. Disks types include:
@@ -43,13 +46,13 @@ Use *Azure Disks* to create a Kubernetes *DataDisk* resource. Disks types includ
4346
* Standard HDDs
4447

4548
> [!TIP]
46-
>For most production and development workloads, use Premium SSD.
49+
> For most production and development workloads, use Premium SSD.
4750
48-
Since Azure Disks are mounted as *ReadWriteOnce*, they're only available to a single node. For storage volumes that can be accessed by pods on multiple nodes simultaneously, use Azure Files.
51+
Because Azure Disks are mounted as *ReadWriteOnce*, they're only available to a single node. For storage volumes that can be accessed by pods on multiple nodes simultaneously, use Azure Files.
4952

5053
### Azure Files
5154

52-
Use *Azure Files* to mount a Server Message Block (SMB) version 3.1.1 share or Network File System (NFS) version 4.1 share backed by an Azure storage accounts to pods. Files let you share data across multiple nodes and pods and can use:
55+
Use [Azure Files][azure-files-volume] to mount a Server Message Block (SMB) version 3.1.1 share or Network File System (NFS) version 4.1 share backed by an Azure storage account to pods. Azure Files let you share data across multiple nodes and pods and can use:
5356

5457
* Azure Premium storage backed by high-performance SSDs
5558
* Azure Standard storage backed by regular HDDs

0 commit comments

Comments
 (0)