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/v1alpha1kind: Meshmetadata:name: defaultspec:routing:localityAwareLoadBalancing: true
We will apply the configuration with kubectl apply -f [..].
type: Meshname: defaultrouting:localityAwareLoadBalancing: true
We will apply the configuration with kumactl apply -f [..] or via the HTTP API.
