elasticsearch

by ygqygq2

Helm chartv17.9.29App 7.17.3Verified publisher

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.

Overview of Elasticsearch

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.coordinating.nameCoordinating name to be used in the Kibana subchart (service name)coordinating-only
global.kibanaEnabledWhether or not to enable Kibanafalse

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
clusterDomainKubernetes cluster domaincluster.local
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

Elasticsearch parameters

NameDescriptionValue
image.registryElasticsearch image registrydocker.io
image.repositoryElasticsearch image repositorybitnami/elasticsearch
image.tagElasticsearch image tag (immutable tags are recommended)7.16.3-debian-10-r0
image.pullPolicyElasticsearch image pull policyIfNotPresent
image.pullSecretsElasticsearch image pull secrets[]
image.debugEnable image debug modefalse
security.enabledEnable X-Pack Security settingsfalse
security.elasticPasswordPassword for 'elastic' user""
security.existingSecretName of the existing secret containing the Elasticsearch password""
security.fipsModeConfigure elasticsearch with FIPS 140 compliant modefalse
security.tls.restEncryptionEnable SSL/TLS encryption for Elasticsearch REST API.true
security.tls.autoGeneratedCreate self-signed TLS certificates.false
security.tls.verificationModeVerification mode for SSL communications.full
security.tls.master.existingSecretExisting secret containing the certificates for the master nodes""
security.tls.data.existingSecretExisting secret containing the certificates for the data nodes""
security.tls.ingest.existingSecretExisting secret containing the certificates for the ingest nodes""
security.tls.coordinating.existingSecretExisting secret containing the certificates for the coordinating nodes""
security.tls.keystorePasswordPassword to access the JKS/PKCS12 keystore or PEM key when they are password-protected.""
security.tls.truststorePasswordPassword to access the JKS/PKCS12 truststore when they are password-protected.""
security.tls.keystoreFilenameName of the keystore fileelasticsearch.keystore.jks
security.tls.truststoreFilenameName of the truststoreelasticsearch.truststore.jks
security.tls.usePemCertsUse this variable if your secrets contain PEM certificates instead of JKS/PKCS12false
security.tls.keyPasswordPassword to access the PEM key when they are password-protected.""
nameElasticsearch cluster nameelastic
pluginsComma, semi-colon or space separated list of plugins to install at initialization""
snapshotRepoPathFile System snapshot repository path""
configOverride elasticsearch configuration{}
extraConfigAppend extra configuration to the elasticsearch node configuration{}
extraVolumesA list of volumes to be added to the pod[]
extraVolumeMountsA list of volume mounts to be added to the pod[]
initScriptsDictionary of init scripts. Evaluated as a template.{}
initScriptsCMConfigMap with the init scripts. Evaluated as a template.""
initScriptsSecretSecret containing /docker-entrypoint-initdb.d scripts to be executed at initialization time that contain sensitive data. Evaluated as a template.""
extraEnvVarsArray containing extra env vars to be added to all pods (evaluated as a template)[]
extraEnvVarsConfigMapConfigMap containing extra env vars to be added to all pods (evaluated as a template)""
extraEnvVarsSecretSecret containing extra env vars to be added to all pods (evaluated as a template)""

Master parameters

NameDescriptionValue
master.nameMaster-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartelasticsearch is pinned at v17.9.29 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