From 5ba39646c7770aa38be7be2f9a819ac10876daf8 Mon Sep 17 00:00:00 2001 From: Max Forbes Date: Tue, 5 May 2015 16:04:42 -0700 Subject: [PATCH] Update volumes doc to fix broken link and describe new file. --- docs/volumes.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/volumes.md b/docs/volumes.md index db9576f1e7f..2a11065d581 100644 --- a/docs/volumes.md +++ b/docs/volumes.md @@ -86,6 +86,10 @@ kind: Pod ``` ### NFS -Kubernetes NFS volumes allow an existing NFS share to be made available to containers within a pod. +Kubernetes NFS volumes allow an existing NFS share to be made available to containers within a pod. -[The NFS Pod example](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/nfs/test.yaml) demonstrates how to specify the usage of an NFS volume within a pod. In this example one can see that a volumeMount called "myshare" is being mounted onto /var/www/html/mount-test in the container "testpd". The volume "myshare" is defined as type nfs, with the NFS server serving from 172.17.0.2 and exporting directory /tmp as the share. The mount being created in this example is not read only. +See the [NFS Pod examples](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/nfs/) section for more details. +For example, [nfs-web-pod.yaml](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/nfs/nfs-web-pod.yaml) demonstrates how to specify the usage of an NFS volume within a pod. +In this example one can see that a `volumeMount` called "nfs" is being mounted onto `/var/www/html` in the container "web". +The volume "nfs" is defined as type `nfs`, with the NFS server serving from `nfs-server.default.kube.local` and exporting directory `/` as the share. +The mount being created in this example is not read only.