Skip to content

Commit

Permalink
Added healthcheck for leaderboard backend
Browse files Browse the repository at this point in the history
Added an additional healthcheck to verify the health of the leaderboard backend service running on port 5000
  • Loading branch information
ThomBreugelmans authored Mar 25, 2024
1 parent 4bb11c2 commit 4d75d74
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion apps/annugame/healthcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,23 @@ spec:
targetRef:
group: ""
kind: Service
name: annugame
name: annugame
---
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
namespace: default
name: annugame-leaderboard
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 5000
requestPath: /
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: annugame

0 comments on commit 4d75d74

Please sign in to comment.