I have been working on a k8s charm for the Discourse discussion forum, and I have a version that is ready for review.
I’ve prepared a merge proposal that shows changes to src/charm.py and unit tests, which is available at Merge into master : charmcraft-review2 : lp:~jk0ne/charm-k8s-discourse/+git/charm-k8s-discourse : Git : Code : charm-k8s-discourse - any feedback on this would be very much appreciated.
This charm is set up to make use of an external Redis server, as well as a Cross-model Relation to a PostgreSQL database. File uploads are currently stored in S3 to avoid the need for local storage. It is made to run with one or more pods for scale out usage and handles version updates and database schema updates automatically, upon being deployed with an updated image.
This charm has unit tests that verify functionality and I have also deployed it both with microk8s and in a production k8s environment running on top of OpenStack.
The charm is published to the charmstore at discourse | Juju.
We would be interested in any feedback on the code or the charm itself. Please feel free to file bugs against the project on Launchpad at Bugs : charm-k8s-discourse with any issues that you find, or if you’ve got questions about the charm just let me know.
Thanks in advance for your time and attention!