For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Load balancing
Configure load balancing in ambient mesh, from ztunnel’s automatic L4 load balancing to advanced L7 policies via waypoint proxies.
By default, ztunnel distributes traffic across healthy endpoints in an ambient mesh by using weighted random selection. You can configure more advanced behavior through Kubernetes service settings, Istio annotations, and DestinationRules.
Load balancing works together with outlier detection and failover to keep traffic flowing to healthy endpoints.
- Load balancing: How traffic is distributed across healthy endpoints, such as through traffic distribution modes.
- Outlier detection: How unhealthy endpoints are identified, such as through error thresholds and ejection time.
- Failover: What happens when endpoints become unhealthy, such as routing to a different locality or following a priority order.
For detailed configuration options and component-specific behavior (ztunnel, waypoint, ingress gateway), see the Load balancing and failover section in Resiliency.