From 04d3f7e3e27f01f9e1eb14ec40ef420aaa3986e0 Mon Sep 17 00:00:00 2001 From: Maximilian Jugl Date: Thu, 22 Feb 2024 14:52:23 +0100 Subject: [PATCH] feat: add startup and liveness probes, update image tag, fix ssl config --- k8s/node-result-deployment.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/k8s/node-result-deployment.yaml b/k8s/node-result-deployment.yaml index ab0ed8a..6fec7ce 100644 --- a/k8s/node-result-deployment.yaml +++ b/k8s/node-result-deployment.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: node-result-service - image: ghcr.io/privateaim/node-result-service:sha-8de419a + image: ghcr.io/privateaim/node-result-service:sha-b75b067 imagePullPolicy: IfNotPresent ports: - containerPort: 8080 @@ -27,8 +27,20 @@ spec: - name: MINIO__SECRET_KEY value: s3cr3t_p4ssw0rd - name: MINIO__USE_SSL - value: false + value: "false" - name: MINIO__BUCKET value: flame + startupProbe: + httpGet: + path: /healthz + port: http-result-srv + failureThreshold: 5 + periodSeconds: 5 + livenessProbe: + httpGet: + path: /healthz + port: http-result-srv + failureThreshold: 3 + periodSeconds: 10 imagePullSecrets: - name: dockerconfigjson-github-com