# Kubernetes Ingress

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

**Field:** Infrastructure  
**Category:** Container Orchestration  
**Also known as:** K8s Ingress, Ingress (Kubernetes), Ingress Controller

## 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.

## 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.

## 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.

## Common mistake

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

## Three principles

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

## Related terms

- [Kubernetes Service](https://learn.benibix.com/term/infrastructure/kubernetes-service)
- [HyperText Transfer Protocol Secure (HTTPS)](https://learn.benibix.com/term/infrastructure/https)
- [HyperText Transfer Protocol (HTTP)](https://learn.benibix.com/term/infrastructure/http)
- [API Gateway](https://learn.benibix.com/term/development/api-gateway)
- [Kubernetes Cluster](https://learn.benibix.com/term/infrastructure/kubernetes-cluster)

## Told apart from

- [Kubernetes Service vs Kubernetes Ingress](https://learn.benibix.com/compare/kubernetes-service-vs-kubernetes-ingress): People think a service and an ingress do the same job, and they do not. A service gives a group of pods one steady address inside the cluster. An ingress lets web traffic in from outside, and sends each site or path to the right service. Traffic from the internet usually passes through both, the ingress first.

![Traffic from the internet enters on the left. An ingress reads the web address and sends shop.example.com to a service. The service spreads the requests across three identical pods. A dashed box around the three pods is marked deployment, which keeps three of them running.](https://learn.benibix.com/diagrams/inf-k8s-traffic.svg)

---

Source: https://learn.benibix.com/term/infrastructure/kubernetes-ingress
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
