---
title: Charmhub | Deploy Mattermost using Charmhub - The Open Operator Collection
description: Deploy the latest version of Mattermost as a Kubernetes Operator on any
  cloud.
url: https://charmhub.io/mattermost-k8s/docs/scale-and-monitor-performance
---

# Mattermost

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

stable 18

```
juju deploy mattermost-k8s
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Contacts

##### Maintainers

+ [Launchpad Team](https://launchpad.net/~canonical-is-sre)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# 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](https://juju.is/docs/scaling-applications#heading--scaling-up). 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](https://docs.mattermost.com/mobile/mobile-faq.html#do-i-need-to-compile-the-mobile-apps-to-host-my-own-push-notification-server).

The charm supports some additional features that require an Enterprise Edition licence: [clustering](https://docs.mattermost.com/deployment/cluster.html) (as mentioned), a [Prometheus exporter for performance monitoring](https://docs.mattermost.com/deployment/metrics.html), and [user authentication via SAML](https://docs.mattermost.com/deployment/sso-saml.html).

---
