Skip to main content
The Gateway API provides a modern, standardized way to expose services in Kubernetes. It’s the successor to Ingress and is recommended for new deployments. GKE supports it natively, and on AKS it is available through the managed Gateway API with either the App Routing add-on or Application Gateway for Containers.
Gateway API vs Ingress: Gateway API offers more flexibility and features compared to traditional Ingress resources. It supports advanced routing, traffic splitting, and is designed for multi-tenancy. GKE and AKS can install and manage the Gateway API CRDs for you.

Core Configuration

boolean
default:"false"
Enable Gateway API for routing traffic to web and OAuth services.When Enabled:
  • Creates or references a Gateway resource
  • Configures HTTPRoutes for web and OAuth services (when their respective gateway.enabled is true)
  • Requires Gateway API CRDs installed in the cluster
Prerequisites:
  • Cluster must have Gateway API CRDs installed
  • On GKE, enable with: gcloud container clusters update CLUSTER --gateway-api=standard
  • On AKS, enable with: az aks update -g RESOURCE_GROUP -n CLUSTER --enable-gateway-api, plus one Gateway API implementation (see gateway.gatewayClassName)
Example:
boolean
default:"true"
Create a new Gateway resource or reference an existing one.When true:
  • Chart creates a new Gateway resource
  • Gateway name defaults to <release-name>-gateway or can be set via gateway.name
  • Gateway is created in the same namespace as the Helm release
When false:
  • Chart references an existing Gateway by name
  • Must specify gateway.name and optionally gateway.namespace
  • Useful for shared Gateway across multiple applications
Example - Create New Gateway:
Example - Reference Existing Gateway:
string
default:""
Name of the Gateway resource.Default Behavior:
  • When create: true and empty: Defaults to <release-name>-gateway
  • When create: false: Must be specified (name of existing Gateway)
Example:
string
default:""
Namespace of the Gateway resource (only used when create: false).Purpose: Allows HTTPRoutes to reference a Gateway in a different namespace.Default Behavior: If empty when create: false, assumes Gateway is in the same namespace as the Helm release.Example:
string
default:""
required
Gateway controller class name.Required: Yes (when gateway.enabled: true)GKE Built-in Classes:
  • gke-l7-global-external-managed - Global external Application Load Balancer
  • gke-l7-regional-external-managed - Regional external Application Load Balancer
  • gke-l7-rilb - Regional internal Application Load Balancer
AKS Classes:
  • approuting-istio - App Routing add-on with Gateway API. Enable with az aks update -g RESOURCE_GROUP -n CLUSTER --enable-gateway-api --enable-app-routing-istio. Runs an Envoy proxy in the cluster behind an Azure Load Balancer.
  • azure-alb-external - Application Gateway for Containers, installed through the ALB Controller. A managed layer 7 load balancer that runs outside the cluster.
Other Controllers:
  • istio - Istio Gateway
  • nginx - NGINX Gateway (if NGINX Gateway Fabric is installed)
Example:
Verify the GatewayClasses available in your cluster with: kubectl get gatewayclass
object
default:"{}"
Annotations for the Gateway resource.Use Cases:
  • GCP certificate maps for managed certificates
  • Cloud-specific load balancer configuration
  • Custom metadata
Example - GCP Managed Certificate:
Example - Static IP:
Example - Application Gateway for Containers:
object
default:"{}"
Labels and annotations for the resources that the Gateway API implementation creates for this Gateway, such as its load balancer Service. Rendered as the Gateway’s spec.infrastructure.Only implementations that create in-cluster resources for each Gateway use this field, for example approuting-istio. Application Gateway for Containers does not.Example - Internal Azure Load Balancer (approuting-istio):

Listeners Configuration

array
required
List of Gateway listeners (ports and protocols).Purpose: Defines which ports the Gateway listens on and how traffic is handled.Default Configuration:
Each listener must specify:
  • name - Unique listener name
  • protocol - HTTP, HTTPS, TCP, or TLS
  • port - Port number (80, 443, etc.)
