Add ZoneAwareLB settings for MeshConfig and DestinationRule#3733
Add ZoneAwareLB settings for MeshConfig and DestinationRule#3733sschepens wants to merge 3 commits into
Conversation
|
😊 Welcome @sschepens! This is either your first contribution to the Istio api repo, or it's been You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines Thanks for contributing! Courtesy of your friendly welcome wagon. |
|
@sschepens: The following test failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@ramaraochavali @keithmattix @howardjohn could you take a look at this please? |
This is needed to implement Zone Aware Routing support in Istio.
I'm adding a
zone_aware_lb_settinginDestinationRuleto allow configuring enabling Zone Aware LB,it's mutually exclusive withlocality_lb_settingand it's settings are very similar, with the following differences:distributeis not actually needed here because Envoy distributes traffic automaticallyfailoverPrioritycannot specifyregion,zoneorsubZonetopology labels because we always partition byregionandzoneandsubZonedon't make sense with Zone Aware because envoy automatically shifts traffic between zones.I'm also adding a mesh-wide
zone_aware_lb_settingto enable zone aware routing globally. For practical reasons, there is no way to simply reject this setting being enabled together withlocality_lb_settingbecauselocality_lb_settingis actually enabled by default and validation occurs with the defaults merged.Issue: istio/istio#35102 (comment)
RFC: https://docs.google.com/document/d/1nPVSTIy_s0s9cRBS7DNwHZkDXhHO1qW4x9F9W7y_gyo/edit?tab=t.0#heading=h.xw1gqgyqs5b