Changes
Chat
,/* Upgrade */
== Upgrade ==
=== Current ===
Work in progress
<pre>
ssh ubunut@k8s.fixme.ch
# Backup
ubuntu@k8s:~$ rsync -av /srv/chat.fixme.ch/ /root/backup-chat-$(date +'%Y-%m-%d')/
# Upgrade
ubuntu@k8s:~$ kubectl -n mattermost edit deployment.apps/mattermost-app
# Update the image tag to be to the last version (not latest!), ex:
# image: mattermost/mattermost-prod-app:5.8.0
# image: mattermost/mattermost-prod-app:5.9.8
# save/quit
# Watch the pods being restarted
ubuntu@k8s:~$ kubectl get pods -n mattermost -w
NAME READY STATUS RESTARTS AGE
mattermost-app-b68b5cdb-5jlhj 1/1 Running 5 308d
postgresql-db-59ffdffd84-klkw2 1/1 Running 4 466d
</pre>
=== Old ===
* This is outdated since we migrated to Kubernetes