Merge pull request #39806 from windsonsea/conpvc
add - before an unordered list in configure-pvc page
This commit is contained in:
commit
3ea93fa384
|
@ -67,6 +67,7 @@ cat /mnt/data/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
The output should be:
|
The output should be:
|
||||||
|
|
||||||
```
|
```
|
||||||
Hello from Kubernetes storage
|
Hello from Kubernetes storage
|
||||||
```
|
```
|
||||||
|
@ -247,8 +248,8 @@ You can now close the shell to your Node.
|
||||||
|
|
||||||
You can perform 2 volume mounts on your nginx container:
|
You can perform 2 volume mounts on your nginx container:
|
||||||
|
|
||||||
`/usr/share/nginx/html` for the static website
|
- `/usr/share/nginx/html` for the static website
|
||||||
`/etc/nginx/nginx.conf` for the default config
|
- `/etc/nginx/nginx.conf` for the default config
|
||||||
|
|
||||||
<!-- discussion -->
|
<!-- discussion -->
|
||||||
|
|
||||||
|
@ -261,6 +262,7 @@ with a GID. Then the GID is automatically added to any Pod that uses the
|
||||||
PersistentVolume.
|
PersistentVolume.
|
||||||
|
|
||||||
Use the `pv.beta.kubernetes.io/gid` annotation as follows:
|
Use the `pv.beta.kubernetes.io/gid` annotation as follows:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
kind: PersistentVolume
|
||||||
|
@ -269,6 +271,7 @@ metadata:
|
||||||
annotations:
|
annotations:
|
||||||
pv.beta.kubernetes.io/gid: "1234"
|
pv.beta.kubernetes.io/gid: "1234"
|
||||||
```
|
```
|
||||||
|
|
||||||
When a Pod consumes a PersistentVolume that has a GID annotation, the annotated GID
|
When a Pod consumes a PersistentVolume that has a GID annotation, the annotated GID
|
||||||
is applied to all containers in the Pod in the same way that GIDs specified in the
|
is applied to all containers in the Pod in the same way that GIDs specified in the
|
||||||
Pod's security context are. Every GID, whether it originates from a PersistentVolume
|
Pod's security context are. Every GID, whether it originates from a PersistentVolume
|
||||||
|
|
Loading…
Reference in New Issue