Skip to content

Commit bc7a20b

Browse files
improve formatting
1 parent cc3e765 commit bc7a20b

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

staging/volumes/fibre_channel/README.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,38 @@
2222
2323
## Step-by-Step
2424
25-
1. Set up a Fibre Channel Target
25+
### Set up a Fibre Channel Target
2626
27-
Using your Fibre Channel SAN Zone manager you must allocate and mask LUNs so that all hosts in the Kubernetes cluster can access them
27+
Using your Fibre Channel SAN Zone manager you must allocate and mask LUNs so that all hosts in the Kubernetes cluster can access them
2828
29-
2. Prepare nodes in your Kubernetes cluster
29+
### Prepare nodes in your Kubernetes cluster
3030
31-
You will need to install and configured a Fibre Channel initiator on the hosts within your Kubernetes cluster.
31+
You will need to install and configured a Fibre Channel initiator on the hosts within your Kubernetes cluster.
3232
33-
3. Create a Pod using Fibre Channel persistent storage
33+
### Create a Pod using Fibre Channel persistent storage
3434
35-
Create a pod manifest based on [fc.yaml](fc.yaml). You will need to provide *targetWWNs* (array of Fibre Channel target's World Wide Names), *lun*, and the type of the filesystem that has been created on the LUN if it is not _ext4_
35+
Create a pod manifest based on [fc.yaml](fc.yaml). You will need to provide *targetWWNs* (array of Fibre Channel target's World Wide Names), *lun*, and the type of the filesystem that has been created on the LUN if it is not _ext4_
3636
37-
Once you have created a pod manifest you can deploy it by running:
37+
Once you have created a pod manifest you can deploy it by running:
3838
39-
```console
40-
kubectl apply -f ./your_new_pod.yaml
41-
```
39+
```console
40+
kubectl apply -f ./your_new_pod.yaml
41+
```
4242

43-
You can then confirm that the pod hase been sucessfully deployed by running `kubectl get pod fibre-channel-example-pod -o wide`
43+
You can then confirm that the pod hase been sucessfully deployed by running `kubectl get pod fibre-channel-example-pod -o wide`
4444

45-
```console
46-
# kubectl get pod fibre-channel-example-pod -o wide
47-
NAME READY STATUS RESTARTS AGE
48-
1/1 Running 0 1m
49-
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
50-
fibre-channel-example-pod 1/1 READY 0 1m8s 192.168.172.11 node0 <none> <none>
45+
```console
46+
# kubectl get pod fibre-channel-example-pod -o wide
47+
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
48+
fibre-channel-example-pod 1/1 READY 0 1m8s 192.168.172.11 node0 <none> <none>
5149

52-
```
50+
```
5351

54-
If you connect to the console on the Kubernetes node that the pod has been assigned to you can see that the volume is mounted to the pod by running `mount | grep /var/lib/kubelet/plugins/kubernetes.io/fc/`
52+
If you connect to the console on the Kubernetes node that the pod has been assigned to you can see that the volume is mounted to the pod by running `mount | grep /var/lib/kubelet/plugins/kubernetes.io/fc/`
5553

56-
```console
57-
# mount | grep /var/lib/kubelet/plugins/kubernetes.io/fc/
58-
/dev/mapper/360a98000324669436c2b45666c567946 on /var/lib/kubelet/plugins/kubernetes.io/fc/500a0982991b8dc5-lun-2 type ext4 (relatime,seclabel,stripe=16,data=ordered)
54+
```console
55+
# mount | grep /var/lib/kubelet/plugins/kubernetes.io/fc/
56+
/dev/mapper/360a98000324669436c2b45666c567946 on /var/lib/kubelet/plugins/kubernetes.io/fc/500a0982991b8dc5-lun-2 type ext4 (relatime,seclabel,stripe=16,data=ordered)
5957
```
6058

6159
## Multipath Considerations

0 commit comments

Comments
 (0)