COS configuration

  • By Leon
Channel Version Revision Published Runs on
latest/beta 4 4 02 Feb 2022
Ubuntu 20.04
latest/edge 7 7 29 Apr 2022
Ubuntu 20.04
juju deploy cos-configuration-k8s --channel beta
Show information


COS Configuration Repository Operator for Kubernetes

This charmed operator for Kubernetes enables you to provide configurations to various components of the Canonical Observability Stack (COS) bundle.

The charm facilitates forwarding free-standing rules from a git repository to prometheus, loki or grafana operators.

Supported configurations


juju deploy cos-configuration-k8s \
  --config git_repo= \
  --config git_reference=main \
  --config prometheus_alert_rules_path=rules/prod/prometheus/

juju relate cos-configuration-k8s prometheus-k8s

Paths to rules files etc. can also be set after deployment:

juju config cos-configuration-k8s loki_alert_rules_path=rules/prod/loki/
juju relate cos-configuration-k8s loki-k8s

juju config cos-configuration-k8s grafana_dashboards_path=dashboards/prod/grafana/
juju relate cos-configuration-k8s grafana-k8s
Scale Out Usage



Currently, supported relations are:

  • prometheus-config, for interfacing with prometheus.
  • loki-config, for interfacing with loki.
  • grafana-dashboards, for interfacing with grafana.

OCI Images

This charm can be used with the following image: