Skip to content

Conversation

@nickmisasi
Copy link
Contributor

Summary

I took a pass of each of the main installation methods, and performed a dry run on a new EC2 instance for each. I have made some documentation updates. For most of these updates, it's primarily for clarity. I also made some adjustments to split out some things that are repeatedly written between the various deployment methods to be more DRY.

The most major change was the overhaul of the Docker deployment. The current docs "for production use" have the reader deploy Mattermost and its database on the same instance. This isn't the best advice in production. I've split the documentation into 2 paths here - Quick Start (essentially the existing docs), and Production Use (adjustments to only deploy the Mattermost application container, suggesting external hosting for db and storage). These changes require

Ticket Link

https://mattermost.atlassian.net/browse/CLD-8785
https://mattermost.atlassian.net/browse/CLD-8848
https://mattermost.atlassian.net/browse/CLD-8849
https://mattermost.atlassian.net/browse/CLD-8850
https://mattermost.atlassian.net/browse/CLD-8851
https://mattermost.atlassian.net/browse/CLD-8852
https://mattermost.atlassian.net/browse/CLD-8853

@github-actions
Copy link

github-actions bot commented Feb 6, 2025

Newest code from mattermost has been published to preview environment for Git SHA 7e0a17e

@cwarnermm cwarnermm self-requested a review February 6, 2025 16:37
@cwarnermm cwarnermm added the 2: Editor Review Requires review by an editor label Feb 6, 2025
@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 39bb3de

@cwarnermm
Copy link
Member

This is a great docs PR, @nickmisasi! I pulled your branch down and applied fixes to build errors and warnings where needed. Remind me: what's the goal of this docs update? What are we trying to achieve? That will help me formulate potential next step recommendations.

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA a77022b

@nickmisasi
Copy link
Contributor Author

@cwarnermm High level, this is intended to make it easier to deploy Mattermost. The main focus was on clarity, as well as making sure that our recommendations are not only correct, but actually work (without prior knowledge of deploying Mattermost itself)

@cwarnermm
Copy link
Member

@nickmisasi - Thank you! From my perspective, the content of this docs PR is excellent. No concerns at all. I know our structure and navigation needs work, but that's beyond the scope of this lift. Does it make sense to add customer-facing stakeholders as additional technical reviewers at this time? Are there specific perspectives you're looking for prior to us publishing these details?

@cwarnermm
Copy link
Member

@nickmisasi - One outstanding thing we'll need to address in this docs PR is H2 redirects. This is something we'll do last, once all stakeholder input is incorporated. I can help with this final step.

@nickmisasi
Copy link
Contributor Author

@cwarnermm I think it's a good idea to get some stakeholders to view this. Particularly I'd like eyes from @mrckndt, as he has some past work on Docker docs and is probably most familiar with RHEL. I'm open to others if you have anyone in mind. I'll also loop in @toninis as we discussed the Docker docs updates in Hub.

@cwarnermm cwarnermm added the 1: Dev Review Requires review by a core commiter label Feb 10, 2025
@nickmisasi nickmisasi self-assigned this Feb 11, 2025
@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA e669e4e

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA e6b0c1c

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 9d7c374

@nickmisasi
Copy link
Contributor Author

Adding @gabrieljackson as I've pushed an overhaul to the Kubernetes documentation

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 31e3535


Install Mattermost on Kubernetes
--------------------------------
However, managing these components yourself adds complexity and is generally not recommended for production deployments unless you have specific operational requirements. This guide will primarily focus on the recommended approach of using S3-compatible storage and a managed database service. If you choose to use self-managed components, you will need to adapt the instructions accordingly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how we are more opinionated of how to install and run Mattermost via the operator, but I think it would be good to walk back some of this wording a bit. In particular generally not recommended for production deployments should probably be clarified so our customers that want to own all of their data know they are using a supported setup.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 240257a

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 98198ef

@nickmisasi
Copy link
Contributor Author

@cwarnermm I think I've addressed everything here. Let me know if there's anything else you need from me!

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 8a5cb6d

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 0e493ef

:start-after: :nosearch:

.. important::
This deployment method is not recommended for production environments. If you're looking to deploy a production Mattermost instance, we recommend using managed container services like AWS ECS, Azure Container Apps, or Google Cloud Run. These services provide better scalability, reliability, and maintenance features suited for production workloads.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this would be better to suggest past a specific size. I can't see why a smaller organization shouldn't run Mattermost via Docker.

Copy link
Member

@cwarnermm cwarnermm Feb 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spirosoik - Can we get a bit more specific about threshold guidance here? See Colton's suggestions below.

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA 9752302

@github-actions
Copy link

Newest code from mattermost has been published to preview environment for Git SHA e6a787d

@cwarnermm
Copy link
Member

/update-branch

@mattermost-build
Copy link
Contributor

Error trying to update the PR.
Please do it manually.

Copy link
Member

@cwarnermm cwarnermm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @nickmisasi, for this outstanding docs PR!

@cwarnermm cwarnermm merged commit bca1af1 into master Feb 21, 2025
4 checks passed
@cwarnermm cwarnermm deleted the install-docs-updates branch February 21, 2025 20:51
@amyblais amyblais removed the 2: Editor Review Requires review by an editor label Feb 24, 2025
@cwarnermm cwarnermm added 3: Reviews Complete All reviewers have approved the pull request Guidance and removed 1: Dev Review Requires review by a core commiter labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3: Reviews Complete All reviewers have approved the pull request Guidance

Projects

None yet

Development

Successfully merging this pull request may close these issues.