diff --git a/services/values.yaml b/services/values.yaml index 5c87a62..0f9a66e 100644 --- a/services/values.yaml +++ b/services/values.yaml @@ -9,3 +9,32 @@ ioc-instance: # useHostNetwork - use host network for IOC - required for Channel Access # to work outside of the cluster hostNetwork: false + + # affinity and tolerations to get the right nodes on pollux + securityContext: + runAsUser: 37890 + runAsGroup: 37890 + + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: beamline + operator: In + values: + - bl46p + + tolerations: + - key: beamline + operator: Equal + value: bl46p + effect: NoSchedule + - key: location + operator: Equal + value: bl46p + effect: NoSchedule + - key: nodetype + operator: Equal + value: training-rig + effect: NoSchedule