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

Change the RestartPolicy of the operator cleanup pod to Never #694

Open
huchengze opened this issue May 16, 2023 · 0 comments
Open

Change the RestartPolicy of the operator cleanup pod to Never #694

huchengze opened this issue May 16, 2023 · 0 comments

Comments

@huchengze
Copy link

Describe the problem/challenge you have
The RestartPolicy of the operator cleanup pod is OnFailure now, and if cleanup failed for 6 times(default backoffLimit), The cleanup job will be retained but the corresponding pod will be deleted, resulting in the loss of the failure log.
截屏2023-05-16 19 24 11

Describe the solution you'd like
Change the RestartPolicy of the operator cleanup pod to Never, so that cleanup pod and failure log will be retained.

Anything else you would like to add:
https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy

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

No branches or pull requests

1 participant