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

Show provisioning error of K8s global agents in console output

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      The provisioning error of Kubernetes agents requested with {{node { ... }}} or {{agent { label ... } }}} blocks (such as when a resource quota is blocking por creation - are not displayed in the console out. Which makes it not obvious for users to understand why a job may be waiting for an agent...

      This refers to https://github.com/jenkinsci/kubernetes-plugin/blob/4234.vdf3e78112369/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesSlave.java#L126-L145.

      The functionality only works for kubernetes { ... }}} block or {{podTemplate {...}.

            Unassigned Unassigned
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: