/loki-k8s-operator

Loki for k8s

Primary LanguagePythonApache License 2.0Apache-2.0

Loki Charmed Operator for K8s

Test Suite

Description

Loki is an open-source fully-featured logging system. The Loki charmed operator deploys Loki in Kubernetes using Juju and the Charmed Operator Lifecycle Manager (OLM).

Quick start

Create a Juju model named observability. This also sets the new model as the current one in the Juju command-line interface.

juju add-model observability

Deploy the Loki Operator from Charmhub to the current model using the Juju command-line interface:

juju deploy loki-k8s

If required, you can remove the deployment completely:

juju remove-application loki-k8s

or the whole model:

juju destroy-model -y observability --no-wait --force --destroy-storage

Note the --destroy-storage will delete any data stored by Loki in its persistent store.