
Content-cache
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 49 | 17 Dec 2024 | |
latest/edge | 69 | 28 Aug 2025 | |
latest/edge | 2 | 21 Jun 2021 |
juju deploy content-cache-k8s
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:
Relation endpoints
This section provides details on the available relation endpoints.
grafana-dashboard
Interface: grafana-dashboard
Supported charms: grafana-k8s
Grafana is an open-source visualization tool that allows to query, visualize, alert on, and visualize metrics from mixed datasources in configurable dashboards for observability. This charm is shipped with its own Grafana dashboard and supports integration with the Grafana Operator to simplify observability.
Grafana-dashboard relation enables quick dashboard access already tailored to fit the needs of operators to monitor the charm. Modifications to the dashboard can be made but will not be persisted upon restart/redeployment of the charm.
Grafana-Prometheus integrate command:
juju integrate grafana-k8s:grafana-source prometheus-k8s:grafana-source
Grafana-dashboard integrate command:
juju integrate content-cache-k8s grafana-dashboard`
ingress
Interface: ingress
Supported charms: nginx-ingress-integrator, traefik
The Content-cache charm also supports being integrated with Ingress by using NGINX Ingress Integrator.
Ingress manages external HTTP/HTTPS access to services in a Kubernetes cluster. In this case, an existing Ingress controller is required. For more information, see Adding the Ingress Relation to a Charm. Documentation to enable ingress in MicroK8s can be found in Add-on: Ingress.
Ingress integrate command:
juju integrate content-cache-k8s nginx-ingress-integrator
logging
Interface: loki_push_api
Supported charms: loki-k8s
Loki is an open-source fully-featured logging system. This charm is shipped with support for the Loki Operator to collect the generated logs.
The logging relation is a part of the COS relation to enhance logging observability. Logging relation through the loki_push_api
interface installs and runs promtail
which ships the
contents of local logs found at /var/log/nginx/error.log
and /var/log/nginx/access.log
to Loki.
This can then be queried through the Loki API or easily visualized through Grafana. Learn more about COS
here.
Logging-endpoint integrate command:
juju integrate content-cache-k8s loki-k8s
metrics-endpoint
Interface: prometheus_scrape
Supported charms: prometheus-k8s
Prometheus is an open-source system monitoring and alerting toolkit with a dimensional data model, flexible query language, efficient time series database, and modern alerting approach. This charm is shipped with a Prometheus exporter, alerts, and support for integrating with the Prometheus Operator to automatically scrape the targets.
Metrics-endpoint relation allows scraping the /metrics
endpoint provided by the charm.
The metrics are exposed in the open metrics format and will only be scraped by Prometheus once the
relation becomes active.
Metrics-endpoint integrate command:
juju integrate content-cache-k8s prometheus-k8s