Skip to content

Commit

Permalink
fix indentation in manual PV template (#148)
Browse files Browse the repository at this point in the history
The node affinity section of the sample PV yaml was missing 
an indentation level. This meant the sample failed validation.
  • Loading branch information
WanzenBug authored Jun 12, 2020
1 parent fdaa361 commit a764f1d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/creating-pv-manually.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ spec:
path: /mnt/disks/ssd1
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- example-node
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- example-node
```
After configuring the PV details, use `kubectl` to create the requisite number of PVs.

0 comments on commit a764f1d

Please sign in to comment.