Manage the Mattermost Kubernetes Operator#

Important

We strongly recommend using the Mattermost Operator with Helm for your Kubernetes deployment. See the Deploy Mattermost on Kubernetes product documentation for details. This page is outdated and will be archived soon.

Reviewing Mattermost Resource Status#

After a Mattermost installation has been created with the Operator, you can review its status with the following:

kubectl -n [namespace] get mattermost

The kubectl describe command can be used to obtain more information about the Mattermost server pods:

kubectl -n [namespace] describe pod

Logs#

The following command can be used to follow logs on any kubernetes pod:

kubectl -n [namespace] logs -f [pod name]

If the -n [namespace] is omitted, then the default namespace of the current context is used. We recommend specifying the namespace based on your deployment.

This command can be used to review the Mattermost Operator or Mattermost server logs as needed.