---
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. Loki for Kubernetes clusters.
url: https://charmhub.io/loki-worker-k8s
---

# 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)

[Read documentation](https://documentation.ubuntu.com/observability/latest)

#### Relevant links

* [Homepage](https://charmhub.io/loki-worker-k8s)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/loki-operators/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

#### Loki for Kubernetes clusters.

Loki Worker K8s is a Juju charm that runs Grafana Loki components on Kubernetes as part of a
horizontally scalable deployment. It works together with the Loki Coordinator charm, following
the coordinated-workers pattern. It is a component of the Canonical Observability Stack (COS):
https://documentation.ubuntu.com/observability

Each worker unit receives its configuration from the coordinator and executes one or more Loki
roles — read, write, backend, or all — enabling flexible scaling of individual components
independently.

Key features:

* Configurable roles (read, write, backend, all) to run specific Loki components such as
  Query Frontend, Querier, Distributor, Ingester, Compactor, Index Gateway, and Ruler.
* Horizontal scaling by adding more worker units with the desired role combination.
* Automatic configuration received from the Loki Coordinator via the loki-cluster relation.
* Persistent storage for Loki data across container restarts.
