Skip to content

Commit

Permalink
Revert "Remove node affinity"
Browse files Browse the repository at this point in the history
This reverts commit a2fa714.
  • Loading branch information
blazer82 committed Jun 17, 2024
1 parent a2fa714 commit 76441fa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy/k8s/analytodon-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ spec:
labels:
app: analytodon-cli
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: project
operator: In
values:
- mastodon
containers:
- name: analytodon-cli
image: productionbuild/analytodon-cli:latest
Expand Down

0 comments on commit 76441fa

Please sign in to comment.