Skip to content

Commit

Permalink
updates for new tolerations, new helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jan 11, 2024
1 parent 630ae41 commit aad19c9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
3 changes: 2 additions & 1 deletion beamline-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ type: application

dependencies:
- name: ioc-instance
version: "1.0.0"
version: "1.2.1"
repository: "oci://ghcr.io/epics-containers"
#repository: "file:///scratch/hgv27681/work/ec-helm-charts/Charts/beamline-chart"
30 changes: 14 additions & 16 deletions beamline-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hostNetwork: true
# Not using this now that we have cluster per beamline
# However if you are using one cluster for multiple beamlines / domains
# Then label the local nodes for each beamline and switch to true
useAffinity: false
useAffinity: true

# root folder for ioc source/binaries inside generic IOC container
iocFolder: /epics/ioc
Expand All @@ -38,15 +38,8 @@ globalenv:
# reasonable defaults for securityContext
securityContext:
allowPrivilegeEscalation: false
# IMPORTANT if you want access to /dls/p38/data then the following should
# be set to p38detector account ID and group ID
# runAsUser: 37143
# runAsGroup: 37143
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
runAsUser: 37887
runAsGroup: 37887

########################################################################################
# The following values are expected to be overridden in individual IOC values.yaml
Expand All @@ -63,18 +56,18 @@ ioc_version:
# the PVC
dataVolume:
# Create a PVC called {{ .Chart.Name }}-data when true
pvc: true
pvc: false
# A path on the host machine to write data into. Also used as the path that the
# pvc or hostPath will be mounted at so that users need not be confused about
# inside/outside container paths.
hostPath: /data/
hostPath: /dls/tmp

# use the shared PVC for publishing opi files over http (see services/opis)
opisClaim:
opisClaim: bl47p-opi-claim
# use the shared PVC for publishing opi files over http (see services/opis)
runtimeClaim:
runtimeClaim: bl47p-runtime-claim
# use the shared PVC autosave files (comment out for no autosave)
autosaveClaim:
autosaveClaim: bl47p-autosave-claim

# default resource limits
resources:
Expand All @@ -85,4 +78,9 @@ resources:
cpu: 100m
memory: 64Mi


# extra tolerations for the training rigs
tolerations:
- key: nodetype
operator: "Equal"
value: training-rig
effect: "NoSchedule"

0 comments on commit aad19c9

Please sign in to comment.