10000 Leader election for deployment, replica set and rc by diptadas · Pull Request #206 · stashed/stash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Leader election for deployment, replica set and rc #206

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

Merged
merged 31 commits into from
Nov 11, 2017
Merged

Conversation

diptadas
Copy link
Contributor
@diptadas diptadas commented Oct 31, 2017

Fixes #140

@diptadas diptadas requested a review from tamalsaha October 31, 2017 04:21
@tamalsaha
Copy link
Member

@diptadas , we don't need to create the configmap ahead of time, it is done by the leader elect library . https://github.com/kubernetes/client-go/blob/72e1c2a1ef30b3f8da039e92d4a6a1f079f374e8/tools/leaderelection/resourcelock/configmaplock.go#L63

@tamalsaha tamalsaha merged commit ef10c66 into master Nov 11, 2017
@tamalsaha tamalsaha deleted the leader-election branch November 11, 2017 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0