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 KubernetesPodOperator reattach when not deleting pods #18070

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

jedcunningham
Copy link
Member

This change:

  • ignores any pods already marked as complete instead of trying to
    reattach to them.
  • properly marks all 'finished' unsuccessful pods that won't
    be deleted.

Combined, these allow is_delete_operator_pod=False and
reattach_on_restart=True to function together properly during retries.

This change:

- ignores any pods already marked as complete instead of trying to
  reattach to them.
- properly marks all 'finished' unsuccessful pods that won't
  be deleted.

Combined, these allow `is_delete_operator_pod=False` and
`reattach_on_restart=True` to function together properly during retries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants