From 3b2e52bb0bca1f6b990c521a45f637aee64bb6b6 Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Mon, 25 Nov 2024 09:37:29 +0000 Subject: [PATCH 1/2] fix: liveness probe path --- .../mojaloop-values-override.yaml | 51 +++++-------------- 1 file changed, 13 insertions(+), 38 deletions(-) diff --git a/terraform/k8s/default-config/mojaloop-values-override.yaml b/terraform/k8s/default-config/mojaloop-values-override.yaml index 376277052..271476f8d 100644 --- a/terraform/k8s/default-config/mojaloop-values-override.yaml +++ b/terraform/k8s/default-config/mojaloop-values-override.yaml @@ -4,6 +4,8 @@ _DEFINE: livenessProbe: initialDelaySeconds: 5 timeoutSeconds: 2 + httpGet: + path: /live readinessProbe: initialDelaySeconds: 5 timeoutSeconds: 1 @@ -14,6 +16,7 @@ _DEFINE: livenessProbe: initialDelaySeconds: 5 CONFIG: &CONFIG + replicaCount: 1 config: &BASE_CONFIG event_log_filter: "" log_level: warn @@ -50,22 +53,12 @@ centralledger: centralledger-handler-timeout: *SERVICE centralledger-handler-admin-transfer: *SERVICE centralsettlement: - centralsettlement-service: - replicaCount: 1 - config: - event_log_filter: "" - centralsettlement-handler-deferredsettlement: - replicaCount: 1 - config: - event_log_filter: "" + centralsettlement-service: *CONFIG + centralsettlement-handler-deferredsettlement: *CONFIG centralsettlement-handler-grosssettlement: replicaCount: 0 - config: - event_log_filter: "" - centralsettlement-handler-rules: - replicaCount: 1 - config: - event_log_filter: "" + config: *BASE_CONFIG + centralsettlement-handler-rules: *CONFIG transaction-requests-service: replicaCount: 1 readinessProbe: @@ -89,28 +82,10 @@ thirdparty: replicaCount: 1 mojaloop-bulk: bulk-api-adapter: - bulk-api-adapter-service: - replicaCount: 1 - config: - event_log_filter: "" - bulk-api-adapter-handler-notification: - replicaCount: 1 - config: - event_log_filter: "" + bulk-api-adapter-service: *CONFIG + bulk-api-adapter-handler-notification: *CONFIG bulk-centralledger: - cl-handler-bulk-transfer-prepare: - replicaCount: 1 - config: - event_log_filter: "" - cl-handler-bulk-transfer-fulfil: - replicaCount: 1 - config: - event_log_filter: "" - cl-handler-bulk-transfer-processing: - replicaCount: 1 - config: - event_log_filter: "" - cl-handler-bulk-transfer-get: - replicaCount: 1 - config: - event_log_filter: "" + cl-handler-bulk-transfer-prepare: *CONFIG + cl-handler-bulk-transfer-fulfil: *CONFIG + cl-handler-bulk-transfer-processing: *CONFIG + cl-handler-bulk-transfer-get: *CONFIG From 88151cd715b901c8d9a8f2e558e92b39c385eb3f Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Mon, 25 Nov 2024 14:09:34 +0000 Subject: [PATCH 2/2] fix: liveness probe path --- .../default-config/mojaloop-values-override.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/terraform/k8s/default-config/mojaloop-values-override.yaml b/terraform/k8s/default-config/mojaloop-values-override.yaml index 271476f8d..72be36eb1 100644 --- a/terraform/k8s/default-config/mojaloop-values-override.yaml +++ b/terraform/k8s/default-config/mojaloop-values-override.yaml @@ -59,20 +59,7 @@ centralsettlement: replicaCount: 0 config: *BASE_CONFIG centralsettlement-handler-rules: *CONFIG -transaction-requests-service: - replicaCount: 1 - readinessProbe: - initialDelaySeconds: 5 - timeoutSeconds: 2 - livenessProbe: - initialDelaySeconds: 5 - timeoutSeconds: 1 - periodSeconds: 1 - sidecar: - readinessProbe: - initialDelaySeconds: 5 - livenessProbe: - initialDelaySeconds: 5 +transaction-requests-service: *SERVICE thirdparty: auth-svc: replicaCount: 1