Skip to content

Commit

Permalink
switch to StatefulSet
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 15, 2023
1 parent 88b522b commit 0b815b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Charts/beamline-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
apiVersion: v2
name: ioc-instance

version: 1.0.2
version: 1.1.0

type: library
4 changes: 2 additions & 2 deletions Charts/beamline-chart/templates/_deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- define "ioc-instance.deployment" -}}

apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: {{ .Values.ioc_name }}
labels:
Expand All @@ -28,7 +28,7 @@ spec:
serviceAccountName: {{ .Values.serviceAccountName | quote }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
terminationGracePeriodSeconds: 15 # nice to have quick restarts on IOCs
terminationGracePeriodSeconds: 3 # nice to have quick restarts on IOCs
volumes:
{{- if .Values.runtimeClaim }}
- name: runtime-volume
Expand Down
2 changes: 1 addition & 1 deletion Charts/shared/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ description: |
type: application

version: 1.0.2
version: 1.1.0
Binary file removed ioc-instance-1.0.0.tgz
Binary file not shown.

0 comments on commit 0b815b1

Please sign in to comment.