node-disk-manager icon indicating copy to clipboard operation
node-disk-manager copied to clipboard

Change the RestartPolicy of the operator cleanup pod to Never

Open huchengze opened this issue 2 years ago • 0 comments

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

huchengze avatar May 16 '23 11:05 huchengze