Careful!

You are browsing documentation for a version of Kuma that is not the latest release.

Looking for even older versions? Learn more.

Locality Aware Load Balancing

A multi-zone deployment can enable locality aware load balancing in a particular Mesh to ensure optimal service backend routing. This feature relies on the kuma.io/zone service tag to select the destination service endpoint.

Enabling the Locality Aware Load Balancing

A particular Mesh that spans several regions, zones or subzones, may choose to enable locality aware load balancing as follows:

apiVersion: kuma.io/v1alpha1
kind: Mesh
metadata:
  name: default
spec:
  routing:
    localityAwareLoadBalancing: true

We will apply the configuration with kubectl apply -f [..].

Last Updated: 10/26/2022, 10:13:28 AM