Interview › Istio & Service Mesh
What is the Kubernetes Gateway API, and how is Istio adopting it?
Istio & Service Mesh · Intermediate level
Answer
The Kubernetes Gateway API is a standardized Kubernetes networking API intended to be more expressive and role-oriented than Ingress. It introduces resources such as GatewayClass, Gateway, and route types. Istio supports it as a way to configure ingress and mesh traffic with standard Kubernetes APIs.
Technical explanation
GatewayClass represents the implementation type, such as Istio.
Gateway represents listener infrastructure and allowed route attachment.
HTTPRoute or TCPRoute represents application routing rules that attach to a Gateway.
Hands-on example
Gateway API sketch:
kind: Gateway
metadata:
name: public
spec:
gatewayClassName: istio
listeners:
- name: https
port: 443
protocol: HTTPS
---
kind: HTTPRoute
spec:
parentRefs:
- name: public
rules:
- backendRefs:
- name: checkout
port: 8080Preparing for an interview?
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Istio & Service Mesh interview questions
- How do Istio Gateways relate to the Kubernetes Gateway API?
- What is the difference between Istio and an API gateway?
- How do you handle non-HTTP (TCP) traffic in Istio?
- How do you exclude certain ports or IP ranges from sidecar interception?
- Why might traffic bypass the sidecar, and how do you verify injection?
- Does the data plane keep working if the control plane goes down, and why?
- What is a common cause of 503 errors in Istio, and how do you diagnose it?
- How do you enforce that all traffic leaving the mesh goes through an egress gateway?