From 74e6e2c4e07cbaae19a8360b96ff18d2ee40b539 Mon Sep 17 00:00:00 2001 From: lindtvedtsebastian Date: Thu, 1 Aug 2024 09:21:53 +0200 Subject: [PATCH] feat(helm): health probe path --- backend/helm/backend/values.yaml | 89 ++++++++++++++++---------------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/backend/helm/backend/values.yaml b/backend/helm/backend/values.yaml index efb164d5d..72bb8bc32 100644 --- a/backend/helm/backend/values.yaml +++ b/backend/helm/backend/values.yaml @@ -1,45 +1,46 @@ common: - app: backend - shortname: backend - team: selvbetjent - ingress: - enabled: true - trafficType: public - service: - internalPort: 3000 - container: - image: <+artifacts.primary.image> - cpu: 0.3 - memory: 512 - env: - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: redis - key: redis-password - - name: BACKEND_API_KEY - valueFrom: - secretKeyRef: - name: backend - key: api-key - probes: - enabled: true - spec: - startupProbe: - tcpSocket: - port: 3000 - periodSeconds: 1 - timeoutSeconds: 1 - failureThreshold: 300 - livenessProbe: - tcpSocket: - port: 3000 - periodSeconds: 5 - successThreshold: 1 - timeoutSeconds: 1 - readinessProbe: - tcpSocket: - port: 3000 - periodSeconds: 5 - successThreshold: 1 - timeoutSeconds: 1 \ No newline at end of file + app: backend + shortname: backend + team: selvbetjent + ingress: + enabled: true + trafficType: public + service: + internalPort: 3000 + container: + image: <+artifacts.primary.image> + cpu: 0.3 + memory: 512 + env: + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: redis + key: redis-password + - name: BACKEND_API_KEY + valueFrom: + secretKeyRef: + name: backend + key: api-key + probes: + enabled: true + spec: + startupProbe: + tcpSocket: + port: 3000 + periodSeconds: 1 + timeoutSeconds: 1 + failureThreshold: 300 + livenessProbe: + tcpSocket: + port: 3000 + periodSeconds: 5 + successThreshold: 1 + timeoutSeconds: 1 + path: /health + readinessProbe: + tcpSocket: + port: 3000 + periodSeconds: 5 + successThreshold: 1 + timeoutSeconds: 1