Skip to content

Commit

Permalink
Add custom livenessProbe for Temporal services (Feature Request #653)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiseloff committed Feb 26, 2025
1 parent e8ae865 commit 935d015
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions charts/temporal/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,13 @@ spec:
protocol: TCP
{{- if ne $service "worker" }}
livenessProbe:
initialDelaySeconds: 150
tcpSocket:
port: rpc
{{- if $serviceValues.livenessProbe }}
{{- toYaml $serviceValues.livenessProbe | nindent 12}}
{{- else }}
initialDelaySeconds: 150
tcpSocket:
port: rpc
{{- end }}
{{- end }}
volumeMounts:
- name: config
Expand Down
3 changes: 3 additions & 0 deletions charts/temporal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ server:
deploymentAnnotations: {}
podAnnotations: {}
podLabels: {}
livenessProbe: {}
resources: {}
nodeSelector: {}
tolerations: []
Expand Down Expand Up @@ -289,6 +290,7 @@ server:
deploymentAnnotations: {}
podAnnotations: {}
podLabels: {}
livenessProbe: {}
resources: {}
nodeSelector: {}
tolerations: []
Expand All @@ -314,6 +316,7 @@ server:
deploymentAnnotations: {}
podAnnotations: {}
podLabels: {}
livenessProbe: {}
resources: {}
nodeSelector: {}
tolerations: []
Expand Down

0 comments on commit 935d015

Please sign in to comment.