Interview Prep/Networking/Kubernetes Networking

Service versus Ingress: what is the difference?

BeginnerScenarioKubernetes Networking
Answer

Situation read → A Service is L4 load balancing inside the cluster; an Ingress is L7 HTTP routing at the edge.

What I'd do →

  1. A Service gives a stable IP and balances across pods
  2. An Ingress defines host and path rules routed to Services
  3. An Ingress needs a controller (ingress-nginx, AWS Load Balancer Controller, Traefik) to act
  4. Check with kubectl get ingress and kubectl describe ingress app
  5. TLS is configured in spec.tls

Why → The Ingress object is only configuration; the controller is the actual proxy.

Interview tip → Mention Gateway API is the newer, more expressive successor.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking