Route53 LEGO (K8s)

  • By Canonical Telco
Channel Revision Published Runs on
latest/stable 7 10 Jan 2024
Ubuntu 22.04
latest/candidate 7 10 Jan 2024
Ubuntu 22.04
latest/beta 7 10 Jan 2024
Ubuntu 22.04
latest/edge 83 09 May 2024
Ubuntu 22.04
juju deploy route53-lego-k8s
Show information

Platform:

Integrate with COS

In this guide, we will cover how-to integrate a LEGO K8s charm with Canonical Observability Stack (COS) for Logging.

Pre-requisites:

  • Juju >= 3.4

1. Deploy COS Lite

Create a model for observability:

juju add-model cos

Deploy cos lite:

juju deploy cos-lite --trust

Create an offer for the Metrics and Logging:

juju offer cos.loki:logging

2. Integrate with COS

Switch to the model in which the LEGO K8s charm is deployed:

juju switch <your lego model>

Deploy Grafana Agent:

juju deploy grafana-agent-k8s

Integrate the LEGO K8s charm with Grafana Agent:

juju integrate <lego k8s charm>:logging grafana-agent-k8s

Consume the COS offers:

juju consume cos.loki

Integrate Grafana Agent with COS:

juju integrate loki:logging grafana-agent-k8s:logging-consumer

4. Access Logs

Switch to the cos model:

juju switch cos

Retrieve the Grafana admin password:

juju switch cos
juju run grafana/leader get-admin-password

Log in Grafana’s dashboard, navigate to “Explore” and select Loki as the source.


Help improve this document in the forum (guidelines). Last updated 2 months ago.