From c269997fd0c29076cf3ab0173271ae5101fb8989 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 30 Jul 2018 21:08:40 +0200 Subject: [PATCH 1/3] added MOLGENIS resources to questions --- molgenis-preview/Chart.yaml | 2 +- molgenis-preview/questions.yml | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/molgenis-preview/Chart.yaml b/molgenis-preview/Chart.yaml index 071bc2d..447448c 100644 --- a/molgenis-preview/Chart.yaml +++ b/molgenis-preview/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: A Helm chart for Kubernetes name: molgenis -version: 0.1.0 +version: 0.2.0 diff --git a/molgenis-preview/questions.yml b/molgenis-preview/questions.yml index 85819f6..71de7b6 100644 --- a/molgenis-preview/questions.yml +++ b/molgenis-preview/questions.yml @@ -8,4 +8,28 @@ questions: type: hostname required: true group: "Services and Load Balancing" - label: Hostname \ No newline at end of file + label: Hostname +- variable: molgenis.resources.limits.cpu + default: 1 + description: "CPU limit for this MOLGENIS instance" + type: enum + options: + - "1" + - "2" + - "3" + - "4" + required: true + group: "MOLGENIS - Resource limits" + label: CPU limit +- variable: molgenis.resources.limits.memory + default: 1250Mi + description: "Memory limit for this MOLGENIS instance" + type: enum + options: + - "1250Mi" + - "1500Mi" + - "2000Mi" + - "2500Mi" + required: true + group: "MOLGENIS - Resource limits" + label: Memory limit \ No newline at end of file From 936e1252fd307bd7d2f4b7339499816274577490 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 30 Jul 2018 21:23:13 +0200 Subject: [PATCH 2/3] added Java runtime question --- molgenis-preview/questions.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/molgenis-preview/questions.yml b/molgenis-preview/questions.yml index 71de7b6..f839051 100644 --- a/molgenis-preview/questions.yml +++ b/molgenis-preview/questions.yml @@ -32,4 +32,12 @@ questions: - "2500Mi" required: true group: "MOLGENIS - Resource limits" - label: Memory limit \ No newline at end of file + label: Memory limit +- variable: molgenis.javaOpts + default: "-Xmx1g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" + description: "Java runtime options for the MOLGENIS instance" + type: enum + options: + - "-Xmx1g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" + - "-Xmx2g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" + label: Java memory options From 521c92f37979abbc72522b485cad4f0d0c2778e5 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 30 Jul 2018 21:28:51 +0200 Subject: [PATCH 3/3] added group --- molgenis-preview/questions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/molgenis-preview/questions.yml b/molgenis-preview/questions.yml index f839051..94b6b97 100644 --- a/molgenis-preview/questions.yml +++ b/molgenis-preview/questions.yml @@ -40,4 +40,5 @@ questions: options: - "-Xmx1g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" - "-Xmx2g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" + group: "MOLGENIS - Resource limits" label: Java memory options