liveBook · Manning

Ingress controller

As explained in Software Security for Developers

An ingress controller is software that implements Kubernetes ingress routing and commonly handles TLS termination, load balancing, and path-based routing.

An ingress controller is the cluster’s front door: it receives external requests, applies Kubernetes ingress rules, and forwards traffic to services. For a public Spring Boot application, it can terminate TLS before forwarding the request inside the cluster. section 10.3

Use an ingress controller when centralized edge management is more practical than configuring every application separately:

  • Centralize certificate storage, renewal, and HTTPS configuration instead of repeating them in every application. section 10.3 section 10.4
  • Redirect HTTP requests to HTTPS and route requests for a host or path to the appropriate Kubernetes service. section 10.3
  • Choose application-level TLS for standalone or internal tools, or when encryption must continue all the way into the application. section 10.4

HTTPS at the Kubernetes boundary

An Ingress resource for app.acme.com names a TLS secret, enables HTTPS redirection, and sends the root path to the acme-webapp service on port 80. An NGINX controller performs the edge termination. section 10.3

How Software Security for Developers covers it

How deep it goes
Explains the deployment choice, certificate-management rationale, and manifest configuration, but not controller internals.
Examples
Uses an ACME web application, app.acme.com, an NGINX manifest, a TLS secret, and the acme-webapp service.
What it assumes
Assumes familiarity with TLS and Kubernetes services while contrasting centralized termination with application-level configuration.
What you can do after
Configure HTTPS ingress with certificate references, redirects, host rules, paths, and a Kubernetes service backend.
How it connects
Connects Kubernetes ingress with TLS termination, HTTPS redirection, certificates, services, NGINX, Traefik, and mTLS.

Also explained in

Compare how 4 books explain ingress controller →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.