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 Service1. Ingress Resource Example
Section titled “1. Ingress Resource Example”apiVersion: networking.k8s.io/v1kind: Ingressmetadata: name: main-ingress annotations: cert-manager.io/cluster-issuer: letsencrypt-prodspec: ingressClassName: nginx rules: - host: api.example.com http: paths: - path: /v1/orders pathType: Prefix backend: service: name: order-service port: number: 80