diff --git a/apps/narrowcast-content/healthcheck.yaml b/apps/narrowcast-content/healthcheck.yaml new file mode 100644 index 0000000..e645c86 --- /dev/null +++ b/apps/narrowcast-content/healthcheck.yaml @@ -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 \ No newline at end of file diff --git a/apps/narrowcast-content/kustomization.yaml b/apps/narrowcast-content/kustomization.yaml index 4498db8..2778a58 100644 --- a/apps/narrowcast-content/kustomization.yaml +++ b/apps/narrowcast-content/kustomization.yaml @@ -5,3 +5,4 @@ resources: - deploy.yaml - httproute.yaml - service.yaml + - healthcheck.yaml