Skip to content

Commit 5b75515

Browse files
committed
fix warnings
1 parent 920b25d commit 5b75515

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

articles/storage/container-storage/container-storage-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Based on feedback from customers, we've included the following capabilities with
7777
- Scale up by dynamically expanding [volumes](resize-volume.md) and storage pools backed by Azure Disks and Ephemeral Disk without downtime.
7878
- [Clone persistent volumes](clone-volume.md) within a storage pool.
7979
- Optimize applications with Azure Linux Container Host.
80-
- Increase resiliency for applications using [local NVMe volumes with replication](use-container-storage-with-local-disk.md#create-storage-pool-with-volume-replication-nvme-only).
80+
- Increase resiliency for applications using [local NVMe volumes with replication](use-container-storage-with-local-nvme-replication.md).
8181

8282
For more information on these features, email the Azure Container Storage team at [email protected].
8383

articles/storage/container-storage/troubleshoot-container-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To resolve this, sign in to the [Azure portal](https://portal.azure.com?azure-po
6969
### Can't create persistent volumes from ephemeral disk storage pools
7070
Because ephemeral disks (local NVMe and Temp SSD) are ephemeral and not durable, we enforce the use of [Kubernetes Generic Ephemeral Volumes](https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes). If you try to create a persistent volume claim using an ephemeral disk pool, you'll see the following error: *Error from server (Forbidden): error when creating "eph-pvc.yaml": admission webhook "pvc.acstor.azure.com" denied the request: only generic ephemeral volumes are allowed in unreplicated ephemeralDisk storage pools*.
7171

72-
If you need a persistent volume, where the volume has a lifecycle independent of any individual pod that's using the volume, Azure Container Storage supports replication for NVMe. You can create a storage pool with replication and create persistent volumes from there. See [Create storage pool with volume replication](use-container-storage-with-local-disk.md#create-storage-pool-with-volume-replication-nvme-only) for guidance. Note that because ephemeral disk storage pools consume all the available NVMe disks, you must delete any existing ephemeral disk storage pools before creating a new storage pool with replication enabled. If you don't need persistence, you can create a generic ephemeral volume.
72+
If you need a persistent volume, where the volume has a lifecycle independent of any individual pod that's using the volume, Azure Container Storage supports replication for NVMe. You can create a storage pool with replication and create persistent volumes from there. See [Create storage pool with volume replication](use-container-storage-with-local-nvme-replication.md) for guidance. Note that because ephemeral disk storage pools consume all the available NVMe disks, you must delete any existing ephemeral disk storage pools before creating a new storage pool with replication enabled. If you don't need persistence, you can create a generic ephemeral volume.
7373

7474
## See also
7575

articles/storage/container-storage/use-container-storage-with-local-nvme-replication.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,24 @@ Follow these steps to create a storage pool using local NVMe with replication. A
8383
kubectl describe sp <storage-pool-name> -n acstor
8484
```
8585

86-
When the storage pool is created, Azure Container Storage will create a storage class on your behalf, using the naming convention `acstor-<storage-pool-name>`. Now you can [display the available storage classes](#display-the-available-storage-classes) and create a persistent volume claim.
86+
When the storage pool is created, Azure Container Storage will create a storage class on your behalf, using the naming convention `acstor-<storage-pool-name>`.
8787

88-
### 2. Create a persistent volume claim
88+
### 2. Display the available storage classes
89+
90+
When the storage pool is ready to use, you must select a storage class to define how storage is dynamically created when creating and deploying volumes.
91+
92+
Run `kubectl get sc` to display the available storage classes. You should see a storage class called `acstor-<storage-pool-name>`.
93+
94+
```output
95+
$ kubectl get sc | grep "^acstor-"
96+
acstor-azuredisk-internal disk.csi.azure.com Retain WaitForFirstConsumer true 65m
97+
acstor-ephemeraldisk containerstorage.csi.azure.com Delete WaitForFirstConsumer true 2m27s
98+
```
99+
100+
> [!IMPORTANT]
101+
> Don't use the storage class that's marked **internal**. It's an internal storage class that's needed for Azure Container Storage to work.
102+
103+
### 3. Create a persistent volume claim
89104

90105
A persistent volume claim (PVC) is used to automatically provision storage based on a storage class. Follow these steps to create a PVC using the new storage class.
91106

@@ -127,7 +142,7 @@ A persistent volume claim (PVC) is used to automatically provision storage based
127142

128143
Once the PVC is created, it's ready for use by a pod.
129144

130-
### 3. Deploy a pod and attach a persistent volume
145+
### 4. Deploy a pod and attach a persistent volume
131146

132147
Create a pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for benchmarking and workload simulation, and specify a mount path for the persistent volume. For **claimName**, use the **name** value that you used when creating the persistent volume claim.
133148

@@ -197,7 +212,7 @@ To detach a persistent volume, delete the pod that the persistent volume is atta
197212
kubectl delete pods <pod-name>
198213
```
199214

200-
To reattach a persistent volume, simply reference the persistent volume claim name in the YAML manifest file as described in [Deploy a pod and attach a persistent volume](#3-deploy-a-pod-and-attach-a-persistent-volume).
215+
To reattach a persistent volume, simply reference the persistent volume claim name in the YAML manifest file as described in [Deploy a pod and attach a persistent volume](#4-deploy-a-pod-and-attach-a-persistent-volume).
201216

202217
To check which persistent volume a persistent volume claim is bound to, run:
203218

0 commit comments

Comments
 (0)