Skip to content

Commit 3d1c320

Browse files
Merge pull request #312892 from eh8/main
Correct default ESAN storage class name in ACStor docs
2 parents e108a4b + 67810a3 commit 3d1c320

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

articles/storage/container-storage/configure-encryption-for-elastic-san.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Create a YAML manifest file such as `storageclass.yaml`. Use the names and varia
9191
apiVersion: storage.k8s.io/v1
9292
kind: StorageClass
9393
metadata:
94-
name: azuresan-encrypted
94+
name: azuresan-csi-encrypted
9595
provisioner: san.csi.azure.com
9696
reclaimPolicy: Delete
9797
volumeBindingMode: Immediate
@@ -124,7 +124,7 @@ spec:
124124
resources:
125125
requests:
126126
storage: 1Gi
127-
storageClassName: azuresan-encrypted
127+
storageClassName: azuresan-csi-encrypted
128128
```
129129
130130
Apply the manifest to create the PVC.

articles/storage/container-storage/install-container-storage-aks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Run the following command to enable Azure Container Storage on an existing AKS c
128128
az aks update -n <cluster-name> -g <resource-group> --enable-azure-container-storage elasticSan
129129
```
130130

131-
This command installs the installer, deploys the Elastic SAN CSI driver, and creates a default storage class called `azuresan`. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
131+
This command installs the installer, deploys the Elastic SAN CSI driver, and creates a default storage class called `azuresan-csi`. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
132132

133133
::: zone-end
134134

@@ -323,7 +323,7 @@ Example output:
323323

324324
```output
325325
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
326-
azuresan san.csi.azure.com Delete Immediate false 4d7h
326+
azuresan-csi san.csi.azure.com Delete Immediate false 4d7h
327327
local-csi localdisk.csi.acstor.io Delete WaitForFirstConsumer true 4d5h
328328
```
329329

articles/storage/container-storage/use-container-storage-with-elastic-san.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Create a YAML manifest file such as `storageclass.yaml`, then use the following
8585
apiVersion: storage.k8s.io/v1
8686
kind: StorageClass
8787
metadata:
88-
name: azuresan
88+
name: azuresan-csi
8989
provisioner: san.csi.azure.com
9090
reclaimPolicy: Delete
9191
volumeBindingMode: Immediate
@@ -113,9 +113,9 @@ Alternatively, you can create the storage class using Terraform.
113113
config_path = "~/.kube/config"
114114
}
115115
116-
resource "kubernetes_storage_class_v1" "azuresan" {
116+
resource "kubernetes_storage_class_v1" "azuresan_csi" {
117117
metadata {
118-
name = "azuresan"
118+
name = "azuresan-csi"
119119
}
120120
121121
storage_provisioner = "san.csi.azure.com"
@@ -140,7 +140,7 @@ If you need a different initial capacity than the default 1 TiB, set the `initia
140140
apiVersion: storage.k8s.io/v1
141141
kind: StorageClass
142142
metadata:
143-
name: azuresan
143+
name: azuresan-csi
144144
provisioner: san.csi.azure.com
145145
reclaimPolicy: Delete
146146
volumeBindingMode: Immediate
@@ -177,7 +177,7 @@ If you don't already have Azure Container Storage installed, [install it](instal
177177
apiVersion: storage.k8s.io/v1
178178
kind: StorageClass
179179
metadata:
180-
name: azuresan
180+
name: azuresan-csi
181181
provisioner: san.csi.azure.com
182182
reclaimPolicy: Delete
183183
volumeBindingMode: Immediate
@@ -225,7 +225,7 @@ If you don't already have Azure Container Storage installed, [install it](instal
225225
apiVersion: storage.k8s.io/v1
226226
kind: StorageClass
227227
metadata:
228-
name: azuresan
228+
name: azuresan-csi
229229
provisioner: san.csi.azure.com
230230
reclaimPolicy: Delete
231231
volumeBindingMode: Immediate
@@ -246,14 +246,14 @@ kubectl apply -f storageclass.yaml
246246
Verify that the storage class is created:
247247

248248
```azurecli
249-
kubectl get storageclass azuresan
249+
kubectl get storageclass azuresan-csi
250250
```
251251

252252
You should see output similar to:
253253

254254
```output
255-
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
256-
azuresan san.csi.azure.com Delete Immediate true 10s
255+
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
256+
azuresan-csi san.csi.azure.com Delete Immediate true 10s
257257
```
258258

259259
## Create a persistent volume claim
@@ -273,7 +273,7 @@ A persistent volume claim (PVC) automatically provisions storage based on a stor
273273
resources:
274274
requests:
275275
storage: 1Gi
276-
storageClassName: azuresan
276+
storageClassName: azuresan-csi
277277
```
278278

279279
1. Apply the manifest to create the PVC.
@@ -360,7 +360,7 @@ Use the following YAML manifest to create a default Elastic SAN storage class:
360360
apiVersion: storage.k8s.io/v1
361361
kind: StorageClass
362362
metadata:
363-
name: azuresan
363+
name: azuresan-csi
364364
provisioner: san.csi.azure.com
365365
reclaimPolicy: Delete
366366
volumeBindingMode: Immediate
@@ -376,7 +376,7 @@ kubectl apply -f storageclass.yaml
376376
Verify the storage class:
377377

378378
```azurecli
379-
kubectl get storageclass azuresan
379+
kubectl get storageclass azuresan-csi
380380
```
381381

382382
### Create an Elastic SAN volume
@@ -410,7 +410,7 @@ spec:
410410
accessModes:
411411
- ReadWriteOnce
412412
persistentVolumeReclaimPolicy: Retain
413-
storageClassName: azuresan
413+
storageClassName: azuresan-csi
414414
csi:
415415
driver: san.csi.azure.com
416416
volumeHandle: #{rg}#{san}#{vg}#{vol}
@@ -443,7 +443,7 @@ spec:
443443
requests:
444444
storage: 5Gi
445445
volumeName: pv-san
446-
storageClassName: azuresan
446+
storageClassName: azuresan-csi
447447
```
448448

449449
Apply the manifest to create the PVC.

articles/storage/container-storage/volume-snapshot-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Create a new PVC that uses the volume snapshot as a data source.
108108
spec:
109109
accessModes:
110110
- ReadWriteOnce
111-
storageClassName: azuresan
111+
storageClassName: azuresan-csi
112112
resources:
113113
requests:
114114
storage: 100Gi

0 commit comments

Comments
 (0)