Choose your multi-cluster load balancing API for GKE

This page helps you choose the most suitable API for deploying load balancers to distribute traffic across a fleet of Google Kubernetes Engine (GKE) clusters.

You can attach a load balancer to your fleet of GKE clusters in the following ways:

  1. Use the Multi Cluster Ingress APIs such as the Multi Cluster Ingress and MultiClusterService resources.

  2. Use the Gateway APIs (GatewayClass, Gateway, HTTPRoute, Policy, ServiceExport, and ServiceImport resources).

  3. Set up the Application Load Balancer using Google Cloud console, gcloud CLI, API, Terraform, Config Connector and attach Standalone NEGs to the user-managed backend services.

The following sections compare the different ways in which you can attach a load balancer to your fleet of GKE clusters. Any features listed on the Load balancer feature comparison page that aren't listed in these tables should work with a user-managed load balancer with Standalone NEGs, instead of relying on the Kubernetes-native API for load balancing.

Platform and architecture

This section compares GKE platform requirements, controller architecture, and Multi-cluster Services (MCS) support across the multi-cluster load balancing APIs.

GKE platform support

The following table compares GKE platform support across multi-cluster load balancing APIs:

GKE platform support by load balancing API
Property Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Product launch stage GA GA GA
Cluster mode Standard / Autopilot Standard / Autopilot Standard / Autopilot
GKE version 1.18 and later GKE 1.24 and later for Standard and 1.26 and later for Autopilot 1.18 and later

Architecture and components

The following table compares the architecture and components of multi-cluster load balancing APIs:

Architecture and components by load balancing API
Property Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Google-managed Kubernetes controller
Controller GKE Multi Cluster Ingress controller GKE Gateway controller Not applicable
Controller location

Off-cluster

(Google Cloud infrastructure)

Off-cluster

(Google Cloud infrastructure)

Not applicable
API Kubernetes-native API Kubernetes-native API Google Cloud API (gcloud CLI)
API resources MultiClusterIngress, MultiClusterService GatewayClass, Gateway, HTTPRoute, *Policy Not applicable
API launch stage GA (v1) GA (v1) Not applicable
API enablement on GKE Cluster setting on Autopilot / Standard

Default on Autopilot

Cluster setting on Standard

Not applicable

Multi-cluster Services support

The following table compares Multi-cluster Services (MCS) support across multi-cluster load balancing APIs:

Multi-cluster Services support by load balancing API
Property Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Multi-cluster Services (MCS) required
MCS API version networking.gke.io/v1 net.gke.io/v1 Not applicable
Resource type MultiClusterService ServiceExport Not applicable
License Proprietary Open source Not applicable

Resource lifecycle and Shared VPC

This section compares automated Cloud Networking resource lifecycle management and Shared VPC deployment topologies across the load balancing APIs.

Cloud Networking resources lifecycle management

The following table compares automated Cloud Networking resource lifecycle management (excluding Shared VPC). Automated Cloud Load Balancer management covers forwarding rules, target proxies, URL maps, backend services, and health checks:

Automated Cloud Networking resource lifecycle management by load balancing API
Feature Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Automated frontend IP address management
Automated Cloud Load Balancer management
Automated Network Endpoint Groups (NEGs) management

(Zonal NEGs only)

(Zonal NEGs only)

(Zonal NEGs only, annotation required on the Kubernetes Service)

Cloud NGFW management

(VPC firewall rules only, Managed rules)

(VPC firewall rules only, Managed rules)

Shared VPC support

The following table compares Shared VPC support across multi-cluster load balancing APIs:

Shared VPC support by load balancing API
Configuration Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Clusters and fleet (Hub) in the host project
Clusters and fleet (Hub) in the same service project

(with firewall rules permissions in host project)

(with firewall rules permissions in host project)

Clusters and fleet (Hub) in different projects

(with cross-project Service referencing)

Supported load balancers

This section compares which Application Load Balancers, proxy Network Load Balancers, and passthrough Network Load Balancers each multi-cluster load balancing API supports.

Application Load Balancers

