Superset Operator
- Commercial Systems
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 35 | 02 Oct 2024 | |
latest/beta | 32 | 12 Sep 2024 | |
latest/edge | 35 | 02 Oct 2024 |
juju deploy superset-k8s --channel edge
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:
This part of the tutorial focuses on accessing the User Interface (UI) and creating a dashboard.
Add example data
To create a dashboard you first need some data. Charmed Superset comes with the option to import test data for experimentation via a configuration parameter. You can do so as follows:
juju config superset-k8s load-examples=True
This may take some time, up to 5 minutes.
Once completed, juju status
shows the superset-k8s/0
unit with Message
: Status check: UP
:
Model Controller Cloud/Region Version SLA Timestamp
superset-model superset-controller microk8s/localhost 3.5.3 unsupported 11:05:51+01:00
App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.12 active 1 postgresql-k8s 14/stable 381 10.152.183.243 no
redis-k8s 7.2.5 active 1 redis-k8s latest/edge 36 10.152.183.182 no
superset-k8s active 1 superset-k8s latest/stable 31 10.152.183.135 no Status check: UP
Unit Workload Agent Address Ports Message
postgresql-k8s/0* active idle 10.1.255.10 Primary
redis-k8s/0* active idle 10.1.255.21
superset-k8s/0* active idle 10.1.255.5 Status check: UP
Access the UI
You can now access the UI via the superset-k8s/0
address, port 8088. You can do this by opening a browser to <unit-ip>:8088
, in this example 10.1.255.5:8088
, and logging-in with the username/password admin/admin
.
Create a dashboard
A dashboard is made up of at least one chart. You have pre-loaded some data including some ready made charts in the previous steps. Add some of these charts to your dashboard by following the steps below:
- Start by clicking
+ Dashboard
on the welcome page. This opens a new draft dashboard. - Select
Edit Dashboard
and drag and drop the top three charts into the dashboard. - Give your dashboard a name. For instance,
Example dashboard
. - Save your dashboard.
- Click the
Draft
button to turn it from a draft to a published dashboard.
See next: Clean up