fix(chart): probe a new ext_proc host at the health-check interval #4187
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 330 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.347
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4187"
general
weight: 0.35
ahg-g
What type of PR is this?
/kind bug
What this PR does / why we need it:
Envoy probes a cluster that has not carried traffic every
no_traffic_interval, which defaults to 60s. Theext_proccluster cannot carry traffic until its host is healthy, so on every EPP pod start (pod deletion, rollout) the first probe fails before the ext-proc gRPC server is listening and the next probes are 60s apart. Withhealthy_threshold: 2the EPP stays out of rotation for about 120s after it is Ready, and with the default fail-open settings every request in that window goes straight to the model servers without EPP scheduling or metrics.This renders
no_traffic_intervalin theext_prochealth check, defaulting torouter.proxy.healthCheckInterval, and addsrouter.proxy.healthCheckNoTrafficIntervalto override it. The health check block is shared, so the default single-EPP branch and the priority routing branch both get it.Measured with the chart's rendered Envoy config on Envoy v1.40.2 (the chart default) and a TLS gRPC health server for
envoy.service.ext_proc.v3.ExternalProcessorthat starts listening 3s after Envoy, pollingcluster.ext_proc.membership_healthyon the admin endpoint:| rendered config | ext_proc healthy after | probes (attempt / network failure / success) |
|---|---|---|
| main | 120.1s | 3 / 1 / 2 |
| this PR | 20.6s | 3 / 1 / 2 |
initial_jitterfrom the issue's suggestion is left out: Envoy picks a random delay in[0, initial_jitter], so it does not guarantee that the first probe lands after the EPP is listening, and with the 10s no-traffic interval the remaining cost is one interval plushealthy_threshold.Which issue(s) this PR fixes:
Fixes #4166
Test plan:
no_traffic_intervalfollowshealthCheckInterval(default 10s and the 1s override), honors an explicithealthCheckNoTrafficInterval, and is set when no values file is given; they fail on main and pass with this change (go test ./test/e2e/utils/standalone/)make verify-helm-chartsenvoy --mode validateon the rendered config, and the startup timing abovemode: service,priorityRouting.enabled: true) carries the sameno_traffic_intervalRelease note _(write
NONEif no user-facing change)_:``
release-note
``The llm-d-router-standalone chart sets the Envoy ext_proc health check no_traffic_interval to router.proxy.healthCheckInterval (configurable with router.proxy.healthCheckNoTrafficInterval), so a restarted EPP pod is routed to within about two health-check intervals instead of about two minutes.