Skip to content

Commit

Permalink
Merge pull request #39806 from windsonsea/conpvc
Browse files Browse the repository at this point in the history
add - before an unordered list in configure-pvc page
  • Loading branch information
k8s-ci-robot committed Mar 6, 2023
2 parents 148de57 + 22d83f4 commit 3ea93fa
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ cat /mnt/data/index.html
```

The output should be:

```
Hello from Kubernetes storage
```
Expand Down Expand Up @@ -247,8 +248,8 @@ You can now close the shell to your Node.

You can perform 2 volume mounts on your nginx container:

`/usr/share/nginx/html` for the static website
`/etc/nginx/nginx.conf` for the default config
- `/usr/share/nginx/html` for the static website
- `/etc/nginx/nginx.conf` for the default config

<!-- discussion -->

Expand All @@ -261,6 +262,7 @@ with a GID. Then the GID is automatically added to any Pod that uses the
PersistentVolume.

Use the `pv.beta.kubernetes.io/gid` annotation as follows:

```yaml
apiVersion: v1
kind: PersistentVolume
Expand All @@ -269,6 +271,7 @@ metadata:
annotations:
pv.beta.kubernetes.io/gid: "1234"
```
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
Pod's security context are. Every GID, whether it originates from a PersistentVolume
Expand Down

0 comments on commit 3ea93fa

Please sign in to comment.