Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(controller): leader election preventing two controllers running a…
…nd gracefully shutting down (argoproj#2291) * WIP on fixing leader election fix Signed-off-by: zachaller <[email protected]> * Start and stop informers as well Signed-off-by: zachaller <[email protected]> * lint Signed-off-by: zachaller <[email protected]> * Remove tests that do not test anything Signed-off-by: zachaller <[email protected]> * fix lint Signed-off-by: zachaller <[email protected]> * github trigger re-run Signed-off-by: zachaller <[email protected]> * Cleanup Signed-off-by: zachaller <[email protected]> * cleanup Signed-off-by: zachaller <[email protected]> * Add back one test Signed-off-by: zachaller <[email protected]> * remove secondary metric server Signed-off-by: zachaller <[email protected]> * Remove secondary metric test Signed-off-by: zachaller <[email protected]> * Add single instance test to catch log lines Signed-off-by: zachaller <[email protected]> * We should shutdown if we can not sync Signed-off-by: zachaller <[email protected]> * fix lint Signed-off-by: zachaller <[email protected]> * Redo for loop will have another pr that stops via context Signed-off-by: zachaller <[email protected]> * Fix comment Signed-off-by: zachaller <[email protected]> * Add context and graceful shutdown Signed-off-by: zachaller <[email protected]> * lint Signed-off-by: zachaller <[email protected]> * Fix test Signed-off-by: zachaller <[email protected]> * github trigger re-run Signed-off-by: zachaller <[email protected]> * add more time for startup Signed-off-by: zachaller <[email protected]> * add individual controller startup tests Signed-off-by: zachaller <[email protected]> * standardize shutdown Signed-off-by: zachaller <[email protected]> * Standardize leader test Signed-off-by: zachaller <[email protected]> * fix test Signed-off-by: zachaller <[email protected]> * We can not turn on release on cancel Signed-off-by: zachaller <[email protected]> * fix release on cancel Signed-off-by: zachaller <[email protected]> Signed-off-by: zachaller <[email protected]>
- Loading branch information