Charmed PostgreSQL K8s

Channel Revision Published Runs on
latest/stable 20 20 Sep 2022
Ubuntu 20.04
14/stable 445 12 Nov 2024
Ubuntu 22.04
14/stable 444 12 Nov 2024
Ubuntu 22.04
14/candidate 463 19 Nov 2024
Ubuntu 22.04
14/candidate 462 19 Nov 2024
Ubuntu 22.04
14/beta 463 19 Nov 2024
Ubuntu 22.04
14/beta 462 19 Nov 2024
Ubuntu 22.04
14/edge 465 20 Nov 2024
Ubuntu 22.04
14/edge 464 20 Nov 2024
Ubuntu 22.04
juju deploy postgresql-k8s --channel 14/edge
Show information

Platform:

Charmed PostgreSQL K8s Tutorial > 7. Clean up environment

Clean up you environment

In this tutorial we’ve successfully deployed PostgreSQL on MicroK8s, added/removed cluster members, added/removed users to/from the database, and even enabled and disabled TLS.

You may now keep your Charmed PostgreSQL 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 PostgreSQL and any other applications inside Multipass VM!

For more information, see the docs for multipass delete.

Delete your VM and its data with

multipass delete --purge my-vm

Next Steps

If you’re looking for what to do next, you can:


Help improve this document in the forum (guidelines). Last updated 6 months ago.