← Back to Pull requests

fix(chart): probe a new ext_proc host at the health-check interval #4187

Closed
unknown closed this pull request without merging on Nov 11, 2026 19:16 UTC
View on GitHub
unknown unknown commented on Nov 11, 2026 14:59 UTC
Author

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. The ext_proc cluster 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. With healthy_threshold: 2 the 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_interval in the ext_proc health check, defaulting to router.proxy.healthCheckInterval, and adds router.proxy.healthCheckNoTrafficInterval to 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.ExternalProcessor that starts listening 3s after Envoy, polling cluster.ext_proc.membership_healthy on 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_jitter from 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 plus healthy_threshold.

Which issue(s) this PR fixes:
Fixes #4166

Test plan:

  • chart render tests assert no_traffic_interval follows healthCheckInterval (default 10s and the 1s override), honors an explicit healthCheckNoTrafficInterval, 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-charts

  • envoy --mode validate on the rendered config, and the startup timing above

  • priority routing render (mode: service, priorityRouting.enabled: true) carries the same no_traffic_interval
  • Release note _(write NONE if 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.
    ``

    Diff: 330 lines (+247 / -83) across 4 files Reviewer: ahg-g Review duration: 257m
    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
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.1% (MEDIUM) · Higher = larger blast radius
    42.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.6% · Safe to merge
    16.6%