diff --git a/requirements/monitoring/grafana/health.yaml b/requirements/monitoring/grafana/health.yaml new file mode 100644 index 0000000..b7de834 --- /dev/null +++ b/requirements/monitoring/grafana/health.yaml @@ -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 diff --git a/requirements/monitoring/grafana/kustomization.yaml b/requirements/monitoring/grafana/kustomization.yaml index 076e048..a492784 100644 --- a/requirements/monitoring/grafana/kustomization.yaml +++ b/requirements/monitoring/grafana/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - release.yaml + - health.yaml - certificate.yaml - iap.yaml - route.yaml