Skip to content

Commit 6d3b94f

Browse files
committed
Run skipper validation webhook on seed node
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
1 parent c98999d commit 6d3b94f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cluster/manifests/02-skipper-validation-webhook/deployment.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@ spec:
2121
annotations:
2222
logging/destination: "{{.Cluster.ConfigItems.log_destination_infra}}"
2323
spec:
24+
affinity:
25+
podAntiAffinity:
26+
requiredDuringSchedulingIgnoredDuringExecution:
27+
- labelSelector:
28+
matchLabels:
29+
deployment: skipper-validation-webhook
30+
topologyKey: kubernetes.io/hostname
31+
nodeAffinity:
32+
preferredDuringSchedulingIgnoredDuringExecution:
33+
- weight: 100
34+
preference:
35+
matchExpressions:
36+
- key: dedicated
37+
operator: In
38+
values:
39+
- cluster-seed
40+
tolerations:
41+
- key: dedicated
42+
value: cluster-seed
43+
effect: NoSchedule
2444
dnsConfig:
2545
options:
2646
- name: ndots

0 commit comments

Comments
 (0)