Fix broken path in pv configuration, minor doc improvement

This commit is contained in:
Randy Fay
2016-11-20 09:41:34 -07:00
parent a8e129af83
commit de9197661e
2 changed files with 3 additions and 3 deletions
@@ -10,4 +10,4 @@ spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
hostPath: hostPath:
path: "/somepath/data01" path: "/tmp/data01"
@@ -27,7 +27,7 @@ for ease of development and testing. You'll create a local `HostPath` for this
support local storage on the host at this time. There is no guarantee your pod ends up on the correct node where the `HostPath` resides. support local storage on the host at this time. There is no guarantee your pod ends up on the correct node where the `HostPath` resides.
```shell ```shell
# This will be nginx's webroot # This will be nginx's webroot; execute this on the node where your pod will run.
$ mkdir /tmp/data01 $ mkdir /tmp/data01
$ echo 'I love Kubernetes storage!' > /tmp/data01/index.html $ echo 'I love Kubernetes storage!' > /tmp/data01/index.html
``` ```