From e9f2c1de776b175836480655a478c3213c6926bf Mon Sep 17 00:00:00 2001 From: Jacopo Carlini Date: Thu, 31 Oct 2024 15:40:51 +0100 Subject: [PATCH 1/6] chore(helm): improve memory + change cron for ci-export --- helm/values-prod.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index a10f12696..4a58109d4 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -59,10 +59,10 @@ microservice-chart: - all resources: requests: - memory: "512Mi" + memory: "768Mi" cpu: "0.5" limits: - memory: "768Mi" + memory: "1024Mi" cpu: "0.5" autoscaling: enable: true @@ -102,7 +102,7 @@ microservice-chart: CRONJOB_SCHEDULE_ENABLED: 'true' CRONJOB_SCHEDULE_TAXONOMYEXPORT: "0 0 7 * * *" CRONJOB_SCHEDULE_IBANEXPORT: "0 0 2 * * *" - CRONJOB_SCHEDULE_CIEXPORT: "0 0 2 * * *" + CRONJOB_SCHEDULE_CIEXPORT: "0 0 3 * * *" EXTRACTION_IBANS_GETBROKERS_LIMIT: '200' EXTRACTION_IBANS_GETIBANS_LIMIT: '1000' EXTRACTION_IBANS_GETCIBYBROKER_LIMIT: '1000' From c9810e72d58f39deead6a648bf8e35775a7e82a8 Mon Sep 17 00:00:00 2001 From: Jacopo Carlini Date: Thu, 31 Oct 2024 15:45:44 +0100 Subject: [PATCH 2/6] chore(helm): update helm value for UAT env --- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 4a58109d4..8ad93c51f 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -101,7 +101,7 @@ microservice-chart: OTEL_TRACES_SAMPLER: "always_on" CRONJOB_SCHEDULE_ENABLED: 'true' CRONJOB_SCHEDULE_TAXONOMYEXPORT: "0 0 7 * * *" - CRONJOB_SCHEDULE_IBANEXPORT: "0 0 2 * * *" + CRONJOB_SCHEDULE_IBANEXPORT: "0 0 1 * * *" CRONJOB_SCHEDULE_CIEXPORT: "0 0 3 * * *" EXTRACTION_IBANS_GETBROKERS_LIMIT: '200' EXTRACTION_IBANS_GETIBANS_LIMIT: '1000' diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 7adc9f615..2513d11e2 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -57,10 +57,10 @@ microservice-chart: - all resources: requests: - memory: "512Mi" + memory: "768Mi" cpu: "0.5" limits: - memory: "768Mi" + memory: "1024Mi" cpu: "0.5" autoscaling: enable: true @@ -99,8 +99,8 @@ microservice-chart: OTEL_TRACES_SAMPLER: "always_on" CRONJOB_SCHEDULE_ENABLED: 'true' CRONJOB_SCHEDULE_TAXONOMYEXPORT: "0 0 7 * * *" - CRONJOB_SCHEDULE_IBANEXPORT: "0 0 2 * * *" - CRONJOB_SCHEDULE_CIEXPORT: "0 0 2 * * *" + CRONJOB_SCHEDULE_IBANEXPORT: "0 0 1 * * *" + CRONJOB_SCHEDULE_CIEXPORT: "0 0 3 * * *" EXTRACTION_IBANS_GETBROKERS_LIMIT: '200' EXTRACTION_IBANS_GETIBANS_LIMIT: '500' EXTRACTION_IBANS_GETCIBYBROKER_LIMIT: '1000' From e0241e52d3ed2507e220ff9177a4dfc8953b918e Mon Sep 17 00:00:00 2001 From: Jacopo Carlini Date: Thu, 31 Oct 2024 15:55:00 +0100 Subject: [PATCH 3/6] chore(helm): add Xms and Xmx options --- helm/values-prod.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 8ad93c51f..c95e69abf 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -110,6 +110,7 @@ microservice-chart: EXTRACTION_IBANS_PERSISTIBANBATCHSIZE: '10000' CLIENT_RETRY_MAX_ATTEMPTS: '3' CLIENT_RETRY_MAX_DELAY: '2000' + JAVA_TOOL_OPTIONS: '-Xms768m -Xmx1024m' envSecret: AWS_ACCESS_KEY_ID: pagopa-p-aws-access-key-id AWS_SECRET_ACCESS_KEY: pagopa-p-aws-secret-access-key From c0aed16ba05514681b72e7c10fb87ca0bd52ba92 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Thu, 31 Oct 2024 14:57:32 +0000 Subject: [PATCH 4/6] Bump to version 2.29.1-1-scheduler-helm-values [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 2d324e2f4..a2725a59f 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-selfcare-ms-backoffice description: Microservice that manage api keys for pagopa product from selfcare type: application -version: 0.419.0 -appVersion: "2.29.1" +version: 0.420.0 +appVersion: "2.29.1-1-scheduler-helm-values" dependencies: - name: microservice-chart version: 2.4.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 9ba683221..da8ee60fe 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1" + tag: "2.29.1-1-scheduler-helm-values" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index c95e69abf..b81c173c8 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1" #improve + tag: "2.29.1-1-scheduler-helm-values" #improve pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 2513d11e2..65906363c 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1" #improve + tag: "2.29.1-1-scheduler-helm-values" #improve pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index 4c636adde..5c9102d11 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "description": "Microservice to manage PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "SelfCare Backoffice", - "version": "2.29.1" + "version": "2.29.1-1-scheduler-helm-values" }, "servers": [ { diff --git a/pom.xml b/pom.xml index 7c115b66d..896d45028 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 2.5.14 pagopa-selfcare-ms-backoffice - 2.29.1 + 2.29.1-1-scheduler-helm-values SelfCare Backoffice Microservice to manage PagoPA Backoffice From 412bd7cb0ab94879da4707308ff07342818b659c Mon Sep 17 00:00:00 2001 From: giomella Date: Mon, 4 Nov 2024 10:48:22 +0100 Subject: [PATCH 5/6] increase memory limit prod --- helm/values-prod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index b81c173c8..accf134c5 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -62,7 +62,7 @@ microservice-chart: memory: "768Mi" cpu: "0.5" limits: - memory: "1024Mi" + memory: "2048Mi" cpu: "0.5" autoscaling: enable: true From 8e6b763bcfdf673b3d3194cf44434dda361b669a Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Mon, 4 Nov 2024 10:04:18 +0000 Subject: [PATCH 6/6] Bump to version 2.29.1-2-scheduler-helm-values [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index a2725a59f..05d5aa9a8 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-selfcare-ms-backoffice description: Microservice that manage api keys for pagopa product from selfcare type: application -version: 0.420.0 -appVersion: "2.29.1-1-scheduler-helm-values" +version: 0.421.0 +appVersion: "2.29.1-2-scheduler-helm-values" dependencies: - name: microservice-chart version: 2.4.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index da8ee60fe..032118439 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1-1-scheduler-helm-values" + tag: "2.29.1-2-scheduler-helm-values" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index accf134c5..d8c7dd0e4 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1-1-scheduler-helm-values" #improve + tag: "2.29.1-2-scheduler-helm-values" #improve pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 65906363c..bf229d63c 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend - tag: "2.29.1-1-scheduler-helm-values" #improve + tag: "2.29.1-2-scheduler-helm-values" #improve pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index 5c9102d11..9aa07dd15 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "description": "Microservice to manage PagoPA Backoffice", "termsOfService": "https://www.pagopa.gov.it/", "title": "SelfCare Backoffice", - "version": "2.29.1-1-scheduler-helm-values" + "version": "2.29.1-2-scheduler-helm-values" }, "servers": [ { diff --git a/pom.xml b/pom.xml index 896d45028..ba468dcd3 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 2.5.14 pagopa-selfcare-ms-backoffice - 2.29.1-1-scheduler-helm-values + 2.29.1-2-scheduler-helm-values SelfCare Backoffice Microservice to manage PagoPA Backoffice