You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/container-storage/container-storage-introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Based on feedback from customers, we've included the following capabilities with
77
77
- Scale up by dynamically expanding [volumes](resize-volume.md) and storage pools backed by Azure Disks and Ephemeral Disk without downtime.
78
78
-[Clone persistent volumes](clone-volume.md) within a storage pool.
79
79
- 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#optional-create-storage-pool-with-volume-replication-nvme-only).
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).
81
81
82
82
For more information on these features, email the Azure Container Storage team at [email protected].
Copy file name to clipboardExpand all lines: articles/storage/container-storage/troubleshoot-container-storage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ To resolve this, sign in to the [Azure portal](https://portal.azure.com?azure-po
69
69
### Can't create persistent volumes from ephemeral disk storage pools
70
70
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*.
71
71
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#optional-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-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.
Copy file name to clipboardExpand all lines: articles/storage/container-storage/use-container-storage-with-local-disk.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,25 @@ ms.custom: references_regions
14
14
[Azure Container Storage](container-storage-introduction.md) is a cloud-based volume management, deployment, and orchestration service built natively for containers. This article shows you how to configure Azure Container Storage to use Ephemeral Disk as back-end storage for your Kubernetes workloads. At the end, you'll have a pod that's using either local NVMe or temp SSD as its storage.
15
15
16
16
> [!IMPORTANT]
17
-
> Local disks are ephemeral, meaning that they're created on the local virtual machine (VM) storage and not saved to an Azure storage service. Data will be lost on these disks if you stop/deallocate your VM. You can only create [Kubernetes generic ephemeral volumes](https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes) from an Ephemeral Disk storage pool. If you want to create a persistent volume, you have to enable [replication for your storage pool](#optional-create-storage-pool-with-volume-replication-nvme-only).
17
+
> Local disks are ephemeral, meaning that they're created on the local virtual machine (VM) storage and not saved to an Azure storage service. Data will be lost on these disks if you stop/deallocate your VM. You can only create [Kubernetes generic ephemeral volumes](https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes) from an Ephemeral Disk storage pool. If you want to create a persistent volume, you have to enable [replication for your storage pool](#create-storage-pool-with-volume-replication-nvme-only).
- If you haven't already installed Azure Container Storage, follow the instructions in [Install Azure Container Storage](container-storage-aks-quickstart.md).
24
+
- Check if your target region is supported in [Azure Container Storage regions](container-storage-introduction.md#regional-availability)
24
25
25
-
> [!NOTE]
26
-
> To use Azure Container Storage with Ephemeral Disk, your AKS cluster should have a node pool of at least three [storage optimized VMs](../../virtual-machines/sizes-storage.md) such as **standard_l8s_v3**. We recommend that each VM have a minimum of four virtual CPUs (vCPUs).
26
+
## Ensure VM with Ephemeral Disk support
27
27
28
-
## Regional availability
28
+
Ephemeral Disk is available in certain types of VM. If you plan to use Ephemeral Disk with local NVMe, a [storage optimized VM](../../virtual-machines/sizes-storage.md) such as **standard_l8s_v3** is required. If you plan to use Ephemeral Disk with temp SSD, a [Ev3 and Esv3-series VM](../../virtual-machines/ev3-esv3-series.md) is required.
You can run the following command to get VM type that is used with your node pool.
31
+
```azurecli-interactive
32
+
az aks nodepool list --resource-group <resource group> --cluster-name <cluster name> --query "[].{PoolName:name, VmSize:vmSize}" -o table
33
+
```
34
+
35
+
We recommend that each VM have a minimum of four virtual CPUs (vCPUs), and each node pool have at least three nodes.
31
36
32
37
## Create a storage pool
33
38
@@ -39,7 +44,7 @@ You have three options to create a storage pool that uses Ephemeral Disk:
39
44
40
45
-[Create storage pool with local NVMe](#create-a-storage-pool-with-nvme)
41
46
-[Create storage pool with temp SSD](#create-a-storage-pool-with-temp-ssd)
42
-
-[Create storage pool with local NVMe and replication](#optional-create-storage-pool-with-volume-replication-nvme-only)
47
+
-[Create storage pool with local NVMe and replication](#create-storage-pool-with-volume-replication-nvme-only)
43
48
44
49
### Create a storage pool with NVMe
45
50
@@ -219,7 +224,7 @@ If you want to delete a storage pool, run the following command. Replace `<stora
219
224
kubectl delete sp -n acstor <storage-pool-name>
220
225
```
221
226
222
-
## Optional: Create storage pool with volume replication (NVMe only)
227
+
## Create storage pool with volume replication (NVMe only)
223
228
224
229
Applications that use local NVMe can leverage storage replication for improved resiliency. Replication isn't currently supported for temp SSD.
225
230
@@ -232,7 +237,6 @@ Follow these steps to create a storage pool using local NVMe with replication.
232
237
233
238
1. Use your favorite text editor to create a YAML manifest file such as `code acstor-storagepool.yaml`.
234
239
235
-
236
240
1. Paste in the following code and save the file. The storage pool **name** value can be whatever you want. Set replicas to 3 or 5.
237
241
238
242
```yml
@@ -370,15 +374,20 @@ You've now deployed a pod that's using Ephemeral Disk as its storage, and you ca
370
374
371
375
## Detach and reattach a persistent volume
372
376
373
-
To detach a persistent volume, delete the pod that the persistent volume is attached to. Replace `<pod-name>` with the name of the pod, for example **fiopod**.
377
+
To detach a persistent volume, delete the pod that the persistent volume is attached to.
374
378
375
379
```azurecli-interactive
376
380
kubectl delete pods <pod-name>
377
381
```
378
382
379
383
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](#deploy-a-pod-and-attach-a-persistent-volume).
380
384
381
-
To check which persistent volume a persistent volume claim is bound to, run `kubectl get pvc <persistent-volume-claim-name>`.
385
+
To check which persistent volume a persistent volume claim is bound to, run:
0 commit comments