From ab55a1b3f2f378d00bb2296d5d087263113d89a9 Mon Sep 17 00:00:00 2001 From: Toan Le Date: Tue, 26 Mar 2024 15:14:50 +0700 Subject: [PATCH 1/2] Update helth check locatepin --- .../business/locatepin/app/helm-release.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/kubernetes/apps/business/locatepin/app/helm-release.yaml b/kubernetes/apps/business/locatepin/app/helm-release.yaml index 1f51a0049..14bca1483 100644 --- a/kubernetes/apps/business/locatepin/app/helm-release.yaml +++ b/kubernetes/apps/business/locatepin/app/helm-release.yaml @@ -40,6 +40,21 @@ spec: repository: ghcr.io/imtoanle/locatepin-server tag: 0.0.2 pullPolicy: Always + probes: + liveness: &probes + enabled: true + custom: true + spec: + httpGet: + path: /health + port: &port 8888 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + readiness: *probes + startup: + enabled: false # resources: # requests: # cpu: 250m @@ -57,6 +72,21 @@ spec: repository: ghcr.io/imtoanle/locatepin-adminfe tag: 0.0.2 pullPolicy: Always + probes: + liveness: &probes + enabled: true + custom: true + spec: + httpGet: + path: /api/health + port: &port 8080 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + readiness: *probes + startup: + enabled: false # resources: # requests: # cpu: 250m From dfc44f8b1638c5dead4b725c5c0b110815364d7c Mon Sep 17 00:00:00 2001 From: Toan Le Date: Tue, 26 Mar 2024 15:16:22 +0700 Subject: [PATCH 2/2] update --- kubernetes/apps/business/locatepin/app/helm-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/business/locatepin/app/helm-release.yaml b/kubernetes/apps/business/locatepin/app/helm-release.yaml index 14bca1483..1fb531df3 100644 --- a/kubernetes/apps/business/locatepin/app/helm-release.yaml +++ b/kubernetes/apps/business/locatepin/app/helm-release.yaml @@ -33,7 +33,7 @@ spec: replicas: 1 strategy: Recreate annotations: - # secret.reloader.stakater.com/reload: "chatwoot-vietwings-secret-envs" + configmap.reloader.stakater.com/reload: "locatepin-backend-secrets" containers: main: image: @@ -65,7 +65,7 @@ spec: adminfe: replicas: 1 annotations: - # secret.reloader.stakater.com/reload: "chatwoot-vietwings-secret-envs" + # configmap.reloader.stakater.com/reload: "locatepin-backend-secrets" containers: main: image: