Mattermost

  • By 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 scale and monitor performance

Clustering requires an Enterprise Edition licence from Mattermost, but once this is enabled, the application can be scaled to multiple pods simply by using Juju’s scale-application command. Mattermost will use the database to register and discover cluster members; no additional service or infrastructure is needed.

The charm can make use of the following extra services:

  • Storage for images and attachments. Mattermost defaults to local storage, but S3 is strongly recommended, especially when clustering is enabled. Mattermost proxies images and files, so the S3 bucket itself can be made private and locked down completely.
  • Push notifications. In our deployment these are sent via Mattermost’s HPNS (hosted push notification service). The charm also supports self-hosted push notification servers, but please note the caveats to doing so.

The charm supports some additional features that require an Enterprise Edition licence: clustering (as mentioned), a Prometheus exporter for performance monitoring, and user authentication via SAML.