Charmed PostgreSQL VM
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 345 | 09 Nov 2023 | |
14/stable | 363 | 21 Feb 2024 | |
14/candidate | 363 | 31 Jan 2024 | |
14/beta | 368 | 21 Feb 2024 | |
14/edge | 386 | 23 Mar 2024 |
juju deploy postgresql --channel 14/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
Cleanup and extra info
In this tutorial we’ve successfully deployed PostgreSQL on LXD, added/removed cluster members, added/removed users to/from the database, and even enabled and disabled TLS.
You may now keep your Charmed PostgreSQL VM deployment running and write to the database or remove it entirely using the steps in this page.
This is part of the Charmed PostgreSQL VM Tutorial.
Please refer to the Overview for more information.
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:
- Run Charmed PostgreSQL on Kubernetes.
- Check out our Charmed offerings of MySQL and Kafka.
- Read about High Availability Best Practices
- Report any problems you encountered.
- Give us your feedback.
- Contribute to the code base