@@ -36,27 +36,27 @@ Please refer to [install blobfuse csi driver](https://github.com/csi-driver/blob
36
36
## E2E Usage example
37
37
### 1. create a pod with csi blobfuse driver mount on linux
38
38
#### Dynamic Provisioning (create storage account and container by blobfuse driver)
39
- - Create an blobfuse CSI storage class
39
+ - Create a blobfuse CSI storage class
40
40
``` sh
41
41
kubectl create -f https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/storageclass-blobfuse-csi.yaml
42
42
```
43
43
44
- - Create an blobfuse CSI PVC
44
+ - Create a blobfuse CSI PVC
45
45
``` sh
46
46
kubectl create -f https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi.yaml
47
47
```
48
48
49
49
#### Static Provisioning(use an existing storage account)
50
50
##### Option #1 : use existing credentials in k8s cluster
51
51
> make sure the existing credentials in k8s cluster(e.g. service principal, msi) could access the specified storage account
52
- - Download an blobfuse CSI storage class, edit ` resourceGroup ` , ` storageAccount ` , ` containerName ` to use existing storage container
52
+ - Download a blobfuse CSI storage class, edit ` resourceGroup ` , ` storageAccount ` , ` containerName ` to use existing storage container
53
53
``` sh
54
54
wget -O storageclass-blobfuse-csi-existing-container.yaml https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/storageclass-blobfuse-csi-existing-container.yaml
55
55
vi storageclass-blobfuse-csi-existing-container.yaml
56
56
kubectl create -f storageclass-blobfuse-csi-existing-container.yaml
57
57
```
58
58
59
- - Create an blobfuse CSI PVC
59
+ - Create a blobfuse CSI PVC
60
60
``` sh
61
61
kubectl create -f https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi.yaml
62
62
```
@@ -67,14 +67,14 @@ kubectl create -f https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driv
67
67
kubectl create secret generic azure-secret --from-literal accountname=NAME --from-literal accountkey="KEY" --type=Opaque
68
68
```
69
69
70
- - Create an blobfuse CSI PV, download ` pv-blobfuse-csi.yaml ` file and edit ` containerName ` in ` volumeAttributes `
71
- ```
70
+ - Create a blobfuse CSI PV, download ` pv-blobfuse-csi.yaml ` file and edit ` containerName ` in ` volumeAttributes `
71
+ ``` sh
72
72
wget https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/pv-blobfuse-csi.yaml
73
73
vi pv-blobfuse-csi.yaml
74
74
kubectl create -f pv-blobfuse-csi.yaml
75
75
```
76
76
77
- - Create an blobfuse CSI PVC which would be bound to the above PV
77
+ - Create a blobfuse CSI PVC which would be bound to the above PV
78
78
```
79
79
kubectl create -f https://raw.githubusercontent.com/csi-driver/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi-static.yaml
80
80
```
0 commit comments