Skip to content

Commit eb4b8c8

Browse files
committed
doc: rename examples
1 parent a8c142b commit eb4b8c8

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

deploy/example/deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ kind: Deployment
1616
metadata:
1717
labels:
1818
app: nginx
19-
name: deployment-blobfuse
19+
name: deployment-blob
2020
spec:
2121
replicas: 1
2222
selector:
@@ -26,18 +26,18 @@ spec:
2626
metadata:
2727
labels:
2828
app: nginx
29-
name: deployment-blobfuse
29+
name: deployment-blob
3030
spec:
3131
containers:
32-
- name: deployment-blobfuse
32+
- name: deployment-blob
3333
image: nginx
3434
command:
3535
- "/bin/sh"
3636
- "-c"
37-
- while true; do echo $(date) >> /mnt/blobfuse/outfile; sleep 1; done
37+
- while true; do echo $(date) >> /mnt/blob/outfile; sleep 1; done
3838
volumeMounts:
3939
- name: blobfuse
40-
mountPath: "/mnt/blobfuse"
40+
mountPath: "/mnt/blob"
4141
readOnly: false
4242
volumes:
4343
- name: blobfuse

deploy/example/e2e_usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi
88

99
- Create a blobfuse CSI PVC
1010
```console
11-
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi.yaml
11+
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blob-csi.yaml
1212
```
1313

1414
### Static Provisioning(use an existing storage account)
@@ -35,7 +35,7 @@ kubectl create -f storageclass-blobfuse-csi-existing-container.yaml
3535

3636
- Create a blobfuse CSI PVC
3737
```console
38-
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi.yaml
38+
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blob-csi.yaml
3939
```
4040

4141
#### Option#2: provide storage account name and key(or sastoken)
@@ -76,7 +76,7 @@ kubectl create -f pv-blobfuse-csi.yaml
7676

7777
- Create a blobfuse CSI PVC which would be bound to the above PV
7878
```console
79-
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi-static.yaml
79+
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blob-csi-static.yaml
8080
```
8181

8282
#### 2. Validate PVC status and create an nginx pod
@@ -87,7 +87,7 @@ watch kubectl describe pvc pvc-blobfuse
8787

8888
- create a pod with blobfuse CSI PVC
8989
```console
90-
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/nginx-pod-blobfuse.yaml
90+
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/nginx-pod-blob.yaml
9191
```
9292

9393
#### 3. enter the pod container to do validation
@@ -97,8 +97,8 @@ $ watch kubectl describe po nginx-blobfuse
9797
$ kubectl exec -it nginx-blobfuse -- bash
9898
Filesystem Size Used Avail Use% Mounted on
9999
...
100-
blobfuse 30G 8.9G 21G 31% /mnt/blobfuse
100+
blobfuse 30G 8.9G 21G 31% /mnt/blob
101101
/dev/sda1 30G 8.9G 21G 31% /etc/hosts
102102
...
103103
```
104-
In the above example, there is a `/mnt/blobfuse` directory mounted as `blobfuse` filesystem.
104+
In the above example, there is a `/mnt/blob` directory mounted as `blobfuse` filesystem.

deploy/example/nfs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi
5555

5656
- enter pod to check
5757
```console
58-
$ exec -it statefulset-blobfuse-0 bash
58+
$ exec -it statefulset-blob-0 bash
5959
# df -h
6060
Filesystem Size Used Avail Use% Mounted on
6161
...
6262
/dev/sda1 29G 11G 19G 37% /etc/hosts
63-
accountname.blob.core.windows.net:/accountname/pvc-cce02240-5d13-4bcb-b9eb-f9c7eeaaa640 256T 0 256T 0% /mnt/blobfuse
63+
accountname.blob.core.windows.net:/accountname/pvc-cce02240-5d13-4bcb-b9eb-f9c7eeaaa640 256T 0 256T 0% /mnt/blob
6464
...
6565
```

deploy/example/nginx-pod-blobfuse.yaml renamed to deploy/example/nginx-pod-blob.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ spec:
1010
command:
1111
- "/bin/sh"
1212
- "-c"
13-
- while true; do echo $(date) >> /mnt/blobfuse/outfile; sleep 1; done
13+
- while true; do echo $(date) >> /mnt/blob/outfile; sleep 1; done
1414
volumeMounts:
1515
- name: blobfuse01
16-
mountPath: "/mnt/blobfuse"
16+
mountPath: "/mnt/blob"
1717
volumes:
1818
- name: blobfuse01
1919
persistentVolumeClaim:

deploy/example/statefulset.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
apiVersion: apps/v1
33
kind: StatefulSet
44
metadata:
5-
name: statefulset-blobfuse
5+
name: statefulset-blob
66
labels:
77
app: nginx
88
spec:
9-
serviceName: statefulset-blobfuse
9+
serviceName: statefulset-blob
1010
replicas: 1
1111
template:
1212
metadata:
1313
labels:
1414
app: nginx
1515
spec:
1616
containers:
17-
- name: statefulset-blobfuse
17+
- name: statefulset-blob
1818
image: nginx
1919
command:
2020
- "/bin/sh"
2121
- "-c"
22-
- while true; do echo $(date) >> /mnt/blobfuse/outfile; sleep 1; done
22+
- while true; do echo $(date) >> /mnt/blob/outfile; sleep 1; done
2323
volumeMounts:
2424
- name: persistent-storage
25-
mountPath: /mnt/blobfuse
25+
mountPath: /mnt/blob
2626
updateStrategy:
2727
type: RollingUpdate
2828
selector:

docs/read-from-keyvault.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ kubectl apply -f pv-blobfuse-csi-keyvault.yaml
3535
## Create PVC
3636

3737
```console
38-
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blobfuse-csi-static.yaml
38+
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/pvc-blob-csi-static.yaml
3939
```

0 commit comments

Comments
 (0)