Skip to content

Commit

Permalink
NOJIRA Add startup probe (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinclarkeuk authored Feb 19, 2025
1 parent 27c017a commit 2d52f9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/bandstand-web-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: bandstand-web-service
version: 4.9.4
version: 4.9.5
description: Application chart for a web service
type: application
maintainers:
Expand Down
9 changes: 7 additions & 2 deletions charts/bandstand-web-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,21 @@ spec:
httpGet:
path: {{ (.Values.livenessProbe).path | default "/" }}
port: http
initialDelaySeconds: 30
periodSeconds: 60
timeoutSeconds: 5
readinessProbe:
httpGet:
path: {{ (.Values.readinessProbe).path | default "/" }}
port: http
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
startupProbe:
httpGet:
path: {{ (.Values.livenessProbe).path | default "/" }}
port: http
timeoutSeconds: 5
periodSeconds: 5
failureThreshold: 30
env:
- name: ENV
value: {{ .Values.global.env }}
Expand Down

0 comments on commit 2d52f9b

Please sign in to comment.