Skip to content

Commit

Permalink
Add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Nov 2, 2023
1 parent c823654 commit f87a1cd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apps/events/healthcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
namespace: default
name: events
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 8080
requestPath: /events/actuator/health/readiness
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: events-wisvch-redirect
1 change: 1 addition & 0 deletions apps/events/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ resources:
- image.yaml
- service.yaml
- deploy.yaml
- healthcheck.yaml
- httproute.yaml
- serviceaccount.yaml

0 comments on commit f87a1cd

Please sign in to comment.