Menu
Open source
Deploy Grafana Agent in flow mode on Kubernetes
Grafana Agent can be deployed on Kubernetes by using the Helm chart for Grafana Agent.
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 either in static mode or flow mode. The Helm chart deploys Grafana Agent in flow mode by default.
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
Install Grafana Agent:
shellhelm install RELEASE_NAME grafana/grafana-agent
Replace
RELEASE_NAME
with a name to use for your Grafana Agent installation, such asgrafana-agent-flow
.
For more information on the Grafana Agent Helm chart, refer to the Helm chart documentation on Artifact Hub.