Skip to content

Commit aae7524

Browse files
Merge pull request kubernetes#1741 from rfay/20161120_fix_broken_pv
Fix broken path in pv configuration, minor doc improvement
2 parents ab80f27 + de91976 commit aae7524

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/user-guide/persistent-volumes/volumes/local-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ spec:
1010
accessModes:
1111
- ReadWriteOnce
1212
hostPath:
13-
path: "/somepath/data01"
13+
path: "/tmp/data01"

docs/user-guide/persistent-volumes/walkthrough.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for ease of development and testing. You'll create a local `HostPath` for this
2727
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.
2828

2929
```shell
30-
# This will be nginx's webroot
30+
# This will be nginx's webroot; execute this on the node where your pod will run.
3131
$ mkdir /tmp/data01
3232
$ echo 'I love Kubernetes storage!' > /tmp/data01/index.html
3333
```
@@ -125,4 +125,4 @@ I love Kubernetes storage!
125125

126126
Hopefully this simple guide is enough to get you started with PersistentVolumes. If you have any questions, join the team on [Slack](/docs/troubleshooting/#slack) and ask!
127127

128-
Enjoy!
128+
Enjoy!

0 commit comments

Comments
 (0)