Starting from ECK 2.4.0, a Helm chart is available for managing Elastic Stack resources using the ECK Operator. It is available from the Elastic Helm repository and can be added to your Helm repository list by running the following command:
helm repo add elastic https://helm.elastic.co helm repo update
The minimum supported version of Helm is 3.2.0.
ECK Stack Helm Charts are currently being released as an Enterprise licensed feature.
Installing Elasticsearch and Kibana using the eck-stack Helm Chartedit
Similar to the quickstart, the following section describes how to setup an Elasticsearch cluster with a simple Kibana instance managed by ECK, and how to customize a deployment using the eck-stack Helm chart’s values.
# Install an eck-managed Elasticsearch and Kibana using the default values, which deploys the quickstart examples. helm install es-kb-quickstart elastic/eck-stack -n elastic-stack --create-namespace
Customizing Kibana and Elasticsearch using the eck-stack Helm Chart’s example valuesedit
There are example Helm values files for installing and managing a more advanced Elasticsearch and/or Kibana in the project repository.
To use one or more of these example configurations, use the
--values Helm option, as seen in the following section.
# Install an eck-managed Elasticsearch and Kibana using the Elasticsearch node roles example with hot, warm, and cold data tiers, and the Kibana example customizing the http service. helm install es-quickstart elastic/eck-stack -n elastic-stack --create-namespace \ --values https://raw.githubusercontent.com/elastic/cloud-on-k8s/2.8/deploy/eck-stack/examples/elasticsearch/hot-warm-cold.yaml \ --values https://raw.githubusercontent.com/elastic/cloud-on-k8s/2.8/deploy/eck-stack/examples/kibana/http-configuration.yaml
Installing Fleet Server with Elastic Agents along with Elasticsearch and Kibana using the eck-stack Helm Chartedit
The following section builds upon the previous section, and allows installing Fleet Server, and Fleet-managed Elastic Agents along with Elasticsearch and Kibana.
# Install an eck-managed Elasticsearch, Kibana, Fleet Server, and managed Elastic Agents using custom values. helm install eck-stack-with-fleet elastic/eck-stack \ --values https://raw.githubusercontent.com/elastic/cloud-on-k8s/2.8/deploy/eck-stack/examples/agent/fleet-agents.yaml -n elastic-stack
Installing individual components of the Elastic Stack using the Helm Chartsedit
You can install individual components in one of two ways using the provided Helm Charts.
- Using Helm values
- Using the individual Helm Charts directly
Using Helm values to install only Elasticsearch
helm install es-quickstart elastic/eck-stack -n elastic-stack --create-namespace --set=eck-kibana.enabled=false
Using the eck-elasticsearch Helm Chart directly to install only Elasticsearch
helm install es-quickstart elastic/eck-elasticsearch -n elastic-stack --create-namespace
Intro to Kibana
ELK for Logs & Metrics