JAAS: Setup Juju dashboard¶
Juju dashboard is a web UI that is intended to supplement the CLI experience with aggregate views and at a glance health checks.
This how-to provides you with instructions on how to setup Juju Dashboard for your JAAS deployment.
Hint
To explore Juju Dashboard features you can go here.
Prerequisites¶
For this how-to you will need the following:
A running JAAS environment, see our tutorial.
Deploy Juju Dashboard¶
First deploy the Juju Dashboard charm.
juju switch <model_where_jimm_is>
juju deploy juju-dashboard-k8s dashboard
juju integrate dashboard jimm-app
Then you need to expose your dashboard through an ingress.
Hint
You can follow this guide to add TLS to your ingress.
juju deploy nginx-ingress-integrator dashboard-ingress
juju integrate dashboard dashboard-ingress
juju config dashboard-ingress service-hostname="<https://hostname>""
You will visit your dashboard at https://hostname
.
Now you need to configure JIMM to accept requests coming from https://hostname
.
juju config jimm-app cors-allowed-origins="https://hostname"
juju config jimm-app juju-dashboard-location="https://hostname"
Now go to https://hostname
, sign in through the identity provider you setup during JAAS deployment, and you
are in the dashboard.