Menu
Caution
Grafana Alloy is the new name for our distribution of the OTel collector. Grafana Agent has been deprecated and is in Long-Term Support (LTS) through October 31, 2025. Grafana Agent will reach an End-of-Life (EOL) on November 1, 2025. Read more about why we recommend migrating to Grafana Alloy.
Open source
Deploy Grafana Agent Flow on Kubernetes
You can use a Helm chart to deploy Grafana Agent Flow on Kubernetes.
Note
These instructions show you how to install using a generic Helm chart for Grafana Agent Flow. You can deploy Grafana Agent either in static mode or flow mode. The Helm chart deploys Grafana Agent Flow by default.
Before you begin
- Install Helm on your computer.
- Configure a Kubernetes cluster that you can use for Grafana Agent Flow.
- Configure your local Kubernetes context to point to the cluster.
Deploy
To deploy Grafana Agent on Kubernetes using Helm, run the following commands in a terminal window:
Add the Grafana Helm chart repository:
shellhelm repo add grafana https://grafana.github.io/helm-charts
Update the Grafana Helm chart repository:
shellhelm repo update
Create a namespace for Grafana Agent Flow:
shellkubectl create namespace <NAMESPACE>
Replace the following:
<NAMESPACE>
: The namespace to use for your Grafana Agent Flow installation, such asagent
.
Install Grafana Agent:
shellhelm install --namespace <NAMESPACE> <RELEASE_NAME> grafana/grafana-agent
Replace the following:
<NAMESPACE>
: The namespace created in the previous step.<RELEASE_NAME>
: The name to use for your Grafana Agent installation, such asgrafana-agent-flow
.
Verify that the Grafana Agent Flow pods are running:
shellkubectl get pods --namespace <NAMESPACE>
Replace the following:
<NAMESPACE>
: The namespace used in the previous step.
You have successfully deployed Grafana Agent Flow on Kubernetes, using default Helm settings. To configure Grafana Agent Flow, see the Configure Grafana Agent Flow on Kubernetes guide.
Next steps
Refer to the Grafana Agent Flow Helm chart documentation on Artifact Hub for more information about Helm chart.
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.
Video
Intro to Alerting with Grafana
Master alerting with Grafana: Navigate the complexities, reduce false positives, and boost reliability for your systems.
Video
Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.