Install the single binary Helm Chart
This Helm Chart installation runs the Grafana Loki single binary within a Kubernetes cluster.
If the filesyste is set to
filesystem, this chart configures Loki to run the
all target in a monolothic, designed to work with a filesystem storage. It will also configure meta-monitoring of metrics and logs.
It is not possible to install the single binary with a different storage type.
Before you begin:
- Helm 3 or above. See Installing Helm.
- A running Kubernetes cluster.
To deploy Loki in monolithic mode:
Add Grafana’s chart repository to Helm:
helm repo add grafana https://grafana.github.io/helm-charts
Update the chart repository:
helm repo update
Create the configuration file
loki: commonConfig: replication_factor: 1 storage: type: 'filesystem'
Deploy the Loki cluster using one of these commands.
Deploy with the defined configuration:
helm install --values values.yaml loki grafana/loki
Deploy with the defined configuration in a custom Kubernetes cluster namespace:
helm install --values values.yaml loki --namespace=loki grafana/loki-simple-scalable
Related Loki resources
Getting started with logging and Grafana Loki (Part 3 of 4)
Join this webinar to learn why correlating metrics and logs is critical across the development lifecycle, and how Loki helps reduce logging costs and operations overhead.
Logging with Loki: Essential configuration settings
This webinar focuses on Grafana Loki configuration including agents Promtail and Docker; the Loki server; and Loki storage for popular backends.