Skip to content

upstream: add support for setting degraded through LoadAssignment#5649

Merged
htuch merged 10 commits intoenvoyproxy:masterfrom
snowp:degraded-eds
Feb 8, 2019
Merged

upstream: add support for setting degraded through LoadAssignment#5649
htuch merged 10 commits intoenvoyproxy:masterfrom
snowp:degraded-eds

Conversation

@snowp
Copy link
Copy Markdown
Contributor

@snowp snowp commented Jan 18, 2019

Adds a DEGRADED HealthStatus value that can be set on a host through
LoadAssignment, allowing for a host to be marked degraded without
the need for active health checking.

Moves the mapping of EDS flag to health flag to inside
registerHostForPriority, which means that we're now consistently setting
the EDS health flag for EDS/STATIC/STRICT_DNS/LOGICAL_DNS.

Simplifies the check for whether the health flag value of a host has
changed during EDS updates.

Adds tests for the EDS mapping as well as tests to verify that we're
honoring the EDS flag for non-EDS cluster types.

Signed-off-by: Snow Pettersen [email protected]

Description:
Risk Level: High, substantial refactoring of how we determine whether health flag has changed.
Testing: UTs coverage for new health flag values.
Docs Changes: n/a
Release Notes: n/a
Fixes #5637
#5063

Loading
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.

4 participants