Interview Prep/Networking/Kubernetes Networking

Compare Ingress and Gateway API.

IntermediateScenarioKubernetes Networking
Answer

Situation read → Gateway API is the role-oriented successor to Ingress.

What I'd do →

  1. Ingress has one resource and relies on controller-specific annotations for most features
  2. Gateway API separates GatewayClass, Gateway (infra owner) and HTTPRoute (app owner)
  3. It supports header matching, weighted traffic splitting, TCP and gRPC routes natively
  4. Check support with kubectl get gatewayclass
  5. Migrate gradually since both can coexist

Why → Splitting roles lets platform teams own the listener while app teams own routes.

Interview tip → Say you choose by controller support and needed features.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking