Skip to content

Commit

Permalink
fix filebrowser affinity
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
  • Loading branch information
funkypenguin committed Sep 8, 2024
1 parent 877f942 commit 4e44ad1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/myprecious/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.111.0
version: 1.111.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
14 changes: 13 additions & 1 deletion charts/myprecious/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4159,7 +4159,19 @@ filebrowser:
podAnnotations:
kubernetes.io/egress-bandwidth: "5M" # filebrowser is not for streaming
# Always prefer to cohabit with zurg
affinity: *standard_affinity
affinity:
podAffinity:
# prefer to be located with zurg, if tolerations permit
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.elfhosted.com/name
operator: In
values:
- zurg
topologyKey: "kubernetes.io/hostname"
tolerations: *standard_tolerations
envFrom:
- configMapRef:
Expand Down

0 comments on commit 4e44ad1

Please sign in to comment.