Code style not working on kubernetes.io (#10727)

* Code style not working on kubernetes.io

Code style based on tab works on github markdown, but it is not working on kubernetes.io. In addition to that, `<your-pv-name>` argument on line 50 is hidden on kubernetes.io, because it is being processed as a HTML tag.

* Update change-pv-reclaim-policy.md

Indentation fix
Language of the code specified
This commit is contained in:
Caio
2018-10-30 17:44:40 +01:00
committed by k8s-ci-robot
parent 9de1d6eb7e
commit 5bab86b2b3
@@ -32,7 +32,9 @@ the corresponding `PersistentVolume` is not be deleted. Instead, it is moved to
1. List the PersistentVolumes in your cluster:
kubectl get pv
```shell
kubectl get pv
```
The output is similar to this:
@@ -46,13 +48,17 @@ the corresponding `PersistentVolume` is not be deleted. Instead, it is moved to
1. Choose one of your PersistentVolumes and change its reclaim policy:
kubectl patch pv <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
```shell
kubectl patch pv <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
```
where `<your-pv-name>` is the name of your chosen PersistentVolume.
1. Verify that your chosen PersistentVolume has the right policy:
kubectl get pv
```shell
kubectl get pv
```
The output is similar to this: