File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
content/en/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ cat /mnt/data/index.html
6767```
6868
6969The output should be:
70+
7071```
7172Hello from Kubernetes storage
7273```
@@ -247,8 +248,8 @@ You can now close the shell to your Node.
247248
248249You can perform 2 volume mounts on your nginx container:
249250
250- ` /usr/share/nginx/html ` for the static website
251- ` /etc/nginx/nginx.conf ` for the default config
251+ - ` /usr/share/nginx/html ` for the static website
252+ - ` /etc/nginx/nginx.conf ` for the default config
252253
253254<!-- discussion -->
254255
@@ -261,6 +262,7 @@ with a GID. Then the GID is automatically added to any Pod that uses the
261262PersistentVolume.
262263
263264Use the ` pv.beta.kubernetes.io/gid ` annotation as follows:
265+
264266``` yaml
265267apiVersion : v1
266268kind : PersistentVolume
@@ -269,6 +271,7 @@ metadata:
269271 annotations :
270272 pv.beta.kubernetes.io/gid : " 1234"
271273` ` `
274+
272275When a Pod consumes a PersistentVolume that has a GID annotation, the annotated GID
273276is applied to all containers in the Pod in the same way that GIDs specified in the
274277Pod's security context are. Every GID, whether it originates from a PersistentVolume
You can’t perform that action at this time.
0 commit comments