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.
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-dashboardor 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-dashboardThen, run
juju dashboard --browser
and log in using the printed credentials.
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.