Optional fields:
  • hostname - Hostname filter for this listener
  • tls - TLS configuration (for HTTPS/TLS protocols)
The chart automatically configures allowedRoutes.namespaces.from: Same to restrict HTTPRoutes to the same namespace.

HTTP Listener Example

HTTPS Listener with Kubernetes TLS Secret

HTTPS Listener with GCP Managed Certificate

When using GCP-managed certificates via networking.gke.io/certmap, the listener doesn’t need tls.certificateRefs. The certificate map is applied at the Gateway level via annotations.

HTTP and HTTPS Listeners (Dual-Stack)

HTTPS Redirect

boolean
default:"false"
Redirect plain HTTP requests to HTTPS.When Enabled:
  • The web and OAuth HTTPRoutes attach only to the listener named in gateway.httpsRedirect.httpsListener
  • An extra HTTPRoute on the listener named in gateway.httpsRedirect.httpListener answers every request for the platform hostnames with a 301 redirect to https
  • Both listeners must exist on the Gateway. When the chart creates the Gateway, the install fails with a clear error if either name is missing from gateway.listeners
When Disabled: The HTTPRoutes attach to every listener on the Gateway, so the platform is also served over plain HTTP when the Gateway has an HTTP listener.Example:
string
default:"http"
Name of the listener that receives plain HTTP and returns the redirect.
string
default:"https"
Name of the listener the web and OAuth HTTPRoutes attach to.

Health Checks

On GKE, the chart also creates HealthCheckPolicy resources (networking.gke.io/v1) that point the load balancer at /health on the web and OAuth services. They are rendered when the cluster serves that API or when gateway.gatewayClassName starts with gke-. Other implementations, including approuting-istio and Application Gateway for Containers, health-check the pods through their readiness probe, so no extra resource is needed.
When you render the chart with helm template for a GKE cluster and reference an external Gateway without gateway.gatewayClassName, pass --api-versions networking.gke.io/v1/HealthCheckPolicy so the HealthCheckPolicy resources are included.

Complete Examples

Basic HTTP Gateway (Development)

Production HTTPS Gateway with Managed Certificate

Shared Gateway Across Multiple Applications

Install infrastructure Gateway once:
Reference from CrewAI Platform:

OAuth with Dedicated Hostname

When using a dedicated hostname for OAuth (recommended for non-NGINX ingress controllers):
When using a dedicated OAuth hostname, ensure:
  1. The hostname is included in your TLS certificate or certificate map
  2. DNS points to the same Gateway IP address
  3. OAuth provider callback URLs are configured with the dedicated hostname

Troubleshooting

Gateway Not Found

Error: HTTPRoute shows Gateway not found in status Solution: Verify Gateway exists and is in the correct namespace:
If using create: false, ensure the referenced Gateway exists:

No GatewayClass Available

Error: no matches for kind "Gateway" or GatewayClass not found Solution: Enable Gateway API on your cluster: GKE:
AKS:
For Application Gateway for Containers, see the Azure guide. Other Kubernetes clusters:

HTTPRoute Not Attached to Gateway

Error: HTTPRoute shows Accepted: False in status Possible causes:
  1. Gateway namespace mismatch
  2. Listener protocol mismatch
  3. Hostname conflicts
Debug:
Check the Status.Parents section for detailed error messages.
Web HTTPRoute: See Web Configuration - Gateway API for web service routing configuration. OAuth HTTPRoute: See OAuth Configuration - Gateway API for OAuth service routing configuration. Azure Gateway API Guide: See Azure Integration Guide - Gateway API for the App Routing and Application Gateway for Containers setup on AKS. GCP Gateway API Guide: See GCP Integration Guide - External Access for GCP-specific Gateway API setup including managed certificates and load balancer configuration.