format note properly based on example earlier on this page

This commit is contained in:
Tammy Fox 2018-08-01 13:01:18 -04:00 committed by GitHub
parent d95f61dbcd
commit 6c1430b81b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -202,12 +202,15 @@ kubectl create secret generic mysql-pass --from-literal=password=<mysql-password
You have two persistent volumes that are available for claims. The MySQL You have two persistent volumes that are available for claims. The MySQL
deployment uses one volume, and WordPress uses the other. deployment uses one volume, and WordPress uses the other.
Copy the following yaml to a file named wordpress-deployment.yaml. Copy the following yaml to a file named `wordpress-deployment.yaml`.
The claims in this file make no reference to a particular storage class, so The claims in this file make no reference to a particular storage class, so
they bind to any available volumes that can satisfy the storage request. they bind to any available volumes that can satisfy the storage request.
In this example, both claims request `20Gi` of storage. In this example, both claims request `20Gi` of storage.
> NOTE: If you are attempting to use a specific persistent volume and not let Kubernetes choose at random, ensure that the `storageClassName` key is populated in the persistent claim itself. > Use specific persistent volume
>
>If you are attempting to use a specific persistent volume and not let Kubernetes choose at random, ensure that the `storageClassName` key is populated in the persistent claim itself.
{: important}
```yaml ```yaml
apiVersion: v1 apiVersion: v1