inline code block is not displayed (#8940)

* inline code block is not displayed

Using `kubectl get storageclass` instead of 

```
       kubectl get storageclass
```

correctly shows the code markup.

* Update change-default-storage-class.md

* reformat markdown for nested list
This commit is contained in:
André Aubin
2018-07-19 02:24:41 +02:00
committed by k8s-ci-robot
parent 7f97e02779
commit 269e3fd37b
@@ -39,13 +39,17 @@ for details about addon manager and how to disable individual addons.
1. List the StorageClasses in your cluster:
```bash
kubectl get storageclass
```
The output is similar to this:
```bash
NAME TYPE
standard (default) kubernetes.io/gce-pd
gold kubernetes.io/gce-pd
```
The default StorageClass is marked by `(default)`.
@@ -57,7 +61,9 @@ for details about addon manager and how to disable individual addons.
To mark a StorageClass as non-default, you need to change its value to `false`:
```bash
kubectl patch storageclass <your-class-name> -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
```
where `<your-class-name>` is the name of your chosen StorageClass.
@@ -66,7 +72,9 @@ for details about addon manager and how to disable individual addons.
Similarly to the previous step, you need to add/set the annotation
`storageclass.kubernetes.io/is-default-class=true`.
```bash
kubectl patch storageclass <your-class-name> -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
```
Please note that at most one StorageClass can be marked as default. If two
or more of them are marked as default, Kubernetes ignores the annotation,
@@ -74,13 +82,17 @@ for details about addon manager and how to disable individual addons.
1. Verify that your chosen StorageClass is default:
```bash
kubectl get storageclass
```
The output is similar to this:
```bash
NAME TYPE
standard kubernetes.io/gce-pd
gold (default) kubernetes.io/gce-pd
```
{{% /capture %}}