correct yaml examples template

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-03-05 17:54:05 +05:30
parent 9bebd829ab
commit 53dfdb63b5

View File

@ -128,7 +128,7 @@ Modify your current storage class, or create a new storage class specifically
for multi node writers by adding the `multiNodeWritable: "enabled"` entry to for multi node writers by adding the `multiNodeWritable: "enabled"` entry to
your parameters. Here's an example: your parameters. Here's an example:
``` ```yaml
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
@ -153,7 +153,7 @@ reclaimPolicy: Delete
Now, you can request Claims from the configured storage class that include Now, you can request Claims from the configured storage class that include
the `ReadWriteMany` access mode: the `ReadWriteMany` access mode:
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
@ -169,7 +169,7 @@ spec:
Create a POD that uses this PVC: Create a POD that uses this PVC:
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
@ -195,7 +195,7 @@ Now, we can create a second POD (ensure the POD is scheduled on a different
node; multiwriter single node works without this feature) that also uses this node; multiwriter single node works without this feature) that also uses this
PVC at the same time PVC at the same time
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata: