Clean up¶
When you are done experimenting, remove the tutorial deployment to free up resources.
If you used the Multipass VM¶
If you followed the prerequisites and ran this tutorial in the datahub-tutorial Multipass VM, deleting the VM removes everything at once, including Juju, MicroK8s, LXD, and all deployed charms:
multipass delete datahub-tutorial --purge
This is the fastest way to clean up and needs no further steps below.
If you ran this on your own machine¶
If you ran the tutorial directly on a host rather than in a disposable VM, remove each piece individually instead.
Destroy the models¶
Destroy both models, including their storage:
juju destroy-model -c microk8s datahub-k8s --destroy-storage --no-prompt
juju destroy-model -c lxd datahub-vm --destroy-storage --no-prompt
Destroy the controllers¶
If you no longer need the Juju controllers:
juju destroy-controller microk8s --destroy-all-models --destroy-storage --no-prompt
juju destroy-controller lxd --destroy-all-models --destroy-storage --no-prompt
Remove the snaps¶
To remove the tools installed for this tutorial:
sudo snap remove juju microk8s lxd
Next steps¶
Work through the how-to guides for ingress, SSO, Trino integration, and observability.
Read the explanation section to understand the architecture behind what you just deployed.
Check the reference section for configurations, actions, and integration details.