-
Type:
New Feature
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: kubernetes-plugin
-
None
I'm trying to define my pod template as
spec:
affinity:
  podAffinity:
    preferredDuringSchedulingIgnoredDuringExecution:
    - labelSelector:
matchLabels:
          jenkins: slave
But the podAffinity is ignored. I noticed the source in PodTemplateUtils.java#L252 only merges nodeSelector
Â
- duplicates
-
JENKINS-56082 Merge yaml from parent pod template
-
- Resolved
-