Skip to content

add defaultTrafficPolicy to MeshConfig#3720

Open
PetrMc wants to merge 1 commit into
istio:masterfrom
PetrMc:petrmc/default-traffic-policy
Open

add defaultTrafficPolicy to MeshConfig#3720
PetrMc wants to merge 1 commit into
istio:masterfrom
PetrMc:petrmc/default-traffic-policy

Conversation

@PetrMc
Copy link
Copy Markdown
Member

@PetrMc PetrMc commented Jun 2, 2026

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.

… policy

Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>
@PetrMc PetrMc requested a review from a team as a code owner June 2, 2026 21:29
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 2, 2026
@hzxuzhonghu
Copy link
Copy Markdown
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants