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.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/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.
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 my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/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.elasticsearch.service.name | Elasticsearch service name to be used in the Kibana subchart (ignored if kibanaEnabled=false) | elasticsearch |
global.elasticsearch.service.ports.restAPI | Elasticsearch service restAPI port to be used in the Kibana subchart (ignored if kibanaEnabled=false) | 9200 |
global.kibanaEnabled | Whether or not to enable Kibana | false |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
namespaceOverride | String to fully override common.names.namespace | "" |
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 cluster Parameters
| Name | Description | Value |
|---|---|---|
clusterName | Elasticsearch cluster name | elastic |
containerPorts.restAPI | Elasticsearch REST API port | 9200 |
containerPorts.transport | Elasticsearch Transport port | 9300 |
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 | {} |
extraHosts | A list of external hosts which are part of this cluster | [] |
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) | [] |
extraEnvVarsCM | 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) | "" |
sidecars | Add additional sidecar containers to the all elasticsearch node pod(s) | [] |
initContainers | Add additional init containers to the all elasticsearch node pod(s) | [] |
image.registry | Elasticsearch image registry | docker.io |
image.repository | Elasticsearch image repository | bitnami/elasticsearch |
image.tag | Elasticsearch image tag (immutable tags are recommended) | 8.5.0-debian-11-r0 |
image.digest | Elasticsearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Elasticsearch image pull policy | IfNotPresent |
image.pullSecrets | Elasticsearch image pull secrets | [] |
image.debug | Enable Elasticsearch 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 and | "" |
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 |
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 v19.4.6 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