add defaultTrafficPolicy to MeshConfig#3720
Conversation
… policy Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>
|
I am afraid this will break existing default traffic policy settings, previoulsy if the dr.trafficpolicy not set, we have many different ways to get some timeouts(i donot have a thorough look) |
thanks @hzxuzhonghu, few points:
the actual merge, precedence, and backward-compat tests will land in the please let me know if it helps or if there a specific default path you're most worried about ( |
|
Thank for the thorough analysis.
The tier is super long, it would be tricky to debug for end user. The |
|
thanks @hzxuzhonghu both come down to merge granularity, and we reuse the existing scope is just on the long ladder: the resolved per-cluster policy is already visible via does that work, or were you expecting field-level merge inside the blocks? |
adds a mesh-wide baseline traffic policy that DestinationRules inherit and override per-field. today a DestinationRule traffic policy replaces the policy wholesale, so any field it leaves unset falls back to istio's hardcoded defaults (max-uint32 connection limits, no outlier detection) rather than an operator baseline. the field reuses the full networking.v1alpha3.TrafficPolicy type; the planned istio implementation will initially honor only connectionPool and outlierDetection, with the remaining sub-policies warned on and support added later without an API change. mirrors the existing defaultHttpRetryPolicy pattern.