Skip to content

Commit 8a6d1e3

Browse files
Merge pull request #271666 from tamram/patch-73
Update azure-csi-disk-storage-provision.md
2 parents a3da78f + e065fad commit 8a6d1e3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ For more information on Kubernetes volumes, see [Storage options for application
2727

2828
## Before you begin
2929

30-
* You need an Azure [storage account][azure-storage-account].
3130
* Make sure you have 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].
3231
* The Azure Disk CSI driver has a per-node volume limit. The volume count changes based on the size of the node/node pool. Run the [kubectl get][kubectl-get] command to determine the number of volumes that can be allocated per node:
3332

@@ -76,7 +75,7 @@ Each AKS cluster includes four precreated storage classes, two of them configure
7675
2. The *managed-csi-premium* storage class provisions a premium Azure Disk.
7776
* SSD-based high-performance, low-latency disks back Premium disks. They're ideal for VMs running production workloads. When you use the Azure Disk CSI driver on AKS, you can also use the `managed-csi` storage class, which is backed by Standard SSD locally redundant storage (LRS).
7877

79-
It's not supported to reduce the size of a PVC (to prevent data loss). You can edit an existing storage class using the `kubectl edit sc` command, or you can create your own custom storage class. For example, if you want to use a disk of size 4 TiB, you must create a storage class that defines `cachingmode: None` because [disk caching isn't supported for disks 4 TiB and larger][disk-host-cache-setting]. For more information about storage classes and creating your own storage class, see [Storage options for applications in AKS][storage-class-concepts].
78+
Reducing the size of a PVC is not supported due to the risk of data loss. You can edit an existing storage class using the `kubectl edit sc` command, or you can create your own custom storage class. For example, if you want to use a disk of size 4 TiB, you must create a storage class that defines `cachingmode: None` because [disk caching isn't supported for disks 4 TiB and larger][disk-host-cache-setting]. For more information about storage classes and creating your own storage class, see [Storage options for applications in AKS][storage-class-concepts].
8079
8180
You can see the precreated storage classes using the [`kubectl get sc`][kubectl-get] command. The following example shows the precreated storage classes available within an AKS cluster:
8281
@@ -229,11 +228,11 @@ For more information on using Azure tags, see [Use Azure tags in Azure Kubernete
229228
230229
## Statically provision a volume
231230
232-
This section provides guidance for cluster administrators who want to create one or more persistent volumes that include details of Azure Disks storage for use by a workload.
231+
This section provides guidance for cluster administrators who want to create one or more persistent volumes that include details of Azure Disks for use by a workload.
233232
234-
### Static provisioning parameters for PersistentVolume
233+
### Static provisioning parameters for a persistent volume
235234
236-
The following table includes parameters you can use to define a PersistentVolume.
235+
The following table includes parameters you can use to define a persistent volume.
237236
238237
|Name | Meaning | Available Value | Mandatory | Default value|
239238
|--- | --- | --- | --- | ---|
@@ -250,12 +249,15 @@ When you create an Azure disk for use with AKS, you can create the disk resource
250249

251250
```azurecli-interactive
252251
az aks show --resource-group myResourceGroup --name myAKSCluster --query nodeResourceGroup -o tsv
252+
```
253253

254-
# Output
254+
The output of the command resembles the following example:
255+
256+
```output
255257
MC_myResourceGroup_myAKSCluster_eastus
256258
```
257259

258-
2. Create a disk using the [`az disk create`][az-disk-create] command. Specify the node resource group name and a name for the disk resource, such as *myAKSDisk*. The following example creates a *20*GiB disk, and outputs the ID of the disk after it's created. If you need to create a disk for use with Windows Server containers, add the `--os-type windows` parameter to correctly format the disk.
260+
1. Create a disk using the [`az disk create`][az-disk-create] command. Specify the node resource group name and a name for the disk resource, such as *myAKSDisk*. The following example creates a *20*GiB disk, and outputs the ID of the disk after it's created. If you need to create a disk for use with Windows Server containers, add the `--os-type windows` parameter to correctly format the disk.
259261
260262
```azurecli-interactive
261263
az disk create \

0 commit comments

Comments
 (0)