Exposing Kubernetes services to the internet
WHAT IT TESTS: Kubernetes networking layers. OUTLINE: a Service gives stable access and LoadBalancer exposes one service, while Ingress adds L7 host and path routing with TLS for many services. RED FLAG: conflating the two, or one LB per service.
WHAT IT TESTS: the layered path from Pod to public traffic. ANSWER OUTLINE: a Service gives a stable virtual IP and load-balances across Pods; ClusterIP is internal only, NodePort opens a port on every node, and LoadBalancer provisions a cloud load balancer for one service. An Ingress plus its controller adds layer-7 routing, mapping hostnames and URL paths to multiple Services behind a single external load balancer and terminating TLS. RED FLAG: confusing Service with Ingress, or one LoadBalancer per service.
Read the original → interview
- #kubernetes
- #ingress
- #service
- #load-balancer
- #networking
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.