File tree Expand file tree Collapse file tree 4 files changed +22
-8
lines changed
Expand file tree Collapse file tree 4 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,20 @@ spec:
8888 volumeMounts :
8989 {{- toYaml . | nindent 12 }}
9090 {{- end }}
91+ {{- with .Values.autosavePath }}
92+ - name : autosave
93+ mountPath : {{ . }}
94+ readOnly : false
95+ {{- end }}
9196 {{- with .Values.volumes }}
9297 volumes :
9398 {{- toYaml . | nindent 8 }}
9499 {{- end }}
100+ {{- with .Values.autosavePath }}
101+ - name : autosave
102+ hostPath :
103+ path : {{ . }}
104+ {{- end }}
95105 {{- with .Values.nodeSelector }}
96106 nodeSelector :
97107 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change 88 "$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.3/affinity.json" ,
99 "type" : " object"
1010 },
11+ "autosavePath" : {
12+ "description" : " Full path to an IOC instance's autosave folder" ,
13+ "type" : " string"
14+ },
1115 "command" : {
1216 "description" : " container entry point command" ,
1317 "type" : " array" ,
Original file line number Diff line number Diff line change @@ -56,12 +56,15 @@ podLabels: {}
5656# @schema $ref: $k8s/podspec.json#/properties/securityContext
5757podSecurityContext : {}
5858
59- # @schema $ref:$k8s/container.json#/properties/securityContext
59+ # @schema $ref:$k8s/container.json#/properties/securityContext
6060securityContext : {}
6161
62- # @schema $ref: $k8s/container.json#/properties/resources
62+ # @schema $ref: $k8s/container.json#/properties/resources
6363resources : {}
6464
65+ # @schema description: Full path to an IOC instance's autosave folder
66+ autosavePath : " "
67+
6568# volumes for the Deployment.
6669# @schema $ref: $k8s/podspec.json#/properties/volumes
6770volumes :
@@ -74,9 +77,6 @@ volumes:
7477 - name : epics
7578 hostPath :
7679 path : /dls_sw/epics
77- - name : apps
78- hostPath :
79- path : /dls_sw/apps
8080 - name : targetos
8181 hostPath :
8282 path : /dls_sw/targetOS
@@ -96,9 +96,6 @@ volumeMounts:
9696 - name : epics
9797 mountPath : /dls_sw/epics
9898 readOnly : true
99- - name : apps
100- mountPath : /dls_sw/apps
101- readOnly : true
10299 - name : targetos
103100 mountPath : /dls_sw/targetOS
104101 readOnly : true
Original file line number Diff line number Diff line change @@ -91,3 +91,6 @@ RUN uv venv --managed-python --python 3.12 && \
9191# Make a psuedo home directory for running in cluster
9292COPY epics_home /epics_home
9393RUN chmod a+rws /epics_home
94+
95+ # Add in netcat for network diagnosis
96+ RUN yum install -y netcat
You can’t perform that action at this time.
0 commit comments