Skip to content

Commit

Permalink
Add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Jan 2, 2024
1 parent 57e0882 commit e8b2456
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apps/narrowcast-content/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: narrowcast-content
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 8080
requestPath: /health
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: narrowcast-content
1 change: 1 addition & 0 deletions apps/narrowcast-content/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ resources:
- deploy.yaml
- httproute.yaml
- service.yaml
- healthcheck.yaml

0 comments on commit e8b2456

Please sign in to comment.