Difference between revisions of "Chat"
From Fixme.ch
(→Upgrade) |
(→Current) |
||
Line 26: | Line 26: | ||
# Backup | # Backup | ||
− | ubuntu@k8s:~$ sudo rsync -av /srv/chat.fixme.ch/ /root/backup-chat-$(date +'%Y-%m-%d')/ | + | ubuntu@k8s:~$ sudo rsync --exclude=data/ -av /srv/chat.fixme.ch/ /root/backup-chat-$(date +'%Y-%m-%d')/ |
# Upgrade | # Upgrade |
Revision as of 22:39, 21 January 2021
Contents
Description
- https://chat.fixme.ch
- Chatting at fixme, using a slack-like application
Goal
- Initial goal was to get out of slack
- The other goal is to have a userfriendly chat, better than IRC (which still have its use cases of course)
Component
- Mattermost: http://www.mattermost.org/
- Bot: https://hubot.github.com/
-
Hosted on an Openstack cloud instance - Hosted in Bellatrix on Kubernetes
Upgrade
Current
Work in progress
ssh ubunut@k8s.fixme.ch # Backup ubuntu@k8s:~$ sudo rsync --exclude=data/ -av /srv/chat.fixme.ch/ /root/backup-chat-$(date +'%Y-%m-%d')/ # Upgrade ubuntu@k8s:~$ sudo docker pull mattermost/mattermost-prod-app:5.9.8 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 # Watch the logs of the newly created pod ubuntu@k8s:~$ kubectl logs -n mattermost -f mattermost-app-b68b5cdb-5jlhj
Channel naming convention
- 10_* = general/association
- 20_* = events
- 30_* = projects/topics
- 40_* = other
- 99_* = archived channels