Skip to content
Snippets Groups Projects
Commit db67dc26 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds node affinity to Nc deploy.

parent a7503dc4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment