From ed5b60d9bd9a5ffab80b15d6b006a617e4fe6a81 Mon Sep 17 00:00:00 2001 From: David Ward Date: Fri, 6 Sep 2019 11:25:44 -0400 Subject: [PATCH] [RHPAM-2354] OutOfMemoryError on Datagrid cause issues on project import indexing (#284) Signed-off-by: David Ward --- templates/rhdm75-authoring-ha.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/templates/rhdm75-authoring-ha.yaml b/templates/rhdm75-authoring-ha.yaml index 2a1b0611..e29f56ae 100644 --- a/templates/rhdm75-authoring-ha.yaml +++ b/templates/rhdm75-authoring-ha.yaml @@ -173,12 +173,17 @@ parameters: - displayName: DataGrid Image description: DataGrid image. name: DATAGRID_IMAGE - value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.2 + required: true +- displayName: DataGrid Container CPU Limit + description: DataGrid Container cpu limit. + name: DATAGRID_CPU_LIMIT + value: "1000m" required: true - displayName: DataGrid Container Memory Limit description: DataGrid Container memory limit. name: DATAGRID_MEMORY_LIMIT - value: "512Mi" + value: "2Gi" required: true - displayName: DataGrid Volume Capacity description: Size of the persistent storage for DataGrid's runtime data. @@ -754,9 +759,10 @@ objects: timeoutSeconds: 10 resources: limits: + cpu: ${DATAGRID_CPU_LIMIT} memory: ${DATAGRID_MEMORY_LIMIT} requests: - cpu: "0.5" + cpu: ${DATAGRID_CPU_LIMIT} memory: ${DATAGRID_MEMORY_LIMIT} volumeMounts: - mountPath: /opt/datagrid/standalone/data