The Gateway API is the official traffic management standard of the Kubernetes community. It supports both Ingress-based north-south traffic management and Service Mesh-based east-west traffic management. This topic describes the core concepts of the Gateway API and its solutions for north-south traffic management.
Core concepts
Gateway API uses a role-oriented, layered design that decouples infrastructure provisioning, cluster operations, and application routing. It includes the following core resources:
GatewayClass (Infrastructure layer): Similar to
IngressClass. It defines the gateway controller type, such as ALB or Envoy Gateway, and general configurations.Gateway (Operations layer): Defines a specific gateway instance and its network listener rules, such as the port, protocol, and TLS configurations.
HTTPRoute, GRPCRoute, etc. (Application layer): Define specific traffic routing rules, such as path matching, header modification, and traffic weighting, and specify a backend service.
Policy (Policy layer): Defines a set of specific configurations or behaviors, such as circuit breaking, rate limiting, and JWT authentication. Policies can be attached to a specified gateway, route, or backend service.
Gateway API solutions in ACK
In an ACK cluster, you can select a suitable Gateway API solution based on your business needs:
Solution | Gateway with Inference Extension | ALB (Application Load Balancer) |
Overview | Gateway with Inference Extension is a component built on the open source Envoy Gateway project. It is optimized for cloud-native and AI inference scenarios. It listens for Gateway API resources to dynamically create and delete gateways, managing north-south traffic for the cluster. This component is unmanaged. It is deployed on the nodes of your cluster and requires self-maintenance. It does not come with a cloud product Service-Level Agreement (SLA) guarantee. | ALB Ingress Controller has supported Gateway API since version v2.17.0. Configure resources such as Gateway and HTTPRoute to route external Layer 7 traffic to workloads (pods) managed by services within the cluster. This manages the cluster's north-south traffic. The ALB Ingress Controller listens for changes to Gateway API resources and converts them in real-time into listener rules, routing rules, and server group configurations for the underlying ALB instance. |
Scenarios | General traffic and AI inference scenarios | General traffic scenarios |
Core advantages |
|
|
References |