-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 support Lease-based leader election (rather than ConfigMaps) #1877
Comments
/help |
@roycaihw: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi, I am beginner to Kuberenetes repo. Do you think this is a good issue to pick? |
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 at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
+1 for this - Would be great to have this |
Adding my +1 to prevent this from becoming stale. |
Came across this researching providing HA on an operator based solution and wanted to have this Lease-base lock implemented. Got a fork setup through my company and plan to contribute this back to the project. Just need to know the process for contributing this back. Thanks |
@rvlane you can send a PR similar to https://github.com/kubernetes-client/python/pull/1747/commits. Hope that helps. I can review it. cc: @roycaihw |
@Invictus17 Thanks. Starting work on this now. |
@Invictus17 Implementation question: cc: @roycaihw |
…rnetes-client#1877 Signed-off-by: Lane Richard <[email protected]>
@Invictus17 Pull request created: #2314 |
What is the feature and why do you need it:
Currently, the K8S Python API only supports leader election using
ConfigMapLock
.The K8S Go API supports using the proper
Lease
resource type with itsLeaseLock
, and actually recently removed support for the legacy ConfigMap approach.We should update the Kubernetes Python API to provide a
Lease
-based leader election./cc @Invictus17 @tdihp
The text was updated successfully, but these errors were encountered: