Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/docs/sources/installation/helm/install-monolithic/index.md

1.8 KiB

title menuTitle description aliases weight keywords
Install the Single Binary Helm Chart Install single binary Loki Install Loki in single binary mode. [/docs/installation/helm/monolithic] 100 []

Install the Single Binary Helm Chart

This Helm Chart installation runs the Grafana Loki single binary within a Kubernetes cluster.

If the storage type is set to filesystem, this chart configures Loki to run the all target in a [monolithic mode]({{<relref "../../../fundamentals/architecture/deployment-modes#monolithic-mode">}}), 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: Software Requirements

To deploy Loki in monolithic mode:

  1. Add Grafana's chart repository to Helm:

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

    helm repo update
    
  3. Configure the filesystem storage:

    • Create the configuration file values.yaml:

      loki:
        commonConfig:
          replication_factor: 1
        storage:
          type: 'filesystem'
      
  4. 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