Skip to content

feat(proxy): retire client-side active HC for outlier detection (004 Phase 4) - #161

Merged
bpalermo merged 1 commit into
mainfrom
feat/demand-scoped-phase4
Jun 12, 2026
Merged

bpalermo merged 1 commit into
mainfrom
feat/demand-scoped-phase4

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Phase 4 of proposal 004 (stacked on #160).

  • NewServiceCluster: remove MeshReadyPath active HC + IgnoreNewHostsUntilFirstHc; add outlier detection (split local-origin, 3 consecutive connect failures / 5 consecutive 5xx, 30s base ejection, max_ejection_percent: 50, 10s interval).
  • EDS health (delegated liveness) is the routability source; panic-0 + ejection cap interaction covered in the egress test and re-validated in e2e (roll + drain re-runs per the proposal).
  • Destination-side probe path (health gateway, health_<pod> clusters) untouched.

E2e at the end of the stack re-runs the #143/#152 drain validations since the health composition changes.

🤖 Generated with Claude Code

@bpalermo
bpalermo force-pushed the feat/demand-scoped-phase3 branch from 07cbc9a to a7a7dee Compare June 12, 2026 13:12
Base automatically changed from feat/demand-scoped-phase3 to main June 12, 2026 13:22
…Phase 4)

Service clusters no longer carry the per-client MeshReadyPath health
check or IgnoreNewHostsUntilFirstHc: routability is EDS health
(delegated liveness — endpoints register UNHEALTHY, the destination
gateway vets them, promotion propagates in ~1s), and fast local
failure detection is outlier detection, which is O(actual traffic)
instead of O(clients x endpoints). Consecutive local-origin failures
(3) catch the dead-pod-EDS-lag case; consecutive 5xx (5) catch a
sick app; max_ejection_percent 50 keeps a local ejection wave from
emptying a cluster EDS still believes healthy (panic threshold
remains 0). Two-phase drain semantics (#152) are unchanged:
DRAINING/UNHEALTHY still arrive via EDS and pool close still rides
close_connections_on_host_health_failure.

This retires the ~200M probes/sec mesh-wide HC term at the 3k-svc /
10k-node design point.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@bpalermo
bpalermo force-pushed the feat/demand-scoped-phase4 branch from 4fb1a1d to 58369e9 Compare June 12, 2026 13:22
@bpalermo
bpalermo merged commit 556f437 into main Jun 12, 2026
9 checks passed
@bpalermo
bpalermo deleted the feat/demand-scoped-phase4 branch June 12, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant