Skip to content

Commit

Permalink
No downtime probes (#142)
Browse files Browse the repository at this point in the history
* Revert to basic check to avoid too many token calls

* Testing startup time

* Revert to previous period time
  • Loading branch information
daveb-hni authored Sep 5, 2024
1 parent fe3db0b commit 6c370d5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tools/helm/ppmservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,15 @@ spec:
command:
- './health-check.sh'
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
port: {{ .Values.Application.Port }}
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 10
successThreshold: 3
exec:
command:
- './health-check.sh'
successThreshold: 1
timeoutSeconds: 4
lifecycle:
preStop:
exec:
Expand Down

0 comments on commit 6c370d5

Please sign in to comment.