Skip to content

Commit

Permalink
Add readiness and liveness probes to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 9, 2025
1 parent 951d70f commit 0fb47b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: developer-portal-frontend
description: A Helm chart for deploying the Diamond developer portal backend
type: application
version: 0.1.0
version: 0.1.1
appVersion: 0.0.26
dependencies:
- name: common
Expand Down
12 changes: 12 additions & 0 deletions charts/frontend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ spec:
ports:
- name: http-serve
containerPort: 80
livenessProbe:
httpGet:
port: 80
path: /healthcheck
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
httpGet:
port: 80
path: /healthcheck
initialDelaySeconds: 10
periodSeconds: 10

0 comments on commit 0fb47b6

Please sign in to comment.