Skip to content

Commit fce9f32

Browse files
committed
Fix to previous commit
1 parent 73ceddf commit fce9f32

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

apps/web/base/deployment.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ spec:
1919
affinity:
2020
podAntiAffinity:
2121
preferredDuringSchedulingIgnoredDuringExecution:
22-
- labelSelector:
23-
matchExpressions:
24-
- key: app
25-
operator: In
26-
values:
27-
- web
28-
topologyKey: "kubernetes.io/hostname"
22+
- weight: 1
23+
podAffinityTerm:
24+
labelSelector:
25+
matchExpressions:
26+
- key: app
27+
operator: In
28+
values:
29+
- web
30+
topologyKey: "kubernetes.io/hostname"
2931
containers:
3032
- name: web
3133
image: metacpan/metacpan-web:latest

0 commit comments

Comments
 (0)