-
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.
- relates to
-
JENKINS-57841 Better default command for container templates
-
- Resolved
-