-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ws-manager-mk2] Configure leader election #16042
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
Conversation
/werft run with-preview 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.1 |
/werft run with-preview -with-wsman-mk2 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.2 |
/werft run with-preview with-wsman-mk2 with-large-vm 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.3 |
started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.4 because the annotations in the pull request description changed |
4fc829b
to
7eec01f
Compare
/werft run 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.6 |
/werft run 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.7 |
7eec01f
to
f50e90e
Compare
/werft run recreate-vm 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.9 |
/werft run with-integration-tests=workspace with-large-vm=true 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.10 |
Ran following tests:
Nice! Works as designed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
/werft run 👍 started the job as gitpod-build-wv-ws-manager-mk2-leader-elect.11 |
Description
Configure leader election on the ws-manager-mk2 controller manager. Requires additional role policy rules to manage leases, these rules are taken from the generated
leader_election_role.yaml
by kubebuilderRelated Issue(s)
Relates to #11416
How to test
Open preview env, check logs of
ws-manager-mk2
to confirm a leader-election lease has been successfully acquiredRelease Notes
Documentation
Build Options:
Experimental feature to run the build with GitHub Actions (and not in Werft).
leeway-target=components:all-ci
Run Leeway with
--dont-test
Preview Environment Options:
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh