Install Elastic Agent on Kubernetes using Helm
editInstall Elastic Agent on Kubernetes using Helm
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
Starting with Elastic Stack version 8.16, a Helm chart is available for installing Elastic Agent in a Kubernetes environment. A Helm-based install offers several advantages, including simplified deployment, availability in marketplaces, streamlined ugrades, as well as quick rollbacks whenever they’re needed.
Features of the Helm-based Elastic Agent install include:
- Support for both standalone and Fleet-managed Elastic Agent.
- For standalone agents, a built-in Kubernetes policy similar to that available in Fleet for Fleet-managed agents.
- Support for custom integrations.
- Support for Elasticsearch outputs with authentication through username and password, an API key, or a stored secret.
-
Easy switching between privileged (
root
) and unprivileged Elastic Agent deployments. - Support for Elastic Stack deployments on Elastic Cloud on Kubernetes.
For detailed install steps, try one of our walk-through examples:
The Elastic Agent Helm chart is currently available from inside the elastic/elastic-agent GitHub repo. It’s planned to soon make the chart available from the Elastic Helm repository.
You can also find details about the Helm chart, including all available YAML settings and descriptions, in the Elastic Agent Helm Chart Readme. Several examples are available if you’d like to explore other use cases.