From a8e7b246560e5104b69c6ce8fd21495b8f7d5186 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Sat, 8 Mar 2025 16:53:15 -0500 Subject: [PATCH] add health checks --- helm/ambient-local-exporter/values.yaml | 54 ++++++++++++++++--------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/helm/ambient-local-exporter/values.yaml b/helm/ambient-local-exporter/values.yaml index c977163..ecb7e9f 100644 --- a/helm/ambient-local-exporter/values.yaml +++ b/helm/ambient-local-exporter/values.yaml @@ -100,8 +100,7 @@ hull: data: config.yaml: serialization: toYaml - inline: - _HT*hull.config.appConfig + inline: _HT*hull.config.appConfig environment: data: OTEL_EXPORTER_OTLP_ENDPOINT: @@ -145,6 +144,21 @@ hull: main: configMapRef: name: environment + resources: _HT*hull.config.settings.resources + readinessProbe: + httpGet: + path: /health + port: 8080 + scheme: HTTP + periodSeconds: 10 + failureThreshold: 2 + livenessProbe: + httpGet: + path: /health + port: 8080 + scheme: HTTP + periodSeconds: 10 + failureThreshold: 2 volumeMounts: config: name: config @@ -175,29 +189,29 @@ hull: enabled: _HT*hull.config.settings.httproute.enabled hostnames: _HT*hull.config.settings.httproute.hostnames parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: _HT*hull.config.settings.httproute.gatewayName - namespace: _HT*hull.config.settings.httproute.gatewayNamespace + - group: gateway.networking.k8s.io + kind: Gateway + name: _HT*hull.config.settings.httproute.gatewayName + namespace: _HT*hull.config.settings.httproute.gatewayNamespace rules: - - backendRefs: - - group: "" - kind: Service - name: _HT^main - port: _HT*hull.config.settings.httpPort + - backendRefs: + - group: "" + kind: Service + name: _HT^main + port: _HT*hull.config.settings.httpPort grpcroute: main: enabled: _HT*hull.config.settings.grpcroute.enabled hostnames: _HT*hull.config.settings.grpcroute.hostnames parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: _HT*hull.config.settings.grpcroute.gatewayName - namespace: _HT*hull.config.settings.grpcroute.gatewayNamespace + - group: gateway.networking.k8s.io + kind: Gateway + name: _HT*hull.config.settings.grpcroute.gatewayName + namespace: _HT*hull.config.settings.grpcroute.gatewayNamespace rules: - - backendRefs: - - group: "" - kind: Service - name: _HT^main - port: _HT*hull.config.settings.grpcPort + - backendRefs: + - group: "" + kind: Service + name: _HT^main + port: _HT*hull.config.settings.grpcPort