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