Skip to content

Remove init container from architecture doc #984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ The NGINX Kubernetes Gateway consists of three containers:
the worker processes. The worker processes handle the client traffic and load balance the traffic to the backend
applications.
2. `nginx-gateway`: the control plane. Watches Kubernetes objects and configures NGINX.
3. `busybox`: initializes the NGINX config environment.

These containers are deployed in a single Pod as a Kubernetes Deployment. The init container, `busybox`, runs before the
`nginx` and `nginx-gateway` containers and creates directories and sets permissions for the NGINX process.
These containers are deployed in a single Pod as a Kubernetes Deployment.

The `nginx-gateway`, or the control plane, is a [Kubernetes controller][controller], written with
the [controller-runtime][runtime] library. It watches Kubernetes objects (Services, Endpoints, Secrets, and Gateway API
Expand All @@ -89,7 +87,7 @@ containers [share a process namespace][share], which allows the NKG process to s

The diagram below provides a visual representation of the interactions between processes within the `nginx` and
`nginx-gateway` containers, as well as external processes/entities. It showcases the connections and relationships between
these components. For the sake of simplicity, the `busybox` init container is not depicted in the diagram.
these components.

![NKG pod](/docs/images/nkg-pod.png)

Expand Down