Skip to content

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

@huchengze

Description

@huchengze

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions