Skip to content

About

A Juju controller charm

Resources

Contributing

Stars

3 stars

Watchers

14 watching

Forks

Repository files navigation

juju-controller

Description

The Juju controller charm allows charms to interact with the Juju controller via integrations. This charm is automatically deployed in the controller model of every controller for Juju 3.0 or later.

Usage

The controller charm currently supports integrations with juju-dashboard and haproxy.

You can deploy the Juju Dashboard in the controller model:

$ juju switch controller
$ juju deploy juju-dashboard --channel beta
$ juju integrate controller juju-dashboard

or you can deploy it in its own model, and connect to the controller charm via a cross-model integration:

$ juju add-model dashboard
$ juju deploy juju-dashboard --channel beta
$ juju offer juju-dashboard:controller
Application "juju-dashboard" endpoints [controller] available at "admin/dashboard.juju-dashboard"
$ juju switch controller
$ juju integrate controller admin/dashboard.juju-dashboard

Then, run

juju dashboard --browser

and log in using the printed credentials.

Observability

Integrate controller:metrics-endpoint with Prometheus to scrape the controller API metrics and install the bundled Prometheus alert rules. Integrate controller:grafana-dashboard with Grafana to install the Juju Controller dashboard. The dashboard shows API traffic and errors, active connections, database request health, and Go runtime metrics. Both integrations can use cross-model offers when the observability stack is in a different model.

The Grafana dashboard uses the Prometheus datasource supplied by the observability stack. The existing dashboard endpoint is for the separate Juju Dashboard application.

About

A Juju controller charm

Resources

Contributing

Stars

3 stars

Watchers

14 watching

Forks

Releases

Packages

Used by

Contributors

Languages