Skip to content

Commit 73ceddf

Browse files
committed
Trying to fix failed sync
This change makes the rule a preference instead of a hard requirement, allowing Kubernetes to schedule the pod even if no nodes fully meet the affinity rule, but still trying to respect the affinity where possible.
1 parent 8e943ed commit 73ceddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
# spread nodes across servers
1919
affinity:
2020
podAntiAffinity:
21-
requiredDuringSchedulingIgnoredDuringExecution:
21+
preferredDuringSchedulingIgnoredDuringExecution:
2222
- labelSelector:
2323
matchExpressions:
2424
- key: app

0 commit comments

Comments
 (0)