Closed fredrik-jansson-se closed 5 years ago
Duplicate of https://github.com/kubernetes/contrib/issues/2930
I pull the latest contrib code, and rebuilt the container manually... cannot reproduce anymore, so my guess is that this has been fixed, but no new container pushed.
Available here: https://hub.docker.com/r/fredrikjanssonse/leader-elector/tags/
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
I have three pods that I distribute on three nodes using anti affinity rules.
To test the leader election:
According to the logs, the two remaining pods agrees upon a new leader.
Problem: One of the pod's leader-elector http server still returns the old leader.
I can consistently reproduce this on my cluster.
Kubernetes is v1.11.1 leader-elector is v0.5 (I also tested with v0.4 with the same results).
Given the widespread use of the leader-elector, I assume I do something wrong... but I really cannot figure out what.