Compare Ingress and Gateway API.
IntermediateScenarioKubernetes Networking
Answer
Situation read → Gateway API is the role-oriented successor to Ingress.
What I'd do →
- Ingress has one resource and relies on controller-specific annotations for most features
- Gateway API separates
GatewayClass,Gateway(infra owner) andHTTPRoute(app owner) - It supports header matching, weighted traffic splitting, TCP and gRPC routes natively
- Check support with
kubectl get gatewayclass - 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.
More on Kubernetes Networking
Explain the Kubernetes networking model in one minute.BeginnerClusterIP, NodePort and LoadBalancer: when do you use each?BeginnerHow does a pod find another service by name?BeginnerService versus Ingress: what is the difference?BeginnerWhat does a CNI plugin do and which ones do you know?BeginnerHow do you reach a pod from your laptop for debugging without exposing it?Beginner