René's URL Explorer Experiment


Title: Add LeaseLock for leader election by chala2001 · Pull Request #2690 · kubernetes-client/python · GitHub

Open Graph Title: Add LeaseLock for leader election by chala2001 · Pull Request #2690 · kubernetes-client/python

X Title: Add LeaseLock for leader election by chala2001 · Pull Request #2690 · kubernetes-client/python

Description: Official Python client library for kubernetes. Contribute to kubernetes-client/python development by creating an account on GitHub.

Open Graph Description: What type of PR is this? /kind feature What this PR does / why we need it: Leader election can currently only use a ConfigMap. client-go moved to the coordination.k8s.io Lease resource and removed ...

X Description: What type of PR is this? /kind feature What this PR does / why we need it: Leader election can currently only use a ConfigMap. client-go moved to the coordination.k8s.io Lease resource and removed ...

Opengraph URL: https://github.com/kubernetes-client/python/pull/2690

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f107a082-4ed2-5757-5605-bf8fcfbd438e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD14C:2D3EA8:DEDC33:12FE277:6AFE8F0E
html-safe-nonceb868da72f7b078e0dd8d40cedf01b3f3c1ff2b829c7a6e03450095113ca7764b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTRDOjJEM0VBODpERURDMzM6MTJGRTI3Nzo2QUZFOEYwRSIsInZpc2l0b3JfaWQiOiI4MDQxNDg0MjUxMzcyMjk1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac05ad9224aed80137781e6aad2383407080dd151e2570a5590547e4382a99c971
hovercard-subject-tagpull_request:4387302742
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/kubernetes-client/python/2690/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/47900e693ae4474ccf65a8627cf47c020d0e2ed7822ac6824c7404b54b98a85b/kubernetes-client/python/pull/2690
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47900e693ae4474ccf65a8627cf47c020d0e2ed7822ac6824c7404b54b98a85b/kubernetes-client/python/pull/2690
og:image:altWhat type of PR is this? /kind feature What this PR does / why we need it: Leader election can currently only use a ConfigMap. client-go moved to the coordination.k8s.io Lease resource and removed ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechala2001
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-cache
go-importgithub.com/kubernetes-client/python git https://github.com/kubernetes-client/python.git
octolytics-dimension-user_id26615988
octolytics-dimension-user_loginkubernetes-client
octolytics-dimension-repository_id72473727
octolytics-dimension-repository_nwokubernetes-client/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id72473727
octolytics-dimension-repository_network_root_nwokubernetes-client/python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/kubernetes-client/python/pull/2690#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fkubernetes-client%2Fpython%2Fpull%2F2690
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fkubernetes-client%2Fpython%2Fpull%2F2690
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=kubernetes-client%2Fpython
Reloadhttps://github.com/kubernetes-client/python/pull/2690
Reloadhttps://github.com/kubernetes-client/python/pull/2690
Reloadhttps://github.com/kubernetes-client/python/pull/2690
kubernetes-clienthttps://github.com/kubernetes-client
pythonhttps://github.com/kubernetes-client/python
Codehttps://github.com/kubernetes-client/python
Issues68 (68)https://github.com/kubernetes-client/python/issues
Pull requests26 (26)https://github.com/kubernetes-client/python/pulls
Actionshttps://github.com/kubernetes-client/python/actions
Projectshttps://github.com/kubernetes-client/python/projects
Wikihttps://github.com/kubernetes-client/python/wiki
Security and qualityhttps://github.com/kubernetes-client/python/security
Insightshttps://github.com/kubernetes-client/python/insights
https://github.com/kubernetes-client/python
kubernetes-prow[bot]https://github.com/kubernetes-prow[bot]
kubernetes-client:masterhttps://github.com/kubernetes-client/python/tree/master
chala2001:leaselock-leader-electionhttps://github.com/chala2001/python/tree/leaselock-leader-election
Conversationhttps://github.com/kubernetes-client/python/pull/2690
Commits1 (1)https://github.com/kubernetes-client/python/pull/2690/commits
Checkshttps://github.com/kubernetes-client/python/pull/2690/checks
Files changedhttps://github.com/kubernetes-client/python/pull/2690/files
Add LeaseLock for leader electionhttps://github.com/kubernetes-client/python/pull/2690#top
kubernetes-prow[bot]https://github.com/kubernetes-prow[bot]
kubernetes-client:masterhttps://github.com/kubernetes-client/python/tree/master
chala2001:leaselock-leader-electionhttps://github.com/chala2001/python/tree/leaselock-leader-election
https://github.com/chala2001
chala2001https://github.com/chala2001
Aug 28, 2026https://github.com/kubernetes-client/python/pull/2690#issue-5281345007
#1877https://github.com/kubernetes-client/python/issues/1877
@rvlanehttps://github.com/rvlane
#2314https://github.com/kubernetes-client/python/pull/2314
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
release-note https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Arelease-note
kind/feature https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Akind%2Ffeature
cncf-cla: yes https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3A%22cncf-cla%3A%20yes%22
size/L https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Asize%2FL
Aug 28, 2026https://github.com/kubernetes-client/python/pull/2690#event-30182692620
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
fabianvfhttps://github.com/fabianvf
yliaoghttps://github.com/yliaog
August 28, 2026 18:57https://github.com/kubernetes-client/python/pull/2690#event-30182718293
add support Lease-based leader election (rather than ConfigMaps) #1877 https://github.com/kubernetes-client/python/issues/1877
Add LeaseLock for leader election (upstream #1877) chala2001/python#1 https://github.com/chala2001/python/issues/1
https://github.com/Invictus17
Invictus17https://github.com/Invictus17
Aug 28, 2026 https://github.com/kubernetes-client/python/pull/2690#pullrequestreview-5054372403
View reviewed changes https://github.com/kubernetes-client/python/pull/2690/files
kubernetes/base/leaderelection/example.pyhttps://github.com/kubernetes-client/python/pull/2690/files#diff-4596fdaf4f90e0888bbd834292c8f27a9242472e05b6b2b972658ed892db3824
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/Invictus17
Invictus17https://github.com/Invictus17
Aug 28, 2026 https://github.com/kubernetes-client/python/pull/2690#pullrequestreview-5054376298
View reviewed changes https://github.com/kubernetes-client/python/pull/2690/files
https://github.com/chala2001
chala2001https://github.com/chala2001
force-pushedhttps://github.com/kubernetes-client/python/compare/ff94d3b0c7ec9b4bc7fedef99d2895810bc7e512..6073f7f1603701e2dee63c10b60ec66b503f11d6
ff94d3bhttps://github.com/kubernetes-client/python/commit/ff94d3b0c7ec9b4bc7fedef99d2895810bc7e512
6073f7fhttps://github.com/kubernetes-client/python/commit/6073f7f1603701e2dee63c10b60ec66b503f11d6
Compare https://github.com/kubernetes-client/python/compare/ff94d3b0c7ec9b4bc7fedef99d2895810bc7e512..6073f7f1603701e2dee63c10b60ec66b503f11d6
August 28, 2026 19:23https://github.com/kubernetes-client/python/pull/2690#event-30183880140
https://github.com/Invictus17
Invictus17https://github.com/Invictus17
Aug 28, 2026 https://github.com/kubernetes-client/python/pull/2690#pullrequestreview-5054450195
View reviewed changes https://github.com/kubernetes-client/python/pull/2690/files
https://github.com/chala2001
chala2001https://github.com/chala2001
Aug 29, 2026https://github.com/kubernetes-client/python/pull/2690#issuecomment-5463329498
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
@yliaoghttps://github.com/yliaog
@Invictus17https://github.com/Invictus17
6073f7fhttps://github.com/kubernetes-client/python/commit/6073f7f1603701e2dee63c10b60ec66b503f11d6
@fabianvfhttps://github.com/fabianvf
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/yliaog
yliaoghttps://github.com/yliaog
Aug 30, 2026 https://github.com/kubernetes-client/python/pull/2690#pullrequestreview-5059607136
View reviewed changes https://github.com/kubernetes-client/python/pull/2690/files
kubernetes/base/leaderelection/resourcelock/leaselock.pyhttps://github.com/kubernetes-client/python/pull/2690/files#diff-d133989b4a8de462f707cdf4d61145cf3205cdb57aaa9b41f4051fab865b6663
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
kubernetes/base/leaderelection/resourcelock/leaselock_test.pyhttps://github.com/kubernetes-client/python/pull/2690/files#diff-877a2e4b035dab477632fc9775634fb6156f54b6320294ee15297ecaaab506e2
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
kubernetes/base/leaderelection/resourcelock/leaselock.pyhttps://github.com/kubernetes-client/python/pull/2690/files#diff-d133989b4a8de462f707cdf4d61145cf3205cdb57aaa9b41f4051fab865b6663
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/chala2001
https://github.com/rvlane
Add LeaseLock for leader electionhttps://github.com/kubernetes-client/python/pull/2690/commits/9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
9b87f18https://github.com/kubernetes-client/python/pull/2690/commits/9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
kubernetes-client#2314https://github.com/kubernetes-client/python/pull/2314
https://github.com/chala2001
chala2001https://github.com/chala2001
force-pushedhttps://github.com/kubernetes-client/python/compare/6073f7f1603701e2dee63c10b60ec66b503f11d6..9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
6073f7fhttps://github.com/kubernetes-client/python/commit/6073f7f1603701e2dee63c10b60ec66b503f11d6
9b87f18https://github.com/kubernetes-client/python/commit/9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
Compare https://github.com/kubernetes-client/python/compare/6073f7f1603701e2dee63c10b60ec66b503f11d6..9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
August 30, 2026 04:22https://github.com/kubernetes-client/python/pull/2690#event-30227614198
https://github.com/chala2001
chala2001https://github.com/chala2001
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#issuecomment-5466677591
9b87f18https://github.com/kubernetes-client/python/commit/9b87f189894f33aa72b3f1bd61c6c2d5d4c3b87b
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/chala2001
chala2001https://github.com/chala2001
yliaoghttps://github.com/yliaog
August 30, 2026 04:25https://github.com/kubernetes-client/python/pull/2690#event-30227653613
https://github.com/yliaog
yliaoghttps://github.com/yliaog
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#issuecomment-5466724109
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
yliaoghttps://github.com/yliaog
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#event-30227800970
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
lgtm https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Algtm
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#event-30227801328
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#issuecomment-5466724472
chala2001https://github.com/kubernetes-client/python/pull/2690
Invictus17https://github.com/kubernetes-client/python/pull/2690#pullrequestreview-5054450195
yliaoghttps://github.com/kubernetes-client/python/pull/2690#issuecomment-5466724109
herehttps://go.k8s.io/bot-commands?repo=kubernetes-client%2Fpython
herehttps://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process
kubernetes/base/OWNERShttps://github.com/kubernetes-client/python/blob/master/kubernetes/base/OWNERS
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
approved https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Aapproved
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#event-30227801927
https://github.com/apps/kubernetes-prow
kubernetes-prowhttps://github.com/apps/kubernetes-prow
ffd05cdhttps://github.com/kubernetes-client/python/commit/ffd05cd2e490e32d39dd49fb8d494f654a8c849e
Aug 30, 2026https://github.com/kubernetes-client/python/pull/2690#event-30227809125
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/chala2001
chala2001https://github.com/chala2001
Nov 4, 2026 https://github.com/kubernetes-client/python/pull/2690#ref-pullrequest-6209150670
Record leader transitions in leader election #2770 https://github.com/kubernetes-client/python/pull/2770
https://github.co/hiddenchars
https://github.com/kubernetes-client/python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fkubernetes-client%2Fpython%2Fpull%2F2690
https://github.com/fabianvf
fabianvf https://github.com/fabianvf
https://github.com/yliaog
yliaog https://github.com/yliaog
https://github.com/Invictus17
Invictus17 https://github.com/Invictus17
https://github.com/kubernetes-client/python/pull/2690/files/6073f7f1603701e2dee63c10b60ec66b503f11d6
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/yliaog
yliaog https://github.com/yliaog
approved https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Aapproved
cncf-cla: yes https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3A%22cncf-cla%3A%20yes%22
kind/feature https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Akind%2Ffeature
lgtm https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Algtm
release-note https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Arelease-note
size/L https://github.com/kubernetes-client/python/issues?q=state%3Aopen%20label%3Asize%2FL
add support Lease-based leader election (rather than ConfigMaps) https://github.com/kubernetes-client/python/issues/1877
Please reload this pagehttps://github.com/kubernetes-client/python/pull/2690
https://github.com/chala2001
https://github.com/yliaog
https://github.com/Invictus17
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.