Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add leader-election to the backup-restore sidecar according to the multi-node ETCD proposal. #321

Closed
Tracked by #107
amshuman-kr opened this issue Apr 12, 2021 · 1 comment · Fixed by #353 or #403
Assignees
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age) release/beta Planned for Beta release of the Feature
Milestone

Comments

@amshuman-kr
Copy link
Collaborator

amshuman-kr commented Apr 12, 2021

Feature (What you would like to be added):

Add leader-election to the backup-restore sidecar according to the multi-node ETCD proposal. Bring the snapshotters (both full and incremental) and the defragmentation control loops/go routines under the control of the leader-election as described here.

Also, introduce the logic to regularly cleanup superfluous ETCD members which do not have a corresponding Pod in the StatefulSet as mentioned in gardener/etcd-druid#189.

Motivation (Why is this needed?):

Pick individually executable pieces of the multi-node proposal.

Approach/Hint to the implement solution (optional):

The preferred leader-election mechanism (because of the implementation and operational simplicity) is based on the leading etcd member. This can be done using the same heart-beat on the corresponding ETCD member's endpoint status as mentioned in #333

@ishan16696
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age) release/beta Planned for Beta release of the Feature
Projects
None yet
4 participants