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 https://code.launchpad.net/~jk0ne/charm-k8s-discourse/+git/charm-k8s-discourse/+merge/392672 - 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 https://jaas.ai/u/discourse-charmers/discourse-k8s.
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 https://bugs.launchpad.net/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!