Skip to content

Optionally allow Ready Status to be affiliated with Leader Election #1264

@kfswain

Description

@kfswain

To support an active-passive deployment in environments that cant use Envoy's OOTB failover solution. A short-term hack is proposed:

  • With multiple EPP replicas, use leader election to determine a leader, set the leaders Ready condition to True
  • The other replicas remain NotReady indefinitely
  • Should the leader go unhealthy, a newly elected Leader is marked as healthy

This issue would cover both the investigation and implementation of this behavior (which should be enabled via flag or, more preferrably, environment variable as this is hopefully a temporary fix)

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions