Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Open source

Install the single binary Helm Chart

You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana Loki. Create a free account to get started, which includes free forever access to 10k metrics, 50GB logs, 50GB traces, 500VUh k6 testing & more.

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:

To deploy Loki in monolithic mode:

  1. Add Grafana’s chart repository to Helm:

    bash
    helm repo add grafana https://grafana.github.io/helm-charts
  2. Update the chart repository:

    bash
    helm repo update
  3. Configure the filesystem storage:

    • Create the configuration file values.yaml:

      yaml
      loki:
        commonConfig:
          replication_factor: 1
        storage:
          type: 'filesystem'
  4. Deploy the Loki cluster using one of these commands.

    • Deploy with the defined configuration:

      bash
      helm install --values values.yaml loki grafana/loki
    • Deploy with the defined configuration in a custom Kubernetes cluster namespace:

      bash
      helm install --values values.yaml loki --namespace=loki grafana/loki-simple-scalable