Skip to content

Ingress & Ingress Controllers

Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster using a single external entry point.

Client Request (https://api.example.com/v1/orders)
│
▼
Ingress Controller (NGINX / Traefik / ALB)
[ TLS Termination & Path Routing ]
│
┌───────────┴───────────┐
▼ ▼
/v1/orders /v1/users
Order Service User Service

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: main-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
rules:
- host: api.example.com
http:
paths:
- path: /v1/orders
pathType: Prefix
backend:
service:
name: order-service
port:
number: 80