Back to Charts

⚠️ Repo Archive Notice

stable/terracotta/README.md

latest5.1 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

Terracotta

The Terracotta 5.x OSS offering includes the following:

  • Ehcache 3.x compatibility
  • Distributed In-Memory Data Management with fault-tolerance via Terracotta Server (1 stripe – active with optional mirror)
  • In memory off-heap storage - take advantage of all the RAM in your server

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Quick Start

bash
$ helm install stable/terracotta

Introduction

This chart bootstraps a Terracotta server deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.10+

Installing the Chart

To install the chart with the release name my-release:

bash
$ helm install --name my-release stable/terracotta

The command deploys Terracotta on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

bash
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Terracotta chart and their default values.

ParameterDescriptionDefault
image.repositoryTerracotta Image nameterracotta/terracotta-server-oss
image.tagTerracotta Image tag{VERSION}
image.pullPolicyImage pull policyAlways
replicaCountNumber of Terracotta members2
offheapsOffheap resource defintions, as a list of {name, size, unit}[{offheap-1, 512, MB}, {offheap-2, 256, MB}]
nodeSelectorTerracotta Node labels for pod assignmentnil
resourcesCPU/Memory resource requests/limitsnil
service.typeKubernetes service type ('ClusterIP', 'LoadBalancer', or 'NodePort')ClusterIP
service.clusterIPKubernetes service ClusterIPNone
service.terracottaPortKubernetes main service port9410
service.syncPortKubernetes sync service port9430

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

bash
$ helm install --name my-release \
  --set replicaCount=3  --set offheaps[0].name=otherOffheap --set offheaps[0].unit=GB --set offheaps[0].size=6 \
    stable/terracotta

The above command sets number of Terracotta nodes to 3, and it defines just 1 offheap resource named otherOffheap, 6 GB large

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

bash
$ helm install --name my-release -f values.yaml stable/terracotta

Tip: You can use the default values.yaml