kube-dns-anti-affinity: Adjust to match different scheme

This commit is contained in:
Steve Coffman 2017-10-13 17:21:06 -04:00
parent 786f460092
commit e6540d422b
3 changed files with 9 additions and 3 deletions

View File

@ -87,7 +87,9 @@ spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: k8s-app
operator: In

View File

@ -87,7 +87,9 @@ spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: k8s-app
operator: In

View File

@ -87,7 +87,9 @@ spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: k8s-app
operator: In