elasticsearch
Elasticsearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.
About this chart
Bitnami Elasticsearch Stack
Elasticsearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/elasticsearch
Introduction
This chart bootstraps a Elasticsearch deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This Helm chart has been tested on top of Bitnami Kubernetes Production Runtime (BKPR). Deploy BKPR to get automated TLS certificates, logging and monitoring for your applications.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/elasticsearch
These commands deploy Elasticsearch on the Kubernetes cluster in the default configuration. The Parameters 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 release:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release. Remove also the chart using --purge option:
$ helm delete --purge my-release
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.coordinating.name | Coordinating name to be used in the Kibana subchart (service name) | coordinating-only |
global.kibanaEnabled | Whether or not to enable Kibana | false |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
clusterDomain | Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
Elasticsearch parameters
| Name | Description | Value |
|---|---|---|
image.registry | Elasticsearch image registry | docker.io |
image.repository | Elasticsearch image repository | bitnami/elasticsearch |
image.tag | Elasticsearch image tag (immutable tags are recommended) | 7.16.3-debian-10-r0 |
image.pullPolicy | Elasticsearch image pull policy | IfNotPresent |
image.pullSecrets | Elasticsearch image pull secrets | [] |
image.debug | Enable image debug mode | false |
security.enabled | Enable X-Pack Security settings | false |
security.elasticPassword | Password for 'elastic' user | "" |
security.existingSecret | Name of the existing secret containing the Elasticsearch password | "" |
security.fipsMode | Configure elasticsearch with FIPS 140 compliant mode | false |
security.tls.restEncryption | Enable SSL/TLS encryption for Elasticsearch REST API. | true |
security.tls.autoGenerated | Create self-signed TLS certificates. | false |
security.tls.verificationMode | Verification mode for SSL communications. | full |
security.tls.master.existingSecret | Existing secret containing the certificates for the master nodes | "" |
security.tls.data.existingSecret | Existing secret containing the certificates for the data nodes | "" |
security.tls.ingest.existingSecret | Existing secret containing the certificates for the ingest nodes | "" |
security.tls.coordinating.existingSecret | Existing secret containing the certificates for the coordinating nodes | "" |
security.tls.keystorePassword | Password to access the JKS/PKCS12 keystore or PEM key when they are password-protected. | "" |
security.tls.truststorePassword | Password to access the JKS/PKCS12 truststore when they are password-protected. | "" |
security.tls.keystoreFilename | Name of the keystore file | elasticsearch.keystore.jks |
security.tls.truststoreFilename | Name of the truststore | elasticsearch.truststore.jks |
security.tls.usePemCerts | Use this variable if your secrets contain PEM certificates instead of JKS/PKCS12 | false |
security.tls.keyPassword | Password to access the PEM key when they are password-protected. | "" |
name | Elasticsearch cluster name | elastic |
plugins | Comma, semi-colon or space separated list of plugins to install at initialization | "" |
snapshotRepoPath | File System snapshot repository path | "" |
config | Override elasticsearch configuration | {} |
extraConfig | Append extra configuration to the elasticsearch node configuration | {} |
extraVolumes | A list of volumes to be added to the pod | [] |
extraVolumeMounts | A list of volume mounts to be added to the pod | [] |
initScripts | Dictionary of init scripts. Evaluated as a template. | {} |
initScriptsCM | ConfigMap with the init scripts. Evaluated as a template. | "" |
initScriptsSecret | Secret containing /docker-entrypoint-initdb.d scripts to be executed at initialization time that contain sensitive data. Evaluated as a template. | "" |
extraEnvVars | Array containing extra env vars to be added to all pods (evaluated as a template) | [] |
extraEnvVarsConfigMap | ConfigMap containing extra env vars to be added to all pods (evaluated as a template) | "" |
extraEnvVarsSecret | Secret containing extra env vars to be added to all pods (evaluated as a template) | "" |
Master parameters
| Name | Description | Value |
|---|---|---|
master.name | Master-eligible node pod name | `ma |
Deploy elasticsearch with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elasticsearch 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 chartelasticsearch is pinned at v17.9.29 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