---
title: Charmhub | Deploy Loki worker using Charmhub - The Open Operator Collection
description: Deploy the latest version of Loki worker as a Kubernetes Operator on
  any cloud.
url: https://charmhub.io/loki-worker-k8s/configurations
---

# Loki worker

[Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

* [Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

Platform:

3.7/stable 106

```
juju deploy loki-worker-k8s --channel 3.7/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [role-all](https://charmhub.io/loki-worker-k8s/configurations#role-all)
* [role-backend](https://charmhub.io/loki-worker-k8s/configurations#role-backend)
* [role-read](https://charmhub.io/loki-worker-k8s/configurations#role-read)
* [role-write](https://charmhub.io/loki-worker-k8s/configurations#role-write)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* role-all | boolean

  Enables all the default roles for Loki.
* role-backend | boolean

  Enable the 'backend' meta-role for Loki. This enables the following components:
  Compactor, Index Gateway, Query Scheduler, Ruler.
* role-read | boolean

  Enable the 'read' meta-role for Loki. This enables the following components:
  Query Frontend, Querier.
* role-write | boolean

  Enable the 'write' meta-role for Loki. This enables the following components:
  Distributor, Ingester.
