Skip to content

Commit

Permalink
add liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdawson1982 committed Dec 6, 2024
1 parent 9c89fbf commit 7a7833b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deployments/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ spec:
- name: http
containerPort: 8000
protocol: TCP
livenessProbe:
httpGet:
path: /metrics
port: 8000
httpHeaders:
- name: Host
value: .service.justice.gov.uk
initialDelaySeconds: 40
periodSeconds: 60
env:
- name: ENV
value: "${ENV}"
Expand Down

0 comments on commit 7a7833b

Please sign in to comment.