Skip to content
BENIBIX Learn

Kubernetes Ingress

Infrastructure☸️ Container OrchestrationKubernetes

Also known as K8s Ingress, Ingress (Kubernetes), Ingress Controller

Rules that let web traffic in. They send each site to the right service.

Think of it like

It is like the front desk of an office block. It reads who you came for and sends you to the right floor.

Example

One cluster hosts a shop and a blog on one public address. The ingress sends each web address to its own service.

Why it matters

Without it, each app would need its own public address. One ingress can serve many sites from one way in.

Definition

A Kubernetes ingress lets web traffic from outside reach services inside the cluster. It holds rules, like send shop.example.com to the shop service. The rules do nothing alone. A program called an ingress controller reads them and sends the traffic. It can also handle HTTPS, so one way in serves many sites. The Kubernetes team now says to use Gateway, a newer way, for new work.
The ingress is the first stop from the internet. It reads the address and picks the service.

Common mistake

Writing the rules with no controller to read them. Nothing happens, and no error says why.

Key takeaways

  1. 1
    One way in. Many sites share one public entry.
  2. 2
    Rules by name and path. The address decides which service gets it.
  3. 3
    Needs a controller. Rules alone route nothing.

Compare