COS configuration
- By Leon
Channel | Version | Revision | Published | Runs on |
---|---|---|---|---|
latest/beta | 4 | 4 | 02 Feb 2022 | |
latest/edge | 7 | 7 | 29 Apr 2022 |
juju deploy cos-configuration-k8s --channel beta
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
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
- Prometheus K8s charmed operator: Alert rules and recording rules
- Loki K8s charmed operator: Alert rules
- Grafana K8s charmed operator: dashboards
Usage
juju deploy cos-configuration-k8s \
--config git_repo=https://path.to/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
N/A
Relations
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:
k8s.gcr.io/git-sync/git-sync:v3.4.0