Update use-nfs-volumes.md

This commit is contained in:
lenestopage 2018-06-08 11:59:11 -04:00 committed by GitHub
parent b21c4c7339
commit 0b789d24c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -207,6 +207,10 @@ 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.
In this example, both claims request `20Gi` of storage.
NOTE: Ensure that the storageClassName key is populated, in the persistent
claim itself, if you are attempting to use a specific persistent volume and
not let Kubernetes choose at random.
```yaml
apiVersion: v1
kind: Service
@ -435,4 +439,4 @@ Click the **permalink** to view the site.
## Where to go next
- [Example of NFS based persistent volume](https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs#nfs-server-part)
- [Example: Deploying WordPress and MySQL with Persistent Volumes](https://v1-8.docs.kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/)
- [Example: Deploying WordPress and MySQL with Persistent Volumes](https://v1-8.docs.kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/)