Details
-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
Description
Currently we do not specify the backoffLimit field on the job object that gets created for kubernetes and kubernetesPodman builds. This defaults to 6.
This causes the issue where the job will continue to create pods past the timeout set in the registration token. When the latest pods try to register they will all fail with `Registration token expired.`
Since the retry mechanism is already built into the build manager, the backoffLimit should be set to 1.
Acceptance Criteria
- When a job is created by the kubernetes and kubernetesPodman executors, it will create only 1 pod to attempt to run the build.
- Pods created will no longer error with "Registration token expired"