Menu
Open source
Deploy Grafana Alloy on Kubernetes
Alloy can be deployed on Kubernetes by using the Helm chart for Alloy.
Before you begin
- Install Helm on your computer.
- Configure a Kubernetes cluster that you can use for Alloy.
- Configure your local Kubernetes context to point at the cluster.
Deploy
To deploy Alloy 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 Alloy:
shellkubectl create namespace <NAMESPACE>
Replace the following:
<NAMESPACE>
: The namespace to use for your Alloy installation, such asalloy
.
Install Alloy:
shellhelm install --namespace <NAMESPACE> <RELEASE_NAME> grafana/alloy
Replace the following:
<NAMESPACE>
: The namespace created in the previous step.<RELEASE_NAME>
: The name to use for your Alloy installation, such asalloy
.
Verify that the Alloy pods are running:
shellkubectl get pods --namespace <NAMESPACE>
Replace the following:
<NAMESPACE>
: The namespace used in the previous step.
You have successfully deployed Alloy on Kubernetes, using default Helm settings.
Next steps
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
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.
Video
Optimizing Kubernetes Operations with Grafana Cloud
Join us for an insightful Grafana Cloud webinar dedicated to advanced Kubernetes monitoring techniques.
Video
Incident management with Grafana IRM & SLOS in Grafana Cloud
This webinar shows you how to prioritize critical resources through service level objective(SLO)-driven incident response and management (IRM).