diff --git a/nextcloud/manifests/app.yml b/nextcloud/manifests/app.yml index 5ad14c0cc74f4778507de4c0755e9378b4fbc951..5b96014c1c7ce9f4e5cbb81fceb126fbfb5d5142 100644 --- a/nextcloud/manifests/app.yml +++ b/nextcloud/manifests/app.yml @@ -107,6 +107,15 @@ spec: app.kubernetes.io/part-of: Nextcloud spec: affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 20 + preference: + matchExpressions: + - key: stateless + operator: In + values: + - "true" podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100