-
Story
-
Resolution: Done
-
Minor
-
DO180 - OCP4.12-en-1-20230406
-
None
-
en-US (English)
URL: https://rol.redhat.com/rol/app/courses/do180-4.12/pages/ch05s08
Reporter RHNID:
Section: 8 - Guided Exercise: Manage non-Shared Storage with Stateful Sets
Language: en-US (English)||||||||
Workaround: [student@workstation ~]$ oc set volumes deployment/web-server \
> --add --name web-pv --type persistentVolumeClaim --claim-mode rwo \
> --claim-size 5Gi --mount-path /usr/share/nginx/html --claim-name web-pv-claim
Description: Instructions in GE "Manage non-shared storage with Stateful Sets" in step 2 include using the mount-path /var/www/html which is not the root path configured by the nginx container image used. Instead /usr/share/nginx/html is used.
Either change the instructions to mount to /usr/share/nginx/html or update the image to use /var/www/html as its root