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