Cassandra Installation with Helm: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:


=Configuration=
=Configuration=
==JVM Heap Parameters==
Add the following to the configuration overlay:
<syntaxhighlight lang='yaml'>
extraEnvVars:
  - name: JVM_OPTS
    value: '-Xms4G -Xmx4G -Xmn1G'
</syntaxhighlight>
The -Xms, -Xmx and -Xmn values defined here will take precedence and will override the values calculated by the startup scripts.

Revision as of 00:57, 12 January 2021

External

Internal

Overview

helm repo add bitnami https://charts.bitnami.com/bitnami
helm install my-release bitnami/cassandra

Configuration

JVM Heap Parameters

Add the following to the configuration overlay:

extraEnvVars:
  - name: JVM_OPTS
    value: '-Xms4G -Xmx4G -Xmn1G'

The -Xms, -Xmx and -Xmn values defined here will take precedence and will override the values calculated by the startup scripts.