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.
This is documentation for the next version of Agent. For the latest stable release, go to the latest version.
Deploy Grafana Agent in static mode on Kubernetes
You can use the Helm chart for Grafana Agent to deploy Grafana Agent in static mode on Kubernetes.
Before you begin
- Install Helm on your computer.
- Configure a Kubernetes cluster that you can use for Grafana Agent.
- Configure your local Kubernetes context to point to the cluster.
Deploy
Note
These instructions show you how to install the generic Helm chart for Grafana Agent. You can deploy Grafana Agent in static mode or flow mode. The Helm chart deploys flow mode by default.
To deploy Grafana Agent in static mode on Kubernetes using Helm, run the following commands in a terminal window:
Add the Grafana Helm chart repository:
helm repo add grafana https://grafana.github.io/helm-charts
Update the Grafana Helm chart repository:
helm repo update
Install Grafana Agent in static mode:
helm install <RELEASE_NAME> grafana/grafana-agent --set agent.mode=static
Replace the following:
<RELEASE_NAME>
: The name to use for your Grafana Agent installation, such asgrafana-agent
.
Warning
Always pass--set agent.mode=static
inhelm install
orhelm upgrade
commands to ensure Grafana Agent gets installed in static mode. Alternatively, setagent.mode
tostatic
in your values.yaml file.
For more information on the Grafana Agent Helm chart, refer to the Helm chart documentation on Artifact Hub.