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

Add default controller leader election setting values #242

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

lennysgarage
Copy link
Member

Following recommended default settings of leaseDuration=137s, renewDeadline=107s, and retryPeriod=26s from https://github.com/openshift/library-go/blob/4b9033d00d37b88393f837a88ff541a56fd13621/pkg/config/leaderelection/leaderelection.go#L84

https://github.com/stolostron/backlog/issues/25245
Signed-off-by: Jonathan Marcantonio jmarcant@redhat.com

@openshift-ci openshift-ci bot requested review from rokej and xiangjingli August 23, 2022 15:57
@lennysgarage
Copy link
Member Author

/hold

@lennysgarage
Copy link
Member Author

/unhold

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add controller leader election settings configurability

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add leader-election-lease-duration

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add leader-election-lease-duration

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lennysgarage, xiangjingli

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [lennysgarage,xiangjingli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit c389b56 into main Aug 23, 2022
@openshift-merge-robot openshift-merge-robot deleted the leader-election branch August 23, 2022 21:59
TomerFi pushed a commit to TomerFi/multicloud-operators-subscription that referenced this pull request Nov 22, 2022
…anagement-io#242)

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add controller leader election settings configurability

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add leader-election-lease-duration

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Add leader-election-lease-duration

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>

Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>
(cherry picked from commit c389b56)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants