Introduction
Every application running in Kubernetes eventually needs the same thing: a way for traffic from outside the cluster to reach it. A Service gives your Pods a stable address inside the cluster, but it does not, on its own, give the outside world a front door. That front door is Ingress — a collection of rules that lets inbound connections reach the endpoints defined by a backend, with load balancing, TLS termination and name-based virtual hosting built in. If Kubernetes is the building, Ingress is the reception desk: one address, a set of rules about who goes where, and a secure connection for everyone who walks in.
This tutorial teaches Ingress from zero, as it stands on 30 November 2026 — and the date matters, because the Ingress landscape changed this year. The community Ingress-NGINX controller, the one most tutorials still tell you to install, was retired in March 2026 and now receives no releases, bugfixes or security patches. A beginner who follows a tutorial from 2025 will install unmaintained software on the edge of their cluster. This guide explains what was retired, what replaces it, and how to build a working Ingress setup with a maintained controller, host and path routing, and TLS — then shows you the Gateway API, the successor Kubernetes recommends for new work. If you are new to Kubernetes itself, start with our Kubernetes Tutorial for Beginners and our Kubernetes Deployment YAML Tutorial first; this guide assumes you can already deploy an application and expose it with a Service. Our Networking Basics for DevOps Engineers covers the underlying concepts — DNS, TLS, load balancing — that Ingress builds on.
What Ingress Is and How Traffic Flows
Ingress is an API object that manages external access to Services in a cluster, typically HTTP and HTTPS. It is a collection of rules, and each rule maps traffic — by hostname, by URL path, or both — to a backend Service. An Ingress can give Services externally-reachable URLs, load balance traffic across the Pods behind a Service, terminate TLS so the connection from the client is encrypted, and offer name-based virtual hosting, where several hostnames share a single IP address and the Ingress routes each one to a different Service.
The traffic flow has three parts. The Ingress resource is the YAML you write: the rules, the hosts, the paths, the TLS configuration. The Ingress controller is the software that reads those rules and makes them real — usually a reverse proxy and load balancer running as Pods in your cluster, watching for Ingress resources and reconfiguring itself whenever one changes. And the load balancer in front of the controller — often a cloud load balancer — is what gives the controller a public IP address. A request arrives at the load balancer, passes to the controller, and the controller matches it against your rules and forwards it to the right Service, which forwards it to a Pod.
Two facts about Ingress surprise beginners. First, an Ingress resource does nothing on its own. Creating the YAML without a controller running in the cluster is like writing a set of directions and never hiring a driver: the resource exists, the rules are stored, and no traffic moves. You must install a controller, and the controller you choose determines which features your rules can actually use. Second, the Ingress API is frozen. It became generally available in Kubernetes v1.19 in 2020, and Kubernetes states plainly that it is frozen — new features are being added to the Gateway API instead. The API is not deprecated and there are no plans to remove it, but it will not gain new capabilities. That frozen status is the context for everything else in this guide: Ingress still works, and will keep working, but the future of Kubernetes networking is elsewhere.
The Ingress resource itself is simple, and that simplicity is both its strength and its limit. A minimal Ingress has an apiVersion of networking.k8s.io/v1, a kind of Ingress, a spec with an ingressClassName naming the controller that should serve it, and a list of rules. Each rule has a host and an http block with paths, and each path has a path, a pathType — Prefix or Exact — and a backend naming a Service and a port. The tls block, when present, names the hosts the TLS certificate covers and the Secret that holds the certificate. That is the whole resource. Everything beyond it — rewrites, rate limiting, authentication, canary weights — lives in the controller, and historically it lived there as annotations, which is where the trouble started.
The ingress-nginx Retirement — What Actually Happened
If you learned Kubernetes before 2026, the controller you learned was almost certainly ingress-nginx — the community project under kubernetes/ingress-nginx that used NGINX as its reverse proxy and load balancer. It was the default answer in most tutorials, the default in minikube's ingress addon, and by some estimates it ran in around half of cloud-native environments. In March 2026 it was retired. Here is the timeline, from the Kubernetes project's own announcements as reported in November 2026.
| Date | What happened |
|---|---|
| 11 Nov 2025 | Kubernetes SIG Network and the Security Response Committee announce the retirement: best-effort maintenance until March 2026, then no more |
| 19 Mar 2026 | Final ingress-nginx releases ship: controller v1.15.1, v1.14.5, v1.13.9 |
| 24 Mar 2026 | The kubernetes/ingress-nginx GitHub repository is archived and made read-only |
| Mar 2026 | SIG Network ships ingress2gateway 1.0, a tool that converts Ingress resources into Gateway API resources |
| 5 Nov 2026 | CVE-2026-116472 is published against ingress-nginx; the Kubernetes project states it will not issue a fix |
Two things drove the decision, and both are worth understanding before you pick a replacement. The first is the maintainer situation: ingress-nginx was used by millions of clusters but was kept alive by one or two people working on it in their spare time, and that is not a sustainable basis for software that sits on the edge of a cluster. The second is the design of the controller itself. Ingress is a small API, so ingress-nginx extended it with annotations — more than 130 of them — and some of those annotations let any user with permission to create an Ingress object inject arbitrary NGINX configuration into the data plane. The clearest example is the configuration-snippet annotation, which let an Ingress author inject raw NGINX config, and that class of vulnerability — annotation-driven configuration injection — was behind the IngressNightmare vulnerabilities of March 2025. The Kubernetes Steering and Security Response Committees concluded that the design could not be fixed incrementally, and retired the project instead.
Three clarifications matter, because the names are easy to mix up. First, the Ingress API itself is not retired — it is generally available, frozen, and still supported; only this one controller is dead. Second, F5's NGINX Ingress Controller is a different project: a separate codebase, maintained by F5/NGINX Inc., available in open-source and commercial forms, and unaffected by the retirement. Third, existing deployments of ingress-nginx keep running — the installation artifacts remain available — but there will be no further releases, bugfixes or security updates. A vulnerability reported in November 2026 will not be fixed, so running ingress-nginx today is running unmaintained software on the edge of your cluster. If your cluster still runs it, the migration section at the end of this guide is the part to read first.
Your Controller Choices in Late 2026
With ingress-nginx retired, the choice of controller is the first real decision in any new Ingress setup, and there are three sensible answers depending on what you want. All three are maintained, and all three are worth knowing about.
F5 NGINX Ingress Controller is the path of least resistance if you want to keep your Ingress resources and stay on NGINX. It is the separate F5-maintained controller, shipping releases since November 2016, and F5 publishes a migration tool that maps more than 130 ingress-nginx annotations, plus ConfigMap settings, to it — so a migrating cluster can carry most of its configuration across. Choose this if your team knows NGINX and you want the smallest possible change to a working setup.
A cloud load balancer controller is the right choice if you run on a managed cloud. The AWS Load Balancer Controller, the Google Cloud load balancer integration, and Azure's Application Gateway Ingress Controller all turn your Ingress resources into cloud load balancers rather than in-cluster proxies. Your existing Ingress resources still work — only the controller behind them changes.
A Gateway API implementation is the long-term choice, and the one Kubernetes recommends for new work. Envoy Gateway, Traefik, Cilium, Istio, Kong and NGINX Gateway Fabric all implement the Gateway API, and the API is where the ecosystem's development now happens. This is a bigger change than swapping controllers — it means writing Gateway, HTTPRoute and related resources instead of Ingress resources — but it is the stack that will still be gaining features in three years' time. Choose this if you are starting fresh, or if you are migrating anyway and would rather move once to the future than twice.
For the hands-on part of this tutorial we use the F5 NGINX Ingress Controller, because it is the closest thing to the setup most readers already know, it is maintained, and its installation is a single Helm chart or a set of manifests. The routing and TLS sections below are written against the Ingress API itself, so the concepts transfer to any controller — but the exact annotation names and the installation steps are the NGINX Ingress Controller's, and if you choose a different controller, read its documentation for the equivalents. Kubernetes itself says the same thing in its Ingress documentation: review your controller's documentation to understand the caveats of choosing it.
A First Ingress, Step by Step
Start with a cluster running Kubernetes 1.37 — the current stable release — and an application already deployed and exposed by a Service. If you do not have one, deploy the standard NGINX demo: a Deployment with two replicas of the nginx image, and a ClusterIP Service named web on port 80 in front of it. Our Kubernetes Deployment YAML Tutorial walks through that Deployment manifest field by field if you need it.
First, install the controller. With Helm, add the NGINX Ingress Controller chart repository and install the chart into its own namespace, which creates the controller Deployment, its Service of type LoadBalancer, and the IngressClass it will serve. With plain manifests, apply the controller's install YAML from the project's documentation. Either way, verify the installation before you write any Ingress resource: the controller Pods should be running, and the controller's Service should have an external IP address or hostname. That address is the front door of your cluster — note it down, because it is the address your DNS records will point at.
Second, write the Ingress resource. A minimal one for a single host looks like this:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web-ingress
namespace: default
spec:
ingressClassName: nginx
rules:
- host: web.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 80
Apply it with kubectl apply -f, then check it with kubectl get ingress and kubectl describe ingress web-ingress. The describe output shows the address the controller has assigned and the rules it has loaded — if the address is empty, the controller is not serving this Ingress, and the first thing to check is the ingressClassName: it must match the IngressClass your controller owns, and a mismatch is the most common reason a first Ingress does nothing. The second most common reason is the namespace: an Ingress can only route to Services in its own namespace, so an Ingress in default cannot reach a Service in production.
Third, test it. Add the controller's external IP to your machine's hosts file against web.example.com, then request it with curl. You should get the NGINX welcome page from your application. If you get a 404, the rule matched nothing — check the host and the path. If you get a 502, the controller matched the rule but could not reach the Service — check that the Service exists, that its selector matches the Pods, and that the Pods are running. If you get no response at all, the load balancer or the controller Service is the problem, not the Ingress. Debugging in that order — load balancer, controller, Ingress, Service, Pod — is the habit that saves hours.
Routing — Hosts, Paths, Rewrites and Canaries
A single host and a single path is the beginning, not the end. Real Ingress setups route several applications through one controller, and the routing rules are where Ingress earns its keep. Three patterns cover most of what a beginner needs.
Name-based virtual hosting is the first: several hostnames share one IP address, and the Ingress routes each hostname to a different Service — api.example.com to an api Service, web.example.com to the web Service — using the Host header of each request. This is how a small cluster serves a website, an API and an admin interface from a single load balancer. The catch is DNS: every hostname in your rules needs a DNS record pointing at the controller's address.
Path-based routing is the second: one hostname, several paths, each path to a different Service. A rule for example.com/ pointing at the web Service and a rule for example.com/api pointing at the api Service is the classic shape, and the pathType field decides how the matching works. Prefix matches the path and everything beneath it, so /api matches /api/users and /api/users/123; Exact matches only the path itself. The exam-style mistake is to use Exact where you meant Prefix and then wonder why /api/users returns a 404. Note also that the path the application sees is the full path unless the controller rewrites it — an application behind /api that expects requests at / will need a rewrite, which is controller-specific and, in the NGINX Ingress Controller, is done with the rewrite-target annotation.
Canary routing is the third, and the one that shows the limits of the Ingress API. Ingress has no native concept of traffic weighting — there is no field that says "send 10% of traffic to the new version". Controllers implement it with annotations, and that is exactly the annotation-driven design the ingress-nginx retirement was a reaction to: traffic splitting is a first-class field in a Gateway API HTTPRoute, not an annotation on an Ingress. If canary deployments matter to you, look at the Gateway API section below rather than building an annotation-heavy canary on Ingress.
One operational habit belongs in this section: keep one Ingress per application, not one Ingress per cluster. A single giant Ingress resource that routes everything is hard to review, hard to roll back, and a single bad edit away from breaking every application at once. One Ingress per application, each in the application's own namespace, is easier to own and easier to fix — and treat Ingress resources like code, stored in version control and applied through your deployment pipeline.
TLS with cert-manager
TLS termination is the feature that makes Ingress worth setting up properly, and it is simpler than most beginners expect — provided you automate the certificates. The Ingress resource's tls block names the hosts a certificate covers and the Secret that holds the certificate, and the controller terminates TLS at the edge: the client connects over HTTPS to the controller, the controller decrypts the traffic, and the traffic from the controller to the Pod travels over plain HTTP inside the cluster. That last hop is unencrypted by design in most setups, and it is acceptable because it never leaves the cluster — but if your threat model requires encryption all the way to the Pod, you need end-to-end TLS, which is a controller feature rather than an Ingress feature, and a reason to read your controller's documentation carefully.
The certificates themselves should come from cert-manager, the standard tool for automating certificates in Kubernetes. Install cert-manager, create a ClusterIssuer that talks to Let's Encrypt — the staging issuer first, while you are testing, because the production issuer has rate limits — and add the cert-manager.io/cluster-issuer annotation to your Ingress. Cert-manager watches the Ingress, requests a certificate for the hosts in the tls block, stores it in the named Secret, and renews it before it expires, with no human involvement once set up.
The mistakes to avoid are all in the setup. The first is testing against the production Let's Encrypt issuer: use the staging issuer until the flow works end to end, then switch to production, because the production rate limits are unforgiving of a misconfigured ClusterIssuer. The second is **a host in the tls block that has no DNS record: Let's Encrypt validates ownership by reaching the host, and a host that does not resolve cannot be validated. The third is a Secret name that collides**: cert-manager creates the Secret named in the tls block, and if a Secret with that name already exists with the wrong contents, delete the stale Secret and let cert-manager recreate it. And the fourth is forgetting the redirect: once TLS works, add the controller's force-SSL-redirect so plain HTTP requests are redirected to HTTPS rather than served.
Gateway API — the Successor, and When to Move
The Gateway API is the successor to Ingress, and it is worth understanding even if you are not ready to move to it yet, because it is where Kubernetes networking is heading. It is a family of API kinds that provide dynamic infrastructure provisioning and advanced traffic routing, and it has been generally available since 2023. Where Ingress is a single resource with a frozen spec, Gateway API splits the job across four stable kinds, each owned by a different role in an organisation.
GatewayClass defines a set of gateways with a common configuration, and is managed by the controller — the infrastructure provider's role. Gateway defines an instance of traffic-handling infrastructure, such as a cloud load balancer, and is owned by the cluster operator. HTTPRoute defines the HTTP-specific rules that map traffic from a Gateway listener to backend Services, and is owned by the application developer. GRPCRoute does the same for gRPC traffic. The role-oriented split is the point: each role owns a resource shaped for its job, without being able to break the others' configuration — the structural answer to the annotation problem that killed ingress-nginx.
Gateway API is also more expressive than Ingress where it matters. Header-based matching, traffic weighting for canary deployments, request timeouts and retries, and request mirroring are first-class fields in the API rather than controller-specific annotations, so a route written against the Gateway API is portable between implementations — Envoy Gateway, Traefik, Cilium, Istio, Kong, NGINX Gateway Fabric — in a way an annotation-heavy Ingress never was.
When should you move? The migration tooling is ready: SIG Network shipped ingress2gateway 1.0 in March 2026, a tool that reads your existing Ingress resources and converts them into Gateway API resources, with converters for nine providers including ingress-nginx, NGINX, Traefik, Istio and Kong, and the 1.0 release expanded support from 3 to more than 30 ingress-nginx annotations. The tool handles the structural conversion and the common annotations, and it warns you about what it cannot translate so you can decide by hand. The migration itself splits into two halves: the mechanical half, converting hosts and paths and backends, which ingress2gateway does for you; and the annotation half, inventorying the behaviours you rely on — regex paths, rewrites, canary weights, configuration snippets — and deciding what each one becomes under Gateway API, because some of them change meaning and some vanish. That inventory is the step nobody likes and the step that decides whether a migration succeeds.
The practical advice is simple. If you are starting fresh, start with Gateway API. If you already run Ingress on a maintained controller, there is no urgency: the Ingress API is not deprecated, your resources keep working, and you can migrate when you have a reason to, such as a canary deployment. And if you still run ingress-nginx, migrate now — to the F5 NGINX Ingress Controller, a cloud load balancer controller, or a Gateway API implementation. The controller is the urgent part. The API can wait.
FAQ
What is the difference between Ingress and a LoadBalancer Service?
A LoadBalancer Service exposes one Service on one cloud load balancer, with one IP address per Service. An Ingress exposes many Services through one load balancer, routing by hostname and path, with TLS termination in one place. Ingress is cheaper and simpler to operate when you have more than a couple of Services; a LoadBalancer Service is simpler when you have exactly one.
Do I still need an Ingress controller if I create an Ingress resource?
Yes. An Ingress resource on its own does nothing — it is a set of rules stored in the cluster. A controller reads those rules and configures a reverse proxy and load balancer to enforce them. Without a controller, no traffic moves, whatever your YAML says.
Is ingress-nginx really dead? Should I remove it today?
The community project kubernetes/ingress-nginx was retired in March 2026: the final releases shipped on 19 March 2026, the repository was archived on 24 March 2026, and there will be no further releases, bugfixes or security patches. Existing deployments keep running, but they are unmaintained, and a vulnerability published in November 2026 will not be fixed. Plan a migration to a maintained controller or to the Gateway API rather than waiting.
What is the difference between ingress-nginx and the NGINX Ingress Controller?
They are different projects with similar names. Ingress-nginx was the Kubernetes community project under SIG Network, now retired. The NGINX Ingress Controller is F5/NGINX Inc.'s separate controller, still maintained, available in open-source and commercial forms, and unaffected by the retirement. F5 publishes a migration tool that maps ingress-nginx annotations to it.
Should I learn Ingress or Gateway API in 2026?
Learn Ingress first, because it is what most clusters still run and the concepts — hosts, paths, backends, TLS termination — are the same. Then learn Gateway API, because it is the successor: generally available since 2023, role-oriented, more expressive, and where the ecosystem's development happens. For a new cluster, start with Gateway API; for an existing Ingress setup on a maintained controller, migrate when you have a reason to.
Conclusion
Ingress is the front door of a Kubernetes cluster: one address, a set of rules about who goes where, and TLS termination for everyone who walks in. The resource itself is simple — hosts, paths, backends, a TLS block — and the controller behind it is where the real behaviour lives. That is why the retirement of ingress-nginx in March 2026 matters so much: the controller most tutorials still tell you to install is unmaintained, with no further releases, bugfixes or security patches. The Ingress API itself is fine — generally available since 2020, frozen but not deprecated — and the maintained replacements are ready, whether that is the F5 NGINX Ingress Controller, a cloud load balancer controller, or a Gateway API implementation.
Build your first Ingress on a maintained controller, route by host and path, automate TLS with cert-manager against the staging issuer first, and keep one Ingress per application in version control. Then look at the Gateway API, because it is where Kubernetes networking is heading, and because its role-oriented model — GatewayClass, Gateway, HTTPRoute — is the structural answer to the annotation problem that ended ingress-nginx. And if your cluster still runs the retired controller, start the migration now: use ingress2gateway to convert the structure, inventory your annotations by hand, and move before the next vulnerability, not after it. For the foundations underneath all of this, our Kubernetes Tutorial for Beginners and our Networking Basics for DevOps Engineers cover the concepts, and our Kubernetes Deployment YAML Tutorial covers the manifests you will write before you ever create an Ingress.
Sources checked 30 Nov 2026: Kubernetes documentation, Ingress concepts page (Ingress is a collection of rules allowing inbound connections to reach endpoints defined by a backend; Ingress may provide load balancing, SSL termination and name-based virtual hosting; feature state Kubernetes v1.19 stable; "Ingress is frozen. New features are being added to the Gateway API"); Kubernetes documentation, Gateway API page (Gateway API is a family of API kinds providing dynamic infrastructure provisioning and advanced traffic routing; role-oriented, portable, expressive; four stable kinds GatewayClass, Gateway, HTTPRoute, GRPCRoute); Google Open Source Blog networking post (Ingress NGINX maintenance ceases March 2026; Ingress API still available with no immediate plans for deprecation; F5 NGINX Ingress Controller continues to be maintained in open-source and commercial forms); NGINX community blog, KubeCon North America 2026 report (community Ingress-NGINX retired March 2026, no releases, bugfixes or security patches; migration tool maps 130+ annotations to NGINX Ingress Controller; ingress2gateway with NGINX emitter for Gateway API); Collabnix migration guide (Kubernetes project stopped maintaining Ingress-NGINX in March 2026; ingress2gateway 1.0 shipped March 2026; Kubernetes 1.37 current stable release); community migration checklists checked 30 Nov 2026 (retirement announced 11 Nov 2025; final releases 19 Mar 2026, controller v1.15.1, v1.14.5, v1.13.9; repository archived 24 Mar 2026; ingress2gateway 1.0 released 20 Mar 2026 with 30+ annotation converters). NOT VERIFIED on an official Kubernetes page and therefore flagged here: CVE-2026-116472 (published 5 Nov 2026, reported by a community checklist as a mirror-target annotation vulnerability with no fix forthcoming — not verified on kubernetes.io, and stated in this article only as a reported claim); the estimate that ingress-nginx ran in around 50% of cloud-native environments (SIG Network estimate as reported by a community post, not verified on an official page). External references: Kubernetes documentation — Ingress · Kubernetes documentation — Gateway API.
—



