Mattermost
- By Paul Collins
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 24 | 15 Feb 2023 | |
latest/edge | 18 | 14 Jun 2021 |
juju deploy mattermost-k8s
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:
For any problems with this charm, please report bugs here.
The code for this charm can be downloaded as follows:
git clone https://git.launchpad.net/charm-k8s-mattermost
To run tests, simply run make test
from within the charm code directory.
Local Deployment
To deploy a test setup locally using microk8s, with PostgreSQL deployed into the same model:
sudo snap install juju --classic
sudo snap install juju-wait --classic
sudo snap install microk8s --classic
sudo snap alias microk8s.kubectl kubectl
sudo snap install charmcraft
git clone https://git.launchpad.net/charm-k8s-mattermost
make -C charm-k8s-mattermost mattermost.charm
microk8s.reset # Warning! Clean slate!
microk8s.enable dns dashboard registry storage
microk8s.status --wait-ready
microk8s.config | juju add-k8s myk8s --client
juju bootstrap myk8s
juju add-model mattermost-test
juju deploy cs:~postgresql-charmers/postgresql-k8s postgresql
juju deploy ./charm-k8s-mattermost/mattermost.charm mattermost
juju wait
juju status
juju relate mattermost postgresql:db
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.