Skip to content

Commit

Permalink
Try new beamline tolerations
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Oct 10, 2024
1 parent ffebc7a commit 30d35a8
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions services/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@ ioc-instance:
runAsUser: 37988
runAsGroup: 37988

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: beamline
operator: In
values:
- bl45p
dataVolume:
pvc: false
hostPath: /dls/p45/data

useAffinity: true

# extra toleration for bl45p's nodetype taint
tolerations:
- key: "nodetype"
operator: "Equal"
value: "test-rig"
effect: "NoSchedule"
- key: beamline
operator: Equal
value: bl45p
effect: NoSchedule
- key: location
operator: Equal
value: bl45p
effect: NoSchedule
- key: nodetype
operator: Equal
value: test-rig
effect: NoSchedule

0 comments on commit 30d35a8

Please sign in to comment.