diff --git a/setup/architecture.md b/setup/architecture.md index 12cc0b6d8..e5d144875 100644 --- a/setup/architecture.md +++ b/setup/architecture.md @@ -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. + +
Pod | +Source | +Source port | +Destination | +Destination port | +
---|---|---|---|---|
cemanager | +loadbalancer | +8080 | +envproxy | +N/A | +
envproxy | +8080 | +dashboard | +N/A | +|
dashboard | +8080 | +resource | +N/A | +|
N/A | +N/A | +loadbalancer | +80, 443 | +|
envproxy | +loadbalancer | +8080 | +cemanager | +8080 | +
N/A | +N/A | +dashboard | +N/A | +|
N/A | +N/A | +resource | +13337, 12212, 26337 | +|
dashboard | +loadbalancer | +3000 | +cemanager | +8080 | +
N/A | +N/A | +envproxy | +N/A | +|
N/A | +N/A | +resource | +N/A | +|
resource | +envproxy | +13337 | +loadbalancer | +80, 443 | +
envproxy | +26337 | +N/A | +N/A | +|
envproxy | +12212 | +N/A | +N/A | +