Skip to content

Commit

Permalink
docs(static_provisioning): add a note that dont proceed to the next s…
Browse files Browse the repository at this point in the history
…tep until pv STATUS is Bound.
  • Loading branch information
wafuwafu13 committed Jul 26, 2023
1 parent 2c87782 commit ef98cd8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/kubernetes/static_provisioning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@ Create PV and persistent volume claim (PVC):
```sh
>> kubectl apply -f examples/kubernetes/static_provisioning/specs/pv.yaml
>> kubectl apply -f examples/kubernetes/static_provisioning/specs/claim.yaml
```

List the persistent volumes in the default namespace. Look for a persistent volume with the default/efs-claim claim.

```sh
kubectl get pv -w
```

The example output is as follows.

```
$ kubectl get pv -w
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
efs-pv 5Gi RWO Retain Bound default/efs-claim 3m31s
```

Don't proceed to the next step until the `STATUS` is `Bound`.

Deploy the `app` sample applications
```
>> kubectl apply -f examples/kubernetes/static_provisioning/specs/pod.yaml
```

Expand Down

0 comments on commit ef98cd8

Please sign in to comment.