Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.
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
104 changes: 104 additions & 0 deletions setup/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,110 @@ Coder deploys an NGINX Kubernetes ingress controller to allocate and route
requests to the appropriate service. You can disable this controller in the helm
chart if you use your ingress or gateway.

## Ports

The following is a table of the listening ports associated with Coder resources
in the cluster. The environment ports are:

- code-server: `13337`
- envagent (used for shell sessions): `26337`
- envagent (SSH proxy): `12212`

> **Note**: This table represents Coder's current behavior. It is subject to
> change in future releases.

<table>
<tr>
<th>Pod</th>
<th>Source</th>
<th>Source port</th>
<th>Destination</th>
<th>Destination port</th>
</tr>
<tr>
<td rowspan="4">cemanager</td>
<td>loadbalancer</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@f0ssel should we use LoadBalancer here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked cdr/m -- it's super inconsistent, but we should capitalize it the way it appears to the user

<td>8080</td>
<td>envproxy</td>
<td>N/A</td>
</tr>
<tr>
<td>envproxy</td>
<td>8080</td>
<td>dashboard</td>
<td>N/A</td>
</tr>
<tr>
<td>dashboard</td>
<td>8080</td>
<td>resource</td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td>N/A</td>
<td>loadbalancer</td>
<td>80, 443</td>
</tr>
<tr>
<td rowspan="3">envproxy</td>
<td>loadbalancer</td>
<td>8080</td>
<td>cemanager</td>
<td>8080</td>
</tr>
<tr>
<td>N/A</td>
<td>N/A</td>
<td>dashboard</td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td>N/A</td>
<td>resource</td>
<td>13337, 12212, 26337</td>
</tr>
<tr>
<td rowspan="3">dashboard</td>
<td>loadbalancer</td>
<td>3000</td>
<td>cemanager</td>
<td>8080</td>
</tr>
<tr>
<td>N/A</td>
<td>N/A</td>
<td>envproxy</td>
<td>N/A</td>
</tr>
<tr>
<td>N/A</td>
<td>N/A</td>
<td>resource</td>
<td>N/A</td>
</tr>
<tr>
<td rowspan="3">resource</td>
<td>envproxy</td>
<td>13337</td>
<td>loadbalancer</td>
<td>80, 443</td>
</tr>
<tr>
<td>envproxy</td>
<td>26337</td>
<td>N/A</td>
<td>N/A</td>
</tr>
<tr>
<td>envproxy</td>
<td>12212</td>
<td>N/A</td>
<td>N/A</td>
</tr>
<table>

## Deployment options

There are two ways to deploy Coder:
Expand Down