mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
kube-dns-anti-affinity: Adjust to match different scheme
This commit is contained in:
parent
786f460092
commit
e6540d422b
@ -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:
|
|||||||
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:
|
|||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- labelSelector:
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: k8s-app
|
- key: k8s-app
|
||||||
operator: In
|
operator: In
|
||||||
|
Loading…
Reference in New Issue
Block a user