Multi-cluster Traffic Management
In some cases the default cross-cluster load balancing behavior is not desirable. To keep traffic “cluster-local” (i.e. traffic sent from will only reach destinations in cluster-a
), mark hostnames or wildcards as clusterLocal
using .
Partitioning Services
allows partitioning a service by selecting labels. These labels can be the labels from Kubernetes metadata, or from built-in labels. One of these built-in labels, , in the subset selector for a DestinationRule
allows creating per-cluster subsets.
This provides another option to create cluster-local traffic rules by restricting the destination subset in a VirtualService
: