Skip to content

Commit

Permalink
feat(cloud): add missing antiAffinity rule to cloud screenshot chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Feb 8, 2022
1 parent eb656fe commit 7583506
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cloud-screenshot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: dustin@elegantthemes.com
name: Elegant Themes
name: cloud-screenshot
version: 0.9.13
version: 0.9.14
10 changes: 10 additions & 0 deletions charts/cloud-screenshot/templates/cloud-screenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ spec:
app: cloud-screenshot
redis-cluster-client: 'true'
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cloud-screenshot
topologyKey: kubernetes.io/hostname
initContainers:
- name: init
env:
Expand Down

0 comments on commit 7583506

Please sign in to comment.