Lesson 9 of 19 · 20m
Ingress, TLS, and the Move to Gateway API
Ingress NGINX retired in March 2026 after IngressNightmare — how traffic gets in now, and who terminates your TLS.
Pods live on a private network. The Service gives you a stable VIP inside the cluster — and then everything stops working, because the cluster IP was never reachable from the internet. Getting traffic in is the second networking problem, and it's where the ecosystem just went through its most instructive divorce: the thing half the industry used was quietly abandoned.
How traffic actually gets in
A NodePort Service opens a high port on every node. A LoadBalancer Service asks the cloud provider to provision a real LB pointing at those node ports. Both are blunt — per-service, L4, no TLS, no routing. The Ingress object is the L7 answer: a spec a controller reads and turns into config for a real reverse proxy. Ingress is not a load balancer — it's a declaration; nginx, Traefik, HAProxy, or a Gateway implementation do the work.
The Ingress API itself froze. It went GA in 1.19, then stopped evolving — every feature that mattered (timeouts, rewrites, header rules, weighted backends) got stuffed into per-controller annotations like nginx.ingress.kubernetes.io/*, and the spec became a lowest-common-denominator with fifty vendor dialects bolted on. The replacement is Gateway API (gateway.networking.k8s.io, v1 GA in late 2023): a role-split model — GatewayClass names the implementation, Gateway defines listeners (port, TLS, hostname — infra team's file), HTTPRoute/TCPRoute/TLSRoute attach routing rules to those listeners (app team's file). Implementations: Cilium, Envoy Gateway, Traefik, Kong, NGINX Gateway Fabric.
The retirement you can't ignore
Here's the real-world evidence. Ingress NGINX ran on roughly half of cloud-native environments per Datadog's research — and was maintained by about two volunteers. On March 24, 2025 the "IngressNightmare" set dropped: CVE-2025-1974 (with 2025-1097, 2025-1098, 2025-24513, 2025-24514), CVSS 9.8 — the admission-controller component, reachable from the pod network without authentication, accepted crafted AdmissionReview objects that injected arbitrary nginx configuration directives. Remote code execution in the controller pod — a pod whose ServiceAccount can read every Secret in the cluster. Unauthenticated cluster takeover through the thing that terminates your TLS.
Then in November 2025, SIG Network and the Security Response Committee announced the project's retirement: best-effort maintenance through March 2026, after which there are no releases, no bugfixes, no security patches. The repositories are read-only. Existing deployments keep working — which is precisely the trap, because it means you won't know you're running it until it's a finding. Check yours:
kubectl get pods --all-namespaces --selector app.kubernetes.io/name=ingress-nginxTLS: where it terminates and who manages certs
TLS terminates at the listener — Ingress spec.tls or a Gateway HTTPS listener — and inside the cluster traffic is plain HTTP unless you re-encrypt or run a mesh. The cert lifecycle is a solved problem: cert-manager watches Certificate resources, drives ACME (Let's Encrypt) or internal issuers, writes the Secret the listener references, and renews before expiry. The pattern is: cert-manager issues → Secret lands in the namespace → Gateway/Ingress mounts it → cert-manager renews in place. Hand-renewing certs in 2026 is a choice to have an outage on a calendar.
Practice
If you run ingress-nginx: plan the migration to Gateway API or a maintained Ingress controller now — the admission-controller risk profile alone justifies it, and post-March-2026 there are no patches for the next CVE. Stand up a Gateway (Envoy Gateway or Cilium), move one hostname, verify cert-manager renews, cut over. Keep the controller's admission webhook unreachable from anywhere that isn't the API server — NetworkPolicy on the controller namespace is cheap insurance.
The durable lesson isn't "nginx is bad." It's that an infrastructure component running unauthenticated surface area on the pod network — maintained by two people — was load-bearing for half the industry. Your ingress layer is part of your threat model. Treat it like one.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
What is Platform as a Service? The Sweet Spot Between "Too Easy" and "Too Much Work"
Platform as a Service sits between raw servers and fully managed software. You push code, the platform runs it. No Nginx config, no OS patches, no 3 AM server alerts. Here is what PaaS actually gives you, what it costs you in control, and how to decide if it is the right layer for your application.
The World now is Serverless and Container based
A new report from Datadog reveals that serverless computing could be entering the mainstream. This has already been the case in my world for the past few years. Results show that more than half of all organizations are using serverless on one of the three major public cloud providers: Amazon,
PostgreSQL 19 Is Out. REPACK Kept My Writes Running. The Docker Upgrade Will Stop Your App.
PostgreSQL 19 shipped on November 19 with REPACK (CONCURRENTLY), which removes table bloat without blocking writes. I measured it against VACUUM FULL, ran the upgrade from 18, and checked what breaks for self-hosters: Docker tags that refuse to start, a config setting that stops the server, and...
Self-Hosting Prometheus and Grafana: Infrastructure Monitoring That Actually Works
Build a production-grade monitoring stack with Prometheus and Grafana from scratch. Covers architecture, Docker Compose deployment, Node Exporter, alerting with Alertmanager, PromQL from basics to advanced, pre-built dashboards, and everything SudoSecurity uses to monitor its own infrastructure.