Skip to content

Commit

Permalink
Fix permission for mounted director kubernetes#2260
Browse files Browse the repository at this point in the history
Work-around for kubernetes#2260 until the underlying problem is addressed (kubernetes/kubernetes#2630 - though not 100%).
  • Loading branch information
absoludity committed Jan 17, 2017
1 parent c29b486 commit 18d102b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/stateful-application/basic-stateful-set.md
Expand Up @@ -278,7 +278,7 @@ Write the Pods' hostnames to their `index.html` files and verify that the NGINX
webservers serve the hostnames.

```shell
for i in 0 1; do kubectl exec web-$i -- sh -c 'echo $(hostname) > /usr/share/nginx/html/index.html'; done
for i in 0 1; do kubectl exec web-$i -- sh -c 'echo $(hostname) > /usr/share/nginx/html/index.html && chmod 755 /usr/share/nginx/html'; done

for i in 0 1; do kubectl exec -it web-$i -- curl localhost; done
web-0
Expand Down

0 comments on commit 18d102b

Please sign in to comment.