mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
use preferred during scheduling rule (#221)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
4ec31a59be
commit
16cedfdb99
1 changed files with 10 additions and 8 deletions
|
@ -102,8 +102,10 @@ spec:
|
||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- labelSelector:
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: k8s-app
|
- key: k8s-app
|
||||||
operator: In
|
operator: In
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue