Skip to content

Commit

Permalink
Add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Sep 30, 2023
1 parent 41fcaef commit 707742a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions apps/passes/healthcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: passes
namespace: default
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 80
requestPath: /passes
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: passes
3 changes: 2 additions & 1 deletion apps/passes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ resources:
- image.yaml
- service.yaml
- deploy.yaml
- httproute.yaml
- httproute.yaml
- healthcheck.yaml

0 comments on commit 707742a

Please sign in to comment.