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

Check resource version when deleting a Pod during force-upgrades #2066

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

sebgl
Copy link
Contributor

@sebgl sebgl commented Oct 25, 2019

This commit adds an additional precondition when we delete a Pod during
a force-upgrade: we require the Pod version in the apiserver to be the
same as the cached Pod version we want to delete.

This helps avoiding situations were we would, for example, delete a
Pending pod that is actually not Pending anymore.

Fixes #1916.

This commit adds an additional precondition when we delete a Pod during
a force-upgrade: we require the Pod version in the apiserver to be the
same as the cached Pod version we want to delete.

This helps avoiding situations were we would, for example, delete a
Pending pod that is actually not Pending anymore.
@sebgl sebgl added >enhancement Enhancement of existing functionality v1.0.0 labels Oct 25, 2019
@sebgl sebgl merged commit daa5723 into elastic:master Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pod deletion during forced upgrade should include resource version precondition check
2 participants