|
1 | 1 | ---
|
2 | 2 | title: Create a persistent volume with Azure Blob storage in Azure Kubernetes Service (AKS)
|
3 | 3 | titleSuffix: Azure Kubernetes Service
|
4 |
| -description: Learn how to create a static or dynamic persistent volume with Azure Blob storage for use with multiple concurrent pods in Azure Kubernetes Service (AKS) |
| 4 | +description: Learn how to create a static or dynamic persistent volume with Azure Blob storage for use with multiple concurrent pods in Azure Kubernetes Service (AKS). |
| 5 | +author: tamram |
| 6 | + |
| 7 | +ms.author: tamram |
5 | 8 | ms.topic: article
|
6 |
| -ms.custom: |
7 | 9 | ms.subservice: aks-storage
|
8 |
| -ms.date: 01/18/2024 |
| 10 | +ms.date: 04/22/2024 |
9 | 11 | ---
|
10 | 12 |
|
11 | 13 | # Create and use a volume with Azure Blob storage in Azure Kubernetes Service (AKS)
|
@@ -36,9 +38,9 @@ For more information on Kubernetes volumes, see [Storage options for application
|
36 | 38 |
|
37 | 39 | This section provides guidance for cluster administrators who want to provision one or more persistent volumes that include details of Blob storage for use by a workload. A persistent volume claim (PVC) uses the storage class object to dynamically provision an Azure Blob storage container.
|
38 | 40 |
|
39 |
| -### Storage class parameters for dynamic PersistentVolumes |
| 41 | +### Storage class parameters for dynamic persistent volumes |
40 | 42 |
|
41 |
| -The following table includes parameters you can use to define a custom storage class for your PersistentVolumeClaim. |
| 43 | +The following table includes parameters you can use to define a custom storage class for your persistent volume claim. |
42 | 44 |
|
43 | 45 | |Name | Description | Example | Mandatory | Default value|
|
44 | 46 | |--- | --- | --- | --- | --- |
|
@@ -163,7 +165,7 @@ The following YAML creates a pod that uses the persistent volume claim **azure-b
|
163 | 165 |
|
164 | 166 | ### Create a custom storage class
|
165 | 167 |
|
166 |
| -The default storage classes suit the most common scenarios, but not all. For some cases, you might want to have your own storage class customized with your own parameters. To demonstrate, two examples are shown. One based on using the NFS protocol, and the other using blobfuse. |
| 168 | +The default storage classes suit the most common scenarios, but not all. In some cases you might want to have your own storage class customized with your own parameters. In this section, we provide two examples. The first one uses the NFS protocol, and the second one uses blobfuse. |
167 | 169 |
|
168 | 170 | #### Storage class using NFS protocol
|
169 | 171 |
|
@@ -243,9 +245,9 @@ In this example, the following manifest configures using blobfuse and mounts a B
|
243 | 245 |
|
244 | 246 | This section provides guidance for cluster administrators who want to create one or more persistent volumes that include details of Blob storage for use by a workload.
|
245 | 247 |
|
246 |
| -### Static provisioning parameters for PersistentVolume |
| 248 | +### Static provisioning parameters for persistent volumes |
247 | 249 |
|
248 |
| -The following table includes parameters you can use to define a PersistentVolume. |
| 250 | +The following table includes parameters you can use to define a persistent volume. |
249 | 251 |
|
250 | 252 | |Name | Description | Example | Mandatory | Default value|
|
251 | 253 | |--- | --- | --- | --- | ---|
|
@@ -342,7 +344,7 @@ The following example demonstrates how to mount a Blob storage container as a pe
|
342 | 344 | ```
|
343 | 345 |
|
344 | 346 | > [!NOTE]
|
345 |
| - > While the [Kubernetes API](https://github.com/kubernetes/kubernetes/blob/release-1.26/pkg/apis/core/types.go#L303-L306) **capacity** attribute is mandatory, this value isn't used by the Azure Blob storage CSI driver because you can flexibly write data until you reach your storage account's capacity limit. The value of the `capacity` attribute is used only for size matching between *PersistentVolumes* and *PersistenVolumeClaims*. We recommend using a fictitious high value. The pod sees a mounted volume with a fictitious size of 5 Petabytes. |
| 347 | + > While the [Kubernetes API](https://github.com/kubernetes/kubernetes/blob/release-1.26/pkg/apis/core/types.go#L303-L306) **capacity** attribute is mandatory, this value isn't used by the Azure Blob storage CSI driver because you can flexibly write data until you reach your storage account's capacity limit. The value of the `capacity` attribute is used only for size matching between *PersistentVolumes* and *PersistentVolumeClaims*. We recommend using a fictitious high value. The pod sees a mounted volume with a fictitious size of 5 Petabytes. |
346 | 348 |
|
347 | 349 | 2. Run the following command to create the persistent volume using the [kubectl create][kubectl-create] command referencing the YAML file created earlier:
|
348 | 350 |
|
@@ -533,6 +535,7 @@ The following YAML creates a pod that uses the persistent volume or persistent v
|
533 | 535 | [azure-blob-storage-csi]: azure-blob-csi.md
|
534 | 536 | [azure-blob-storage-nfs-support]: ../storage/blobs/network-file-system-protocol-support.md
|
535 | 537 | [enable-blob-csi-driver]: azure-blob-csi.md#before-you-begin
|
| 538 | +[az-aks-show]: /cli/azure/aks#az-aks-show |
536 | 539 | [az-tags]: ../azure-resource-manager/management/tag-resources.md
|
537 | 540 | [sas-tokens]: ../storage/common/storage-sas-overview.md
|
538 | 541 | [azure-datalake-storage-account]: ../storage/blobs/upgrade-to-data-lake-storage-gen2-how-to.md
|
|
0 commit comments