Skip to content

Setting Restart policy of backup job to onfailure #4805

@charleszheng44

Description

@charleszheng44

Feature Request

Is your feature request related to a problem? Please describe:

We found that when we killed a backup pod the backup job went to failed state without retrying. This could happen when we do a node upgrade or a node was down. The reason is that the BackoffLimit is always set to 0 and the RestartPolicy of the pod is never

BackoffLimit: pointer.Int32Ptr(0),
. Unfortunately we can’t modify it for now. Is it possible that we can set it in our Backup CR?

Describe the feature you'd like:

Allow setting the restart policy of the backup job to RestartPolicyOnFailure

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Metadata

Metadata

Assignees

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