@@ -3,7 +3,7 @@ create a pod with blob mount on linux
3
3
### Dynamic Provisioning (create storage account and container by Blob Storage CSI driver)
4
4
- Create a blob storage CSI storage class
5
5
``` console
6
- kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/storageclass-blobfuse-csi .yaml
6
+ kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/storageclass-blobfuse.yaml
7
7
```
8
8
9
9
- Create a blob storage CSI PVC
@@ -14,23 +14,22 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-dri
14
14
### Static Provisioning(use an existing storage account)
15
15
#### Option #1 : use existing credentials in k8s cluster
16
16
> make sure the existing credentials in k8s cluster(e.g. service principal, msi) could access the specified storage account
17
- - Download [ blob storage CSI storage class] ( https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/storageclass-blobfuse-csi- existing-container.yaml ) , edit ` resourceGroup ` , ` storageAccount ` , ` containerName ` in storage class
17
+ - Download [ blob storage CSI storage class] ( https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/storageclass-blobfuse-existing-container.yaml ) , edit ` resourceGroup ` , ` storageAccount ` , ` containerName ` in storage class
18
18
``` yaml
19
19
apiVersion : storage.k8s.io/v1
20
20
kind : StorageClass
21
21
metadata :
22
22
name : blob
23
23
provisioner : blob.csi.azure.com
24
24
parameters :
25
- skuName : Standard_LRS # available values: Standard_LRS, Standard_GRS, Standard_RAGRS
26
25
resourceGroup : EXISTING_RESOURCE_GROUP
27
26
storageAccount : EXISTING_STORAGE_ACCOUNT
28
27
containerName : EXISTING_CONTAINER_NAME
29
28
reclaimPolicy : Retain # if set as "Delete" container would be removed after pvc deletion
30
29
volumeBindingMode : Immediate
31
30
` ` `
32
31
` ` ` console
33
- kubectl create -f storageclass-blobfuse-csi- existing-container.yaml
32
+ kubectl create -f storageclass-blobfuse-existing-container.yaml
34
33
```
35
34
36
35
- Create a blob storage CSI PVC
0 commit comments