1
0
Fork 0

updated memory reservation of MOLGENIS container and updated notation of memory elastic

This commit is contained in:
sido 2018-09-11 12:36:57 +02:00
parent fc7c564e44
commit 36f6a242c6
3 changed files with 17 additions and 11 deletions

View File

@ -64,19 +64,15 @@ You can specify the location of the OpenCPU cluster by specifying this property:
You can test OpenCPU settings using the **OpenCPU**-helm chart of MOLGENIS. You can test OpenCPU settings using the **OpenCPU**-helm chart of MOLGENIS.
## Resources ## Resources
You can specify resources by resource type. There are 3 resource types. You can specify resources by resource type. There are 2 resource types.
- cpu's
- memory of container - memory of container
- memory of JVM - maximum heap space JVM
Specify number of cpu's:
- ```molgenis.resources.limits.cpu```
Specify memory usage of container: Specify memory usage of container:
- ```molgenis.resources.limits.memory``` - ```molgenis.resources.limits.memory```
Specify memory usage for Java JVM: Specify memory usage for Java JVM:
- ```molgenis.javaOpts``` - ```molgenis.javaOpts.maxHeapSpace```
Select the resources you need dependant on the customer you need to serve. Select the resources you need dependant on the customer you need to serve.

View File

@ -70,7 +70,17 @@ questions:
- "2500Mi" - "2500Mi"
required: true required: true
group: "Resources" group: "Resources"
label: Container memory limit label: Container memory reservation
- variable: molgenis.resources.requests.memory
default: 1250Mi
description: "Memory reservation for this MOLGENIS container"
type: enum
options:
- "1250Mi"
- "2500Mi"
required: true
group: "Resources"
label: Container memory reservation
- variable: molgenis.javaOpts.maxHeapSpace - variable: molgenis.javaOpts.maxHeapSpace
default: "1g" default: "1g"
description: "Maximum heap space MOLGENIS container JVM. Please not this should fit in your container memory limit" description: "Maximum heap space MOLGENIS container JVM. Please not this should fit in your container memory limit"
@ -79,4 +89,4 @@ questions:
- "1g" - "1g"
- "2g" - "2g"
group: "Resources" group: "Resources"
label: Maximum heap space label: Maximum heap space (JVM)

View File

@ -30,7 +30,7 @@ molgenis:
memory: 1250Mi memory: 1250Mi
requests: requests:
cpu: 200m cpu: 200m
memory: 1Gi memory: 1250Mi
services: services:
opencpu: opencpu:
host: localhost host: localhost
@ -48,7 +48,7 @@ elasticsearch:
repository: docker.elastic.co/elasticsearch/elasticsearch repository: docker.elastic.co/elasticsearch/elasticsearch
tag: 5.5.3 tag: 5.5.3
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
javaOpts: "-Xms1024m -Xmx1024m" javaOpts: "-Xms1g -Xmx1g"
clusterName: molgenis clusterName: molgenis
resources: resources:
limits: limits: