Skip to content

Commit fd40c41

Browse files
authored
Merge pull request #216 from andyzhangx/doc-rename2
doc: blobfuse example renaming
2 parents cc192a3 + 4445191 commit fd40c41

6 files changed

+23
-8
lines changed

deploy/example/e2e_usage.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ create a pod with blob mount on linux
33
### Dynamic Provisioning (create storage account and container by Blob Storage CSI driver)
44
- Create a blob storage CSI storage class
55
```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
77
```
88

99
- Create a blob storage CSI PVC
@@ -14,23 +14,22 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-dri
1414
### Static Provisioning(use an existing storage account)
1515
#### Option#1: use existing credentials in k8s cluster
1616
> 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
1818
```yaml
1919
apiVersion: storage.k8s.io/v1
2020
kind: StorageClass
2121
metadata:
2222
name: blob
2323
provisioner: blob.csi.azure.com
2424
parameters:
25-
skuName: Standard_LRS # available values: Standard_LRS, Standard_GRS, Standard_RAGRS
2625
resourceGroup: EXISTING_RESOURCE_GROUP
2726
storageAccount: EXISTING_STORAGE_ACCOUNT
2827
containerName: EXISTING_CONTAINER_NAME
2928
reclaimPolicy: Retain # if set as "Delete" container would be removed after pvc deletion
3029
volumeBindingMode: Immediate
3130
```
3231
```console
33-
kubectl create -f storageclass-blobfuse-csi-existing-container.yaml
32+
kubectl create -f storageclass-blobfuse-existing-container.yaml
3433
```
3534

3635
- Create a blob storage CSI PVC

deploy/example/storageclass-blobfuse-csi-existing-container.yaml renamed to deploy/example/storageclass-blobfuse-existing-container.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
name: blob
66
provisioner: blob.csi.azure.com
77
parameters:
8-
skuName: Standard_LRS # available values: Standard_LRS, Standard_GRS, Standard_RAGRS
98
resourceGroup: EXISTING_RESOURCE_GROUP
109
storageAccount: EXISTING_STORAGE_ACCOUNT
1110
containerName: EXISTING_CONTAINER_NAME
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
apiVersion: storage.k8s.io/v1
3+
kind: StorageClass
4+
metadata:
5+
name: blob
6+
provisioner: blob.csi.azure.com
7+
parameters:
8+
resourceGroup: EXISTING_RESOURCE_GROUP
9+
storageAccount: EXISTING_STORAGE_ACCOUNT
10+
containerName: EXISTING_CONTAINER_NAME
11+
reclaimPolicy: Retain # if set as "Delete" container would be removed after pvc deletion
12+
volumeBindingMode: Immediate
13+
mountOptions:
14+
- -o ro
15+
- -o allow_other
16+
- --file-cache-timeout-in-seconds=0
17+
- --log-level=LOG_DEBUG # only for debugging

docs/driver-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
> parameter names are case-insensitive
33
44
### Dynamic Provisioning
5-
> get a [blobfuse example](../deploy/example/storageclass-blobfuse-csi.yaml)
6-
7-
> get a `mountOptions` [example](../deploy/example/storageclass-blobfuse-csi-mountoptions.yaml)
5+
> get a [blobfuse example](../deploy/example/storageclass-blobfuse.yaml)
86
7+
> get a `mountOptions` [example](../deploy/example/storageclass-blobfuse-mountoptions.yaml)
8+
99
> get a [nfs example](../deploy/example/storageclass-blob-nfs.yaml)
1010
1111
Name | Meaning | Example | Mandatory | Default value

0 commit comments

Comments
 (0)