Skip to content

Commit 8cbd046

Browse files
committed
Updated blob storage article
1 parent 50911a3 commit 8cbd046

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/aks/azure-csi-blob-storage-provision.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ The following example demonstrates how to mount a Blob storage container as a pe
303303
name: pv-blob
304304
spec:
305305
capacity:
306-
storage: 10Gi
306+
storage: 1Pi
307307
accessModes:
308308
- ReadWriteMany
309309
persistentVolumeReclaimPolicy: Retain # If set as "Delete" container would be removed after pvc deletion
@@ -321,6 +321,9 @@ The following example demonstrates how to mount a Blob storage container as a pe
321321
protocol: nfs
322322
```
323323
324+
> [!NOTE]
325+
> 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.
326+
324327
2. Run the following command to create the persistent volume using the `kubectl create` command referencing the YAML file created earlier:
325328

326329
```bash
@@ -440,7 +443,7 @@ Kubernetes needs credentials to access the Blob storage container created earlie
440443

441444
---
442445

443-
### Use the persistence volume
446+
### Use the persistent volume
444447

445448
The following YAML creates a pod that uses the persistent volume or persistent volume claim named **pvc-blob** created earlier, to mount the Azure Blob storage at the `/mnt/blob' path.
446449

0 commit comments

Comments
 (0)