The following table compares Application Load Balancer support across multi-cluster load balancing APIs:

Application Load Balancer support by load balancing API
Load balancer type Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Classic
Global external
Regional external
Regional internal
Cross-region internal

Proxy Network Load Balancers

The following table compares proxy Network Load Balancer support across multi-cluster load balancing APIs:

Proxy Network Load Balancer support by load balancing API
Load balancer type Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Classic
Global external
Regional external
Internal (always regional)

Passthrough Network Load Balancers

The following table compares passthrough Network Load Balancer support across multi-cluster load balancing APIs:

Passthrough Network Load Balancer support by load balancing API
Load balancer type Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
External (always regional)
Internal (always regional)

Protocols, backends, and IP addressing

This section compares supported client and backend protocols, load balancer backend types, and IP addressing features across the load balancing APIs.

Client-to-load-balancer protocols

The following table compares supported client-to-load-balancer protocols across multi-cluster load balancing APIs:

Client-to-load-balancer protocols by load balancing API
Protocol Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
HTTP, HTTPS, HTTP/2
WebSocket
HTTP/3 (based on IETF QUIC)
SSL (TLS) or TCP

Load balancer backends

The following table compares supported load balancer backends across multi-cluster load balancing APIs. Other backends include Cloud Storage, public external endpoints (Internet NEGs), private external endpoints (Hybrid NEGs), Private Service Connect (PSC NEGs), and Cloud Run (Serverless NEGs):

Load balancer backends by load balancing API
Backend Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Pods (Zonal NEGs)
Virtual machines (including GKE nodes)

(Not recommended)

Other backends

Load balancer-to-backend protocols

The following table compares supported load balancer-to-backend protocols across multi-cluster load balancing APIs:

Load balancer-to-backend protocols by load balancing API
Protocol Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
HTTP, HTTPS, HTTP/2 (one of)
WebSocket
SSL (TLS) or TCP (one of)

IP addressing

The following table compares IP addressing capabilities across multi-cluster load balancing APIs:

IP addressing capabilities by load balancing API
Feature Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Dynamic IP address assignment
Static IP address assignment
Same IP address for multiple ports (HTTP, HTTPS)
IPv6

(Load balancer-to-backend traffic remains IPv4)

(Load balancer-to-backend traffic remains IPv4)

(Load balancer-to-backend traffic remains IPv4)

Routing and traffic management

The following table compares routing and traffic management features across multi-cluster load balancing APIs:

Routing and traffic management features by load balancing API
Feature Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Global access
Cross-project load balancing
Host/path routing

(Prefix, exact match)

(Prefix, exact match, regular expression)

Header-based routing

(Exact match, regular expression)

Path redirects
URL rewrites

(Prefix match, regular expression)

Traffic splitting
Traffic mirroring
Traffic cut over
Traffic-based autoscaling
Custom request headers
Custom response headers
Cross-namespace routing

Security and backend service properties

This section compares frontend TLS and certificate options alongside backend service configuration features across the load balancing APIs.

Frontend security

The following table compares frontend security features across multi-cluster load balancing APIs:

Frontend security features by load balancing API
Feature Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
SSL policy
HTTP-to-HTTPS redirect
Multiple TLS certificates support
Kubernetes Secrets-based certificates
Self-managed SSL certificates
Google-managed SSL certificates
Certificate Manager support

Backend service properties

The following table compares backend service properties across multi-cluster load balancing APIs:

Backend service properties by load balancing API
Property Multi Cluster Ingress Multi-cluster Gateway User-managed load balancer with Standalone NEGs
Connection draining timeout
Session affinity
HTTP access logging configuration
Backend service timeout
Custom load balancer health check configuration

(BackendConfig)

(HealthCheckPolicy)

(gcloud CLI / Google Cloud console / Terraform)

TLS to backend services
Custom default backend
Cloud CDN

Not all features: signed cookies, dynamic compression, and private origin authentication are not supported

Not all features: signed URLs and dynamic compression are not supported

All features

Identity-Aware Proxy (IAP)
Google Cloud Armor security policy

What's next