- Notifications
You must be signed in to change notification settings - Fork3.4k
add support Lease-based leader election (rather than ConfigMaps) #1877#2314
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
…rnetes-client#1877Signed-off-by: Lane Richard <rick.lane@nokia.com>
[APPROVALNOTIFIER] This PR isNOT APPROVED This pull-request has been approved by:rvlane The full list of commands accepted by this bot can be foundhere. Needs approval from an approver in each of these files: Approvers can indicate their approval by writing |
linux-foundation-easyclabot commentedDec 17, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
Welcome@rvlane! |
@Invictus17 - can you please review this also? Thankis |
I'm not able to assign myself as reviewer@rvlane. |
JacobHenner commentedJan 6, 2025
@rvlane do you intend to complete the CLA/can you confirm your contribution is licensed under the Apache License 2.0? I'm interested in adapting it for inclusion inkubernetes_asyncio, but I need to first ensure that its inclusion is legitimate. Thanks! |
@JacobHenner I have been added to my company CLA and have approved the CLA just now. |
/assign@Invictus17@roycaihw |
@roycaihw: GitHub didn't allow me to request PR reviews from the following users: Invictus17. Note that onlykubernetes-client members and repo collaborators can review this PR, and authors cannot review their own PRs. In response tothis:
Instructions for interacting with me using PR comments are availablehere. If you have questions or suggestions related to my behavior, please file an issue against thekubernetes-sigs/prow repository. |
k8s-triage-robot commentedApr 15, 2025
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience atkubernetes/community. /lifecycle stale |
JacobHenner commentedApr 16, 2025
/remove-lifecycle stale |
MadJlzz commentedJun 16, 2025
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.
LGTM overall. Could you add a test?
@@ -14,7 +14,7 @@ | |||
class LeaderElectionRecord: | |||
#Annotation usedin the lock object | |||
#Lease configuration fromin the lock object. |
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.
s/from in the/from the
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.
will do, thanks
Uh oh!
There was an error while loading.Please reload this page.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Enhance leaderelection module to support V1Lease based lease lock.
Which issue(s) this PR fixes:
Fixes#1877
Special notes for your reviewer:
Have coded this such that the LeaderElectionRecord is unchanged to ensure backward compatibility with anyone using the existing structures.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: