Install Elastic Agent on Kubernetes using Helm
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
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 upgrades, 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.
- The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.5 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. Support for Red Hat OpenShift.
For detailed install steps, try one of our walk-through examples:
- Example: Install standalone Elastic Agent on Kubernetes using Helm
- Example: Install Fleet-managed Elastic Agent on Kubernetes using Helm
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.