Easier setup of Windows pods

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: kubernetes-plugin

      Rather than having to specify

      podTemplate(yaml: '''
      apiVersion: v1
      kind: Pod
      spec:
        containers:
        - name: jnlp
          image: jenkins/jnlp-agent:latest-windows
        nodeSelector:
          beta.kubernetes.io/os: windows
      ''') {...}
      

      you ought to be able to say just

      podTemplate(windows: true) {...}
      

      with the nodeSelector and alternate image selected automatically.

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: