Skip to content

Commit ae5cf72

Browse files
author
Kate Osborn
committed
Fix nginx-run volume name
1 parent 2e205d9 commit ae5cf72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ API to update the handled resources' statuses and emit events.
103103
mounted `nginx-conf` volume, located at `/etc/nginx/conf.d`. It also writes *TLS certificates* and *keys*
104104
from [TLS Secrets][secrets] referenced in the accepted Gateway resource to the `nginx-secrets` volume at the
105105
path `/etc/nginx/secrets`.
106-
- Read: *NKG* reads the PID file `nginx.pid` from the `nginx-var-run` volume, located at `/var/run/nginx`. *NKG*
106+
- Read: *NKG* reads the PID file `nginx.pid` from the `nginx-run` volume, located at `/var/run/nginx`. *NKG*
107107
extracts the PID of the nginx process from this file in order to send reload signals to *NGINX master*.
108108
3. (File I/O) *NKG* writes logs to its *stdout* and *stderr*, which are collected by the container runtime.
109109
4. (Signal) To reload NGINX, *NKG* sends the [reload signal][reload] to the **NGINX master**.
110110
5. (File I/O)
111-
- Write: The *NGINX master* writes its PID to the `nginx.pid` file stored in the `nginx-var-run` volume.
111+
- Write: The *NGINX master* writes its PID to the `nginx.pid` file stored in the `nginx-run` volume.
112112
- Read: The *NGINX master* reads *configuration files* and the *TLS cert and keys* referenced in the configuration when
113113
it starts or during a reload. These files, certificates, and keys are stored in the `nginx-conf` and `nginx-secrets`
114114
volumes that are mounted to both the `nginx-gateway` and `nginx` containers.

docs/images/nkg-pod.png

-918 Bytes
Loading

0 commit comments

Comments
 (0)