Merge pull request #30223 from slayer321/add-volume-example

docs: add PV duplicate example
This commit is contained in:
Kubernetes Prow Robot
2021-12-05 15:12:32 -08:00
committed by GitHub
2 changed files with 26 additions and 0 deletions
@@ -236,8 +236,14 @@ sudo rmdir /mnt/data
You can now close the shell to your Node.
## Mounting the same persistentVolume in two places
{{< codenew file="pods/storage/pv-duplicate.yaml" >}}
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
<!-- discussion -->