Skip to content

Commit

Permalink
ci(infra): [skip ci] Adding affinity with database location
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
  • Loading branch information
ViBiOh committed Feb 6, 2022
1 parent 6560bc4 commit 164eb4a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion infra/web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,18 @@ spec:
enabled: true
compress: true
hosts:
- ketchup.vibioh.fr
- ketchup.vibioh.fr
canary:
enabled: true
url: https://ketchup.vibioh.fr
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- ketchup-db
topologyKey: "kubernetes.io/hostname"

0 comments on commit 164eb4a

Please sign in to comment.