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

fix: ignore 'RecreatingFailedPod' event reason for StatefulSets due to bug in 1.27 #4081

Merged
merged 2 commits into from Mar 11, 2024

Conversation

a7i
Copy link
Contributor

@a7i a7i commented Nov 16, 2023

Note: Samson is a public repo, do not include Zendesk-internal information, urls, etc.

In this PR, the behavior for pods being deleted while running was changed to be one of Succeeded or Failed. This makes sense for Jobs but not for StatefulSet.
Currently, a rollout of StatefulSet leads to:

Warning RecreatingFailedPod: StatefulSet some-ns/some-pod-name is recreating failed Pod .... x59

The change is being cherry-picked to 1.27 mainline but not yet released.

References

  • Jira link:

Risks

  • Low: could negatively impact bad statefulset rollouts

@a7i a7i requested a review from a team as a code owner November 16, 2023 20:24
@a7i a7i force-pushed the amir/statefulset-RecreatingFailedPod branch from 9def2f6 to 3c6ad7a Compare November 22, 2023 18:45
@a7i
Copy link
Contributor Author

a7i commented Jan 13, 2024

addressed in 1.27.7

@a7i a7i closed this Jan 13, 2024
@a7i a7i deleted the amir/statefulset-RecreatingFailedPod branch January 13, 2024 01:52
@a7i a7i restored the amir/statefulset-RecreatingFailedPod branch March 11, 2024 22:26
@a7i a7i reopened this Mar 11, 2024
@a7i a7i merged commit a6a8ba2 into master Mar 11, 2024
9 checks passed
@a7i a7i deleted the amir/statefulset-RecreatingFailedPod branch March 11, 2024 22:40
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.

None yet

3 participants