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
67
67
```
68
68
69
69
The output should be:
70
+
70
71
```
71
72
Hello from Kubernetes storage
72
73
```
@@ -247,8 +248,8 @@ You can now close the shell to your Node.
247
248
248
249
You can perform 2 volume mounts on your nginx container:
249
250
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
252
253
253
254
<!-- discussion -->
254
255
@@ -261,6 +262,7 @@ with a GID. Then the GID is automatically added to any Pod that uses the
261
262
PersistentVolume.
262
263
263
264
Use the ` pv.beta.kubernetes.io/gid ` annotation as follows:
265
+
264
266
``` yaml
265
267
apiVersion : v1
266
268
kind : PersistentVolume
@@ -269,6 +271,7 @@ metadata:
269
271
annotations :
270
272
pv.beta.kubernetes.io/gid : " 1234"
271
273
` ` `
274
+
272
275
When a Pod consumes a PersistentVolume that has a GID annotation, the annotated GID
273
276
is applied to all containers in the Pod in the same way that GIDs specified in the
274
277
Pod's security context are. Every GID, whether it originates from a PersistentVolume
You can’t perform that action at this time.
0 commit comments