Skip to content

Commit

Permalink
add binaries PVC and PVC size values
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 19, 2024
1 parent e15494b commit 3e9a75e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
7 changes: 5 additions & 2 deletions Charts/epics-opis/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# use nginx for publishing opi files over http
image: nginx:1.25.4

# These are overridden per ioc_group repository

# the beamline name - only set for beamlines
beamline:
location:
# the name of the repository in which the IOC is grouped
ioc_group:
# the location where the IOCs will run - same as beamline for beamlines
location:
23 changes: 20 additions & 3 deletions Charts/epics-pvcs/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 100Mi
storage: {{ .Values.opi_size }}
---
# PVC for shared runtime files
kind: PersistentVolumeClaim
Expand All @@ -28,7 +28,7 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 100Mi
storage: {{ .Values.runtime_size }}
---
# PVC for Autosave volumes
kind: PersistentVolumeClaim
Expand All @@ -44,4 +44,21 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storage: {{ .Values.autosave_size }}

---
# PVC for non-native ioc binaries
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ .Values.ioc_group }}-binaries-claim
labels:
app: {{ .Release.Name }}
location: {{ .Values.location }}
ioc_group: {{ .Values.ioc_group }}
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .Values.binaries_size }}
14 changes: 12 additions & 2 deletions Charts/epics-pvcs/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# this value must be overridden
beamline:
# the beamline name - only set for beamlines
beamline: bl20j
# the name of the repository in which the IOC is grouped
ioc_group: bl20j
# the location where the IOCs will run - same as beamline for beamlines
location: bl20j

# sizes of the auto provisioned PVs
opi_size: 1Gi
runtime_size: 1Gi
autosave_size: 1Gi
binaries_size: 1Gi

0 comments on commit 3e9a75e

Please sign in to comment.