From d2006b08351475c89e71bba866dd77e463603b2e Mon Sep 17 00:00:00 2001 From: Daniel Garcia Rico Date: Mon, 23 Nov 2026 04:33:58 +0000 Subject: [PATCH] AITRAX-3098: codetogether-ai docs for F5 NGINX Ingress Controller The default proxy-body-size annotation is read only by the retired ingress-nginx. Document the NGINX Ingress Controller equivalents (client-max-body-size, websocket-services) and its IngressClass in values.yaml and the chart README. Comments and docs only; no template or version change. Co-Authored-By: Claude Opus 5.5 --- charts/ai/README.md | 22 ++++++++++++++++++++++ charts/ai/values.yaml | 5 +++++ 2 files changed, 27 insertions(+) diff --git a/charts/ai/README.md b/charts/ai/README.md index 2494e47..74bd146 100644 --- a/charts/ai/README.md +++ b/charts/ai/README.md @@ -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: -codetogether-ai # the chart's Service +``` + +`kubectl get svc -n ` 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 diff --git a/charts/ai/values.yaml b/charts/ai/values.yaml index a63033b..e3da602 100644 --- a/charts/ai/values.yaml +++ b/charts/ai/values.yaml @@ -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: -codetogether-ai # the Service name # className: codetogether-nginx tls: secretName: codetogether-ai-tls