Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-3587

Set backoffLimit to 1 for builders

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Undefined
    • None
    • None
    • quay
    • 0

    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"

      Attachments

        Activity

          People

            bcaton@redhat.com Brandon Caton
            bcaton@redhat.com Brandon Caton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: