Mattermost

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 27 22 Nov 2023
Ubuntu 20.04
latest/edge 18 14 Jun 2021
Ubuntu 20.04
juju deploy mattermost-k8s
Show information

Platform:

How to contribute

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 improve this document in the forum (guidelines). Last updated 2 months ago.