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

Option to disable dynamic k8s podTemplates

XMLWordPrintable

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

      We often deploy multitenant Jenkins servers that are shared across various internal development teams. Whilst the dynamic podTemplates functionality is very useful, we'd like to be able to switch it off in Jenkinsfiles and rely on a number of prepopulated podTemplates injected in via groovy initd scripts at server startup. This would allow us better control of the workloads deployed to the k8s infrastructure, in terms of standardisation, security and cost.

      This could be implemented by a check box in the global config 'Disable Dynamic Pod Templates'. As an alternate to managing podTemplates in GlobalConfig - there is some mileage in also looking incorporating podTempate definitions from a central configmap or CRD (but that is probably another ticket)

            Unassigned Unassigned
            withnale Paul R
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: