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

kapp-controller leader election should provide safety during update operations #838

Open
jdef opened this issue Aug 22, 2022 · 10 comments · May be fixed by #1285
Open

kapp-controller leader election should provide safety during update operations #838

jdef opened this issue Aug 22, 2022 · 10 comments · May be fixed by #1285
Assignees
Labels
carvel-accepted This issue should be considered for future work and that the triage process has been completed enhancement This issue is a feature request good first issue An issue that will be a good candidate for a new contributor priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@jdef
Copy link

jdef commented Aug 22, 2022

Describe the problem/challenge you have

  • no way to configure leader election for kapp-controller

Describe the solution you'd like

  • we'd like a better guarantee for limiting the number of active kapp-controller reconcilers to 1 during rolling upgrades of our cluster

Anything else you would like to add:
[Additional information that will assist in solving the issue.]


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@jdef jdef added carvel-triage This issue has not yet been reviewed for validity enhancement This issue is a feature request labels Aug 22, 2022
@joe-kimmel-vmw
Copy link
Contributor

@jdef Thanks for filing this issue. Can you share more about how you're using kapp-controller? Right now there's not really a way to run multiple kapp-controllers at once

@joe-kimmel-vmw joe-kimmel-vmw added dk-think-more and removed carvel-triage This issue has not yet been reviewed for validity labels Aug 22, 2022
@jdef
Copy link
Author

jdef commented Aug 22, 2022 via email

@jdef
Copy link
Author

jdef commented Sep 3, 2022 via email

@joe-kimmel-vmw
Copy link
Contributor

hi @jdef - I just realized the maintainers had a sort of unfinished exchange that we hadn't percolated back out to you, sorry about that!

It seems like we'd be open to adding a leader/follower lease setup, similar to the k8s core controllers- would that satisfy your concerns? I think this is something we'd be happy to do eventually and/or accept contributions for.

@joe-kimmel-vmw joe-kimmel-vmw added good first issue An issue that will be a good candidate for a new contributor carvel-accepted This issue should be considered for future work and that the triage process has been completed priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed dk-think-more labels Sep 3, 2022
@jdef
Copy link
Author

jdef commented Sep 4, 2022 via email

@vicmarbev
Copy link

Hi @joe-kimmel-vmw, you mean using something like the leaderelection library from client-go, right? If that's the case, I'd be willing to work on this.

@jdef
Copy link
Author

jdef commented Oct 5, 2022 via email

@basit9958
Copy link

I will look into this assign me this issue!

@basit9958
Copy link

/assign

@praveenrewar
Copy link
Member

@basit9958 Thank you for showing interest in working on the issue ❤️
I have assigned the issue to you. I would also recommend going through the previously closed PR and and the comments there.

@basit9958 basit9958 linked a pull request Aug 6, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carvel-accepted This issue should be considered for future work and that the triage process has been completed enhancement This issue is a feature request good first issue An issue that will be a good candidate for a new contributor priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
Status: Prioritized Backlog
5 participants