Skip to content

Commit

Permalink
reorder documentation steps (k3s-io#326)
Browse files Browse the repository at this point in the history
Signed-off-by: Stevan Dedovic <stevan@dedovic.com>
  • Loading branch information
sdedovic authored Sep 17, 2024
1 parent 89923b6 commit 45cfb45
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,7 @@ kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.6.0/depl

Longhorn will be installed in the namespace `longhorn-system`.

Apply the yaml to create the PVC and pod:

```bash
kubectl create -f pvc.yaml
kubectl create -f pod.yaml
```
Create a persistent volume claim and a pod to utilize it:

### pvc.yaml

Expand Down Expand Up @@ -158,6 +153,13 @@ spec:
claimName: longhorn-volv-pvc
```
Apply the yaml to create the PVC and pod:
```bash
kubectl create -f pvc.yaml
kubectl create -f pod.yaml
```

Confirm the PV and PVC are created:

```bash
Expand Down

0 comments on commit 45cfb45

Please sign in to comment.