Skip to content

Commit

Permalink
feat(monitoring): add health check
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluijk committed Dec 8, 2023
1 parent 72f13e1 commit 457c296
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions requirements/monitoring/grafana/health.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: grafana
namespace: default
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 3000
requestPath: /api/health
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: grafana
1 change: 1 addition & 0 deletions requirements/monitoring/grafana/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- release.yaml
- health.yaml
- certificate.yaml
- iap.yaml
- route.yaml

0 comments on commit 457c296

Please sign in to comment.