Skip to content

Commit 0fb47b6

Browse files
committed
Add readiness and liveness probes to frontend
1 parent 951d70f commit 0fb47b6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

charts/frontend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: developer-portal-frontend
33
description: A Helm chart for deploying the Diamond developer portal backend
44
type: application
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: 0.0.26
77
dependencies:
88
- name: common

charts/frontend/templates/deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,15 @@ spec:
3636
ports:
3737
- name: http-serve
3838
containerPort: 80
39+
livenessProbe:
40+
httpGet:
41+
port: 80
42+
path: /healthcheck
43+
initialDelaySeconds: 10
44+
periodSeconds: 10
45+
readinessProbe:
46+
httpGet:
47+
port: 80
48+
path: /healthcheck
49+
initialDelaySeconds: 10
50+
periodSeconds: 10

0 commit comments

Comments
 (0)