From 310f8f6320fcedf4878cac2b13279bc6a43dc5c3 Mon Sep 17 00:00:00 2001 From: feihujiang Date: Wed, 21 Oct 2015 15:15:03 +0800 Subject: [PATCH] Fix minor errors in nfs example --- docs/user-guide/volumes.md | 2 +- examples/nfs/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user-guide/volumes.md b/docs/user-guide/volumes.md index 9d57bddda27..7659de0819f 100644 --- a/docs/user-guide/volumes.md +++ b/docs/user-guide/volumes.md @@ -295,7 +295,7 @@ For example, [this file](../../examples/nfs/nfs-web-pod.yaml) demonstrates how t 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 +onto `/usr/share/nginx/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 writeable. diff --git a/examples/nfs/README.md b/examples/nfs/README.md index cd3ab7bc361..bc4529118c8 100644 --- a/examples/nfs/README.md +++ b/examples/nfs/README.md @@ -38,7 +38,7 @@ in a pod. ## Complete setup -The example below shows how to export a NFS share from a pod and import it +The example below shows how to export a NFS share from a pod and imports it into another one. ### Prerequisites @@ -46,7 +46,7 @@ into another one. The nfs server pod creates a privileged container, so if you are using a Salt based KUBERNETES_PROVIDER (**gce**, **vagrant**, **aws**), you have to enable the ability to create privileged containers by API. ```sh -#At the root of Kubernetes source code +# At the root of Kubernetes source code $ vi cluster/saltbase/pillar/privilege.sls # If true, allow privileged containers to be created by API