From 99865faf463c042e3733a9f5a64aa0104206c2d2 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Wed, 8 Nov 2023 11:22:11 +0100 Subject: [PATCH] chore(qs-updater): increase jvm heap size --- k8s/helmfile/env/local/queryservice-updater.values.yaml.gotmpl | 3 ++- .../env/production/queryservice-updater.values.yaml.gotmpl | 1 + .../env/staging/queryservice-updater.values.yaml.gotmpl | 3 ++- k8s/helmfile/helmfile.yaml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/k8s/helmfile/env/local/queryservice-updater.values.yaml.gotmpl b/k8s/helmfile/env/local/queryservice-updater.values.yaml.gotmpl index 8e9d48279..adfdd2cc4 100644 --- a/k8s/helmfile/env/local/queryservice-updater.values.yaml.gotmpl +++ b/k8s/helmfile/env/local/queryservice-updater.values.yaml.gotmpl @@ -1 +1,2 @@ -# local resembles production so this file is empty +app: + extraJvmOpts: "-XshowSettings:vm -XX:+UseContainerSupport -XX:+ExitOnOutOfMemoryError -Xms15m -Xmx30m -XX:MetaspaceSize=20m -XX:MaxMetaspaceSize=30m" diff --git a/k8s/helmfile/env/production/queryservice-updater.values.yaml.gotmpl b/k8s/helmfile/env/production/queryservice-updater.values.yaml.gotmpl index 332455453..03f96c73f 100644 --- a/k8s/helmfile/env/production/queryservice-updater.values.yaml.gotmpl +++ b/k8s/helmfile/env/production/queryservice-updater.values.yaml.gotmpl @@ -9,6 +9,7 @@ app: loopLimit: 100 getBatchesEndpoint: http://api-app-backend.default.svc.cluster.local/backend/qs/getBatches wikibaseScheme: http + extraJvmOpts: "-XshowSettings:vm -XX:+UseContainerSupport -XX:+ExitOnOutOfMemoryError -Xms64m -Xmx128m -XX:MetaspaceSize=20m -XX:MaxMetaspaceSize=30m" resources: requests: diff --git a/k8s/helmfile/env/staging/queryservice-updater.values.yaml.gotmpl b/k8s/helmfile/env/staging/queryservice-updater.values.yaml.gotmpl index 302f5bccc..adfdd2cc4 100644 --- a/k8s/helmfile/env/staging/queryservice-updater.values.yaml.gotmpl +++ b/k8s/helmfile/env/staging/queryservice-updater.values.yaml.gotmpl @@ -1 +1,2 @@ -# staging resembles production so this file is empty +app: + extraJvmOpts: "-XshowSettings:vm -XX:+UseContainerSupport -XX:+ExitOnOutOfMemoryError -Xms15m -Xmx30m -XX:MetaspaceSize=20m -XX:MaxMetaspaceSize=30m" diff --git a/k8s/helmfile/helmfile.yaml b/k8s/helmfile/helmfile.yaml index e47560fdd..f17802c4a 100644 --- a/k8s/helmfile/helmfile.yaml +++ b/k8s/helmfile/helmfile.yaml @@ -187,7 +187,7 @@ releases: - name: queryservice-updater namespace: default chart: wbstack/queryservice-updater - version: 0.1.2 + version: 0.2.0 <<: *default_release - name: tool-cradle