storm

by Helm

Helm chartv1.2.0App 2.4.0

Apache Storm is a free and open source distributed realtime computation system.

About this chart

Storm

Apache Storm is a free and open source distributed realtime computation system. Storm makes it easy to reliably process unbounded streams of data, doing for realtime processing what Hadoop did for batch processing. Storm is simple, can be used with any programming language, and is a lot of fun to use!

Prerequisites

This example assumes you have a Kubernetes cluster installed and running, and that you have installed the kubectl command line tool somewhere in your path. Please see the getting started for installation instructions for your platform.

Installing the Chart

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

$ helm repo add gresearch https://g-research.github.io/charts
$ helm install my-storm gresearch/storm

Configuration

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

Global

ParameterDescriptionDefault
nameOverrideOverride to expand name of chart""
fullnameOverrideOverride App Name""
enabledEnable charttrue
namespaceOverride namespace""

Nimbus

ParameterDescriptionDefault
nimbus.replicaCountNumber of replicas1
nimbus.image.repositoryContainer image namestorm
nimbus.image.tagContainer image version2.4.0
nimbus.image.pullPolicyThe default pull policyIfNotPresent
nimbus.service.nameService namenimbus
nimbus.service.typeService TypeClusterIP
nimbus.service.portService Port6627
nimbus.resources.limits.cpuCompute resources100m

Supervisor

ParameterDescriptionDefault
supervisor.replicaCountNumber of replicas2
supervisor.image.repositoryContainer image namestorm
supervisor.image.tagContainer image version2.4.0
supervisor.image.pullPolicyThe default pull policyIfNotPresent
supervisor.service.nameService Namesupervisor
supervisor.service.typeService TypeClusterIP
supervisor.slotsSlots/Workers (one port each)4
supervisor.resources.requests.memoryCompute Resouces512Mi
supervisor.resources.requests.cpuCompute Resouces1
supervisor.resources.limits.memoryCompute Resouces1024Mi
supervisor.resources.limits.cpuCompute Resouces2
supervisor.extraVolumesOptionally specify extra list of additional volumes[]
supervisor.extraVolumeMountsOptionally specify extra list of additional volumeMounts[]

User Interface

ParameterDescriptionDefault
ui.enabledEnable the UItrue
ui.replicaCountNumber of replicas1
ui.image.repositoryContainer image namestorm
ui.image.tagUI image version2.4.0
ui.image.pullPolicyThe default pull policyIfNotPresent
ui.service.typeUI Service TypeClusterIP
ui.service.nameUI service nameui
ui.service.portUI service port8080
ui.resources.limits.cpuCompute resources100m
ui.header.bufferbytesMax size of headers8192kB

Zookeeper

ParameterDescriptionDefault
zookeeper.enabledEnable Zookeepertrue
zookeeper.service.nameService namezookeeper

Store

ParameterDescriptionDefault
store.localdatadirData dir location/data
store.logdirLogs dir location/logs
store.log4j2confLog4j2 dir location/log4j2
store.configConfig dir location/conf
store.metricsdbMetrics db dir location/storm_rocks

Security

ParameterDescriptionDefault
security.useridRun as user1000
security.groupidGroup ID2000

Topology

ParameterDescriptionDefault
topology.javaserializationSet Java Serializationtrue
topology.loadaware.disablemessagingDisable loadaware messagingtrue

JMX

ParameterDescriptionDefault
jmx.enabledEnable JMX exporter metrics servicefalse
jmx.configStorm metrics to export.*

Exporters

ParameterDescriptionDefault
exporter.prometheus.enabledEnable Prometheus exportertrue

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

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

$ helm install --name my-release -f values.yaml incubator/storm

Tip: You can use the default values.yaml

Deploy storm with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has storm on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartstorm is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply