Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63518

Stop Continuous Loop of K8 Pod Creation from OPA Violation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • kubernetes-plugin
    • None
    • kubernetes 1.27.1

      Pod being scheduled that use a pod template with an [OPA violation|https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/]  are stuck in an infinite loop of attempting to be scheduled but error-ing out with no indication to the end user. Need to abort the build to stop the continuous looping, and display an error message on the build console so the caller knows to fix the pod template error.

      Similar situation as previous feature of canceling jobs of invalid docker images JENKINS-53790

            pyieh Pierson Yieh
            pyieh Pierson Yieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: