Commit e6540d42 authored by Steve Coffman's avatar Steve Coffman

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

parent 786f4600
...@@ -87,7 +87,9 @@ spec: ...@@ -87,7 +87,9 @@ spec:
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - weight: 100
podAffinityTerm:
labelSelector:
matchExpressions: matchExpressions:
- key: k8s-app - key: k8s-app
operator: In operator: In
......
...@@ -87,7 +87,9 @@ spec: ...@@ -87,7 +87,9 @@ spec:
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - weight: 100
podAffinityTerm:
labelSelector:
matchExpressions: matchExpressions:
- key: k8s-app - key: k8s-app
operator: In operator: In
......
...@@ -87,7 +87,9 @@ spec: ...@@ -87,7 +87,9 @@ spec:
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - weight: 100
podAffinityTerm:
labelSelector:
matchExpressions: matchExpressions:
- key: k8s-app - key: k8s-app
operator: In operator: In
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment