Skip to content

Commit

Permalink
SMFI-15: startup probe path configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-weyer authored Sep 23, 2024
1 parent 0cecd75 commit 7854fdf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/sophora-media-finder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: sophora-media-finder
description: A Helm chart for Sophora Media Finder
type: application
version: 0.1.0
version: 0.1.1
appVersion: "5.x"
6 changes: 3 additions & 3 deletions charts/sophora-media-finder/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
{{- with .Values.livenessProbe }}
livenessProbe:
httpGet:
path: /health
path: {{ .path }}
port: 8080
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
Expand All @@ -50,7 +50,7 @@ spec:
{{- with .Values.readinessProbe }}
readinessProbe:
httpGet:
path: /health
path: {{ .path }}
port: 8080
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
Expand All @@ -60,7 +60,7 @@ spec:
{{- with .Values.startupProbe }}
startupProbe:
httpGet:
path: /health
path: {{ .path }}
port: 8080
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
Expand Down
3 changes: 3 additions & 0 deletions charts/sophora-media-finder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,21 @@ ingress:
tls: []

startupProbe:
path: /actuator/health
failureThreshold: 15
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 5

readinessProbe:
path: /actuator/health
failureThreshold: 5
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 5

livenessProbe:
path: /actuator/health
failureThreshold: 3
initialDelaySeconds: 15
timeoutSeconds: 10
Expand Down

0 comments on commit 7854fdf

Please sign in to comment.