hazelcast-jet
Hazelcast Jet is an application embeddable, distributed computing engine built on top of Hazelcast In-Memory Data Grid (IMDG). With Hazelcast IMDG providing storage functionality, Hazelcast Jet performs parallel execution to enable data-intensive applications to operate in near real-time.
About this chart
Hazelcast Jet
Hazelcast Jet is a distributed computing platform built for high-performance stream processing and fast batch processing. It embeds Hazelcast In-Memory Data Grid (IMDG) to provide a lightweight, simple-to-deploy package that includes scalable in-memory storage.
Visit jet-start.sh to learn more about the architecture and use cases.
Quick Start
$ helm repo add hazelcast https://hazelcast-charts.s3.amazonaws.com/
$ helm repo update
$ helm install my-release hazelcast/hazelcast-jet
For users who already added hazelcast repo to their local helm client before; you need to run helm repo add command again to use latest charts at the new chart repo:
$ helm repo list
NAME URL
hazelcast https://hazelcast.github.io/charts/
...
$ helm repo add hazelcast https://hazelcast-charts.s3.amazonaws.com/
$ helm repo list
NAME URL
hazelcast https://hazelcast-charts.s3.amazonaws.com/
...
Introduction
This chart bootstraps a Hazelcast Jet and Hazelcast Jet Management Center deployments on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.9+
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release hazelcast/hazelcast-jet
The command deploys Hazelcast Jet 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:
$ 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 Hazelcast chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| image.repository | Hazelcast Jet Image name | hazelcast/hazelcast-jet |
| image.tag | Hazelcast Jet Image tag | {VERSION} |
| image.pullPolicy | Image pull policy | IfNotPresent |
| image.pullSecrets | Specify docker-registry secret names as an array | nil |
| cluster.memberCount | Number of Hazelcast Jet members | 2 |
| jet.javaOpts | Additional JAVA_OPTS properties for Hazelcast Jet member | nil |
| jet.loggingLevel | Level of Hazelcast Jet logs (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, and FINEST); note that changing this value requires setting securityContext.runAsUser to 0 | nil |
| jet.yaml.hazelcast-jet and jet.yaml.hazelcast | Hazelcast Jet and IMDG YAML configurations (hazelcast-jet.yaml and hazelcast.yaml embedded into values.yaml) | {DEFAULT_JET_YAML} and {DEFAULT_HAZELCAST_YAML} |
| jet.configurationFiles | Hazelcast configuration files | nil |
| hostPort | Port under which Hazelcast Jet PODs are exposed on the host machines | nil |
| affinity | Hazelcast Node affinity | nil |
| tolerations | Hazelcast Node tolerations | nil |
| nodeSelector | Hazelcast Node labels for pod assignment | nil |
| gracefulShutdown.enabled | Turn on and off Graceful Shutdown | true |
| gracefulShutdown.maxWaitSeconds | Maximum time to wait for the Hazelcast Jet POD to shut down | 600 |
| livenessProbe.enabled | Turn on and off liveness probe | true |
| livenessProbe.initialDelaySeconds | Delay before liveness probe is initiated | 30 |
| livenessProbe.periodSeconds | How often to perform the probe | 10 |
| livenessProbe.timeoutSeconds | When the probe times out | 5 |
| livenessProbe.successThreshold | Minimum consecutive successes for the probe to be considered successful after having failed | 1 |
| livenessProbe.failureThreshold | Minimum consecutive failures for the probe to be considered failed after having succeeded. | 3 |
| livenessProbe.path | URL path that will be called to check liveness. | /hazelcast/health/node-state |
| livenessProbe.port | Port that will be used in liveness probe calls. | nil |
| livenessProbe.scheme | HTTPS or HTTP scheme. | HTTP |
| readinessProbe.enabled | Turn on and off readiness probe | true |
| readinessProbe.initialDelaySeconds | Delay before readiness probe is initiated | 30 |
| readinessProbe.periodSeconds | How often to perform the probe | 10 |
| readinessProbe.timeoutSeconds | When the probe times out | 1 |
| readinessProbe.successThreshold | Minimum consecutive successes for the probe to be considered successful after having failed | 1 |
| readinessProbe.failureThreshold | Minimum consecutive failures for the probe to be considered failed after having succeeded. | 3 |
| readinessProbe.path | URL path that will be called to check readiness. | /hazelcast/health/node-state |
| readinessProbe.port | Port that will be used in readiness probe calls. | nil |
| readinessProbe.scheme | HTTPS or HTTP scheme. | HTTP |
| resources | CPU/Memory resource requests/limits | nil |
| service.type | Kubernetes service type (ClusterIP, LoadBalancer, or NodePort) | ClusterIP |
| service.port | Kubernetes service port | 5701 |
| service.clusterIP | IP of the service, "None" makes the service headless | None |
| rbac.create | Enable installing RBAC Role authorization | true |
| serviceAccount.create | Enable installing Service Account | true |
| serviceAccount.name | Name of Service Account, if not set, the name is generated using the fullname template | nil |
| securityContext.enabled | Enables Security Context for Hazelcast Jet and Hazelcast Jet Management Center | true |
| securityContext.runAsUser | User ID used to run the Hazelcast Jet and Hazelcast Jet Management Center containers |
Deploy hazelcast-jet with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hazelcast-jet 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charthazelcast-jet is pinned at v1.17.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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