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

system cloud podTemplate support defaultContainer

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

      The defaultContainer setting can be supported when the kubernetes slave config is in the Jenkinsfile. Is it possible to support the same fields in the System cloud settings?

      In Jenkins X, a single container is usually used as the build environment. However, it is still necessary to switch from the jnlp container to the build container. If the defaultContainer is supported, this problem will be solved.

          [JENKINS-54692] system cloud podTemplate support defaultContainer

          jerome g added a comment -

          vlatombe: would it be have someone to look into this feature request ?

          It would be nice to be able to define a defaultContainer as either part of the podTemplate, or as a sub-option of "Defaults Provider Template Name" from kubernetes cloud.

          Our use-case is simply: all our pipelines will use a container named "k8s-builder" from the pod, and will never use "jnlp".

          jerome g added a comment - vlatombe : would it be have someone to look into this feature request ? It would be nice to be able to define a defaultContainer as either part of the podTemplate, or as a sub-option of "Defaults Provider Template Name" from kubernetes cloud. Our use-case is simply: all our pipelines will use a container named "k8s-builder" from the pod, and will never use "jnlp".

            Unassigned Unassigned
            runzexia runze xia
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: