use preferred during scheduling rule (#221)

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver 2020-05-07 13:29:34 -04:00 committed by GitHub
parent 4ec31a59be
commit 16cedfdb99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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