Interview Prep/Networking/TLS, Certificates & Network Security

How do you secure a Kubernetes ingress controller?

IntermediateProductionTLS, Certificates & Network Security
Answer

Run it in dedicated nodes or namespace, keep it patched (ingress-nginx has had critical CVEs), restrict snippet annotations, enforce TLS 1.2+, put a WAF or cloud LB in front, limit body size and timeouts, rate limit, and give it only the RBAC it needs. Expose it through an NLB with a security group allowing only the CDN or expected ranges.

Move toward the Gateway API where controllers are maintained and the role model is cleaner.

All Networking questions Roadmap: Networking for DevOps

More on TLS, Certificates & Network Security