Skip to content
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

Issue 579: Leader election fails after node reboot #580

Closed
wants to merge 4 commits into from

Conversation

anishakj
Copy link
Contributor

@anishakj anishakj commented Oct 4, 2021

Change log description

In VMware cluster, some pods are stuck in ProviderFailed state, and leader election function, provided by operator SDK, is unable to process that, so new pods are stuck in wait cycle.

Purpose of the change

Fixes #579

What the code does

Customise the leader.Become() function of operator-sdk and if the pod is in ProviderFailed state, delete the pod and configmap so that new pod can come up.

How to verify it

Verify in Vmware setup pods are coming up successfully after node reboot.

@anishakj
Copy link
Contributor Author

anishakj commented Oct 4, 2021

Closing this PR, as the commits are not top of master

@anishakj anishakj closed this Oct 4, 2021
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.

Leader election fails after node reboot
1 participant