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

HA mode #454

Merged
merged 4 commits into from
Mar 5, 2024
Merged

HA mode #454

merged 4 commits into from
Mar 5, 2024

Conversation

miklezzzz
Copy link
Contributor

@miklezzzz miklezzzz commented Feb 28, 2024

Overview

Provides support for High-Availability mode to addon-operator by means of leases and leader elections. All necessary changes are represented in examples/002-startup-global-high-availability/ directory.

What this PR does / why we need it

This pr enables addon-operator to be run in a High-Availability mode when one pod is designated as a leader and does all the heavy lifting while additional pods wait for the leader to fail and then to take over its duties.
Also, some minor changes like providing an example for HA configuration and other fixes around the repository.

Special notes for your reviewer

@miklezzzz miklezzzz added the enhancement New feature or request label Mar 1, 2024
@miklezzzz miklezzzz force-pushed the addon-operator-api-server branch from b618c0e to fd5beac Compare March 4, 2024 09:02
Signed-off-by: Mikhail Scherba <[email protected]>
@miklezzzz miklezzzz force-pushed the addon-operator-api-server branch 2 times, most recently from 4cd0164 to 2594607 Compare March 4, 2024 10:57
Signed-off-by: Mikhail Scherba <[email protected]>
@miklezzzz miklezzzz force-pushed the addon-operator-api-server branch from 2594607 to f2260e7 Compare March 4, 2024 11:18
Signed-off-by: Mikhail Scherba <[email protected]>
Signed-off-by: Mikhail Scherba <[email protected]>
@miklezzzz miklezzzz self-assigned this Mar 5, 2024
@miklezzzz miklezzzz requested a review from yalosev March 5, 2024 08:55
@miklezzzz miklezzzz marked this pull request as ready for review March 5, 2024 08:59
@yalosev yalosev merged commit 4bd99b7 into main Mar 5, 2024
8 checks passed
@yalosev yalosev deleted the addon-operator-api-server branch March 5, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants