Charmed PostgreSQL K8s
- By Canonical Data Platform
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 20 | 20 Sep 2022 | |
14/stable | 73 | 18 Apr 2023 | |
14/candidate | 73 | 18 Apr 2023 | |
14/beta | 73 | 18 Apr 2023 | |
14/edge | 92 | Yesterday |
juju deploy postgresql-k8s --channel 14/stable
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
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:
Cleanup and extra info
This is part of the Charmed PostgreSQL Tutorial. Please refer to this page for more information and the overview of the content.
Remove and cleanup environment
If you’re done with testing and would like to free up resources on your machine, just remove Multipass VM. Warning: when you remove VM as shown below you will lose all the data in PostgreSQL and any other applications inside Multipass VM!
multipass delete --purge my-vm
Next Steps
In this tutorial we’ve successfully deployed PostgreSQL, 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 Remove Charmed PostgreSQL K8s and Juju. If you’re looking for what to do next you can:
- Run Charmed PostgreSQL on VMs.
- 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
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.