Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions charts/ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,28 @@ explicitly:
If you set `ingress.className=codetogether-nginx`, the chart also creates a
matching `IngressClass`.

### F5 NGINX Ingress Controller

The default annotation `nginx.ingress.kubernetes.io/proxy-body-size: "16m"` is
read by `kubernetes/ingress-nginx`, which was retired upstream in March 2026.
The F5 NGINX Ingress Controller (`nginx/kubernetes-ingress`) ignores it, and
without a replacement tracker uploads over 1 MB are rejected with `413`. It also
upgrades WebSocket connections only for the Services it is told about. Set its
own annotations and its IngressClass:

```yaml
ingress:
className: nginx # the class your NGINX Ingress Controller serves
annotations:
nginx.org/client-max-body-size: "16m"
nginx.org/websocket-services: <release>-codetogether-ai # the chart's Service
```

`kubectl get svc -n <namespace>` shows the Service name. NGINX Ingress serves
HTTPS only for an Ingress with a `tls` section, which this chart renders by
default (`ingress.tls.secretName`). Gateway API (below) is the other way off
ingress-nginx.

### Gateway API (NGINX Gateway Fabric)

Clusters that route with Gateway API instead of an Ingress controller (for
Expand Down
5 changes: 5 additions & 0 deletions charts/ai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ ingress:
# hop is the binding constraint. Additional ingress annotations
# (e.g. external-dns hostname) merge with this default.
nginx.ingress.kubernetes.io/proxy-body-size: "16m"
# F5 NGINX Ingress Controller (nginx/kubernetes-ingress) ignores the
# annotation above. With that controller, add instead (see README.md
# "F5 NGINX Ingress Controller"):
# nginx.org/client-max-body-size: "16m"
# nginx.org/websocket-services: <release>-codetogether-ai # the Service name
# className: codetogether-nginx
tls:
secretName: codetogether-ai-tls
Expand Down
Loading