Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spec): add completion deadline (#206)
When provisioning the pod, we have a 30min timeout, but this timeout is not utilized in the pod spec in any way. Provisioned pods on MP+ take quota from the non-terminating pool, but in the case of sandbox environment we do have a deadline, since the pods are one-shot and destroyed after running. Adding this deadline explicitly to the spec results in OpenShift terminating the pods by itself and additionally uses a different pool of quota, the terminating one. For the deadline in spec I have chosen to use our default 30min + 10min for provisioning, because from the PoV of OpenShift it is included in the deadline. Related to the failed pull-from-upstream run from Apr 29 2024, as has been reported on the Matrix channel on May 2 2024: https://matrix.to/#/!ySjfdvNvPOsVtWHNDb:fedora.im/$FwhFOOhbbh1N2NXbVoA5oH3b97f8a2kzRSyhy9F2-F8?via=fedora.im&via=libera.chat&via=matrix.org See details: https://docs.openshift.com/container-platform/3.11/dev_guide/builds/advanced_build_operations.html#builds-setting-maximum-duration
- Loading branch information