Charmed MySQL K8s

Channel Revision Published Runs on
8.0/stable 180 02 Sep 2024
Ubuntu 22.04
8.0/stable 181 02 Sep 2024
Ubuntu 22.04
8.0/candidate 180 26 Aug 2024
Ubuntu 22.04
8.0/candidate 181 26 Aug 2024
Ubuntu 22.04
8.0/beta 207 15 Nov 2024
Ubuntu 22.04
8.0/beta 206 15 Nov 2024
Ubuntu 22.04
8.0/edge 209 18 Nov 2024
Ubuntu 22.04
8.0/edge 208 18 Nov 2024
Ubuntu 22.04
juju deploy mysql-k8s --channel 8.0/stable
Show information

Platform:

Charmed MySQL K8s Tutorial > 7. Clean up your environment

Clean up your environment

In this tutorial we’ve successfully deployed and accessed MySQL on MicroK8s, added and removed cluster members, added and removed database users, and enabled a layer of security with TLS.

You may now keep your MySQL K8s deployment running and write to the database, or remove it entirely using the steps in this page.

Stop your virtual machine

If you’d like to keep your environment for later, simply stop your VM with

multipass stop my-vm

Delete your virtual machine

If you’re done with testing and would like to free up resources on your machine, you can remove the VM entirely.

Warning: When you remove VM as shown below, you will lose all the data in MySQL and any other applications inside Multipass VM!

For more information, see the docs for multipass delete.

Delete your VM and its data by running

multipass delete --purge my-vm

Next Steps