[release-2.6] Retry build/sign resource when its pod was evicted - #1886
Conversation
During a cluster upgrade, node drains can delete a Build's pod before it completes, leaving the Build in Error(BuildPodDeleted) forever since Sync() only recreated resources whose spec had changed. Detect this recoverable failure and delete the resource so it gets retried.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/override ci/prow/security |
|
@TomerNewman: Overrode contexts on behalf of TomerNewman: ci/prow/security DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, TomerNewman The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3f9952e
into
rh-ecosystem-edge:release-2.6
|
/cherry-pick release-2.5 |
|
@TomerNewman: new pull request created: #1890 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This is an automated cherry-pick of #1882
/assign TomerNewman