From a764f1d487d8343b2e513aef464d1fe4611930f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Wanzenb=C3=B6ck?= Date: Fri, 12 Jun 2020 16:46:51 +0200 Subject: [PATCH] fix indentation in manual PV template (#148) The node affinity section of the sample PV yaml was missing an indentation level. This meant the sample failed validation. --- docs/creating-pv-manually.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/creating-pv-manually.md b/docs/creating-pv-manually.md index e60087228c1..3837671a037 100644 --- a/docs/creating-pv-manually.md +++ b/docs/creating-pv-manually.md @@ -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.