From 962e396294072057c4d92edc5ddc8376d83fb221 Mon Sep 17 00:00:00 2001 From: prettysunflower Date: Sun, 6 Jul 2025 15:58:46 -0400 Subject: [PATCH] apps(pocketid): Updated image to the distroless one, and updated healthcheck to use the healthcheck command instead of a HTTP request Signed-off-by: prettysunflower --- apps/pocketid/deployment.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/pocketid/deployment.yaml b/apps/pocketid/deployment.yaml index 5b5b141..b02f242 100644 --- a/apps/pocketid/deployment.yaml +++ b/apps/pocketid/deployment.yaml @@ -20,7 +20,7 @@ spec: claimName: pocketid-pvc containers: - name: pocketid - image: ghcr.io/pocket-id/pocket-id:v1.6.0 + image: ghcr.io/pocket-id/pocket-id:v1.6.0-distroless imagePullPolicy: Always ports: - containerPort: 1411 @@ -41,15 +41,17 @@ spec: seccompProfile: type: RuntimeDefault livenessProbe: - httpGet: - path: /healthz - port: 1411 + exec: + command: + - /app/pocket-id + - healthcheck initialDelaySeconds: 10 failureThreshold: 3 periodSeconds: 90 startupProbe: - httpGet: - path: /healthz - port: 1411 + exec: + command: + - /app/pocket-id + - healthcheck failureThreshold: 30 - periodSeconds: 10 \ No newline at end of file + periodSeconds: 10