Charmed MySQL K8s
- By Canonical Data Platform
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 75 | 20 Apr 2023 | |
8.0/candidate | 75 | 20 Apr 2023 | |
8.0/beta | 75 | 20 Apr 2023 | |
8.0/edge | 83 | 26 May 2023 |
juju deploy mysql-k8s --channel 8.0/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 MySQL 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 MySQL, added/removed cluster members, added/removed users to/from the database, and even enabled and disabled TLS. You may now keep your Charmed MySQL K8s deployment running and write to the database or remove it entirely using the steps in Remove Charmed MySQL K8s and Juju. If you’re looking for what to do next you can:
- Run Charmed MySQL VM on LXD.
- Check out our Charmed offerings of PostgreSQL K8s and Kafka K8s.
- 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.