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

Grace period and leader election configuration #276

Open
ryanzhang-oss opened this issue Sep 9, 2022 · 0 comments
Open

Grace period and leader election configuration #276

ryanzhang-oss opened this issue Sep 9, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ryanzhang-oss
Copy link
Contributor

ryanzhang-oss commented Sep 9, 2022

Describe the bug

We need to configure the leader election lease duration/renew time along with the graceful terminating period time (https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination) so that we get an optimal configuration for the production.

Environment

Please provide the following:

  • Hub cluster details
  • Member cluster details

To Reproduce

Expected behavior

  1. no two controllers handle the events at the same time.
  2. the leader duration is set long enough that a pod is terminated before.
  3. the leader duration is set to short enough that there is no long waiting between leader exchange.
  4. the leader duration is set to long enough that we don't lose the lease because of network or other glitches.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

@ryanzhang-oss ryanzhang-oss added enhancement New feature or request help wanted Extra attention is needed labels Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant