From 35aa383446b2be6e0071cde274ac894caa09bc38 Mon Sep 17 00:00:00 2001 From: Charles Uneze Date: Sun, 12 Jan 2025 05:58:19 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Gulcan Topcu <96833570+colossus06@users.noreply.github.com> --- .../configure-persistent-volume-storage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md b/content/en/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md index 266c786c58048..5493d38e1bda2 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md +++ b/content/en/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md @@ -247,11 +247,11 @@ Here: - `subPath: html` mounts the html directory. - `subPath: nginx.conf` mounts a specific file, nginx.conf. -Since the first subPath is `html`, this means that a `html` directory has to be created within `/mnt/data/` +Since the first subPath is `html`, an `html` directory has to be created within `/mnt/data/` on the node. The second subPath `nginx.conf` means that a file within the `/mnt/data/` directory will be used. No other directory -need to be created. +needs to be created. Two volume mounts will be made on your nginx container: @@ -322,7 +322,7 @@ EOF ### Create a Pod -Here we will be creating a pod that uses the existing persistentVolume and persistentVolumeClaim. +Here we will create a pod that uses the existing persistentVolume and persistentVolumeClaim. However, the pod mounts only a specific file, `nginx.conf`, and directory, `html`, to the container. Create the Pod: @@ -365,7 +365,7 @@ In your shell, also verify that nginx is serving the `nginx.conf` file from the hostPath volume: ```shell -# Be sure to run this commands inside the root shell that comes from +# Be sure to run these commands inside the root shell that comes from # running "kubectl exec" in the previous step cat /etc/nginx/nginx.conf | grep keepalive_timeout ```