-
-
Notifications
You must be signed in to change notification settings - Fork 28
Production Runbook
Aquarius runs on Digital Ocean through Kubernetes. After each commit on the master
branch a GitHub Action runs that deploys the bot via Kubernetes.
There is some first time setup required to get this to work. See
/kube/README.md
for these steps
If you need to restart Aquarius without redeploying, run the following commands:
$ kubectl scale deployment aquarius --replicas=0
$ kubectl scale deployment aquarius --replicas=1
Scaling down and then scaling up effectively restarts the Node.js application, restarting and reconnecting Aquarius.
To tail logs run
$ kubectl logs -f --selector app=aquarius
If you need to view previous logs (for instance, in the case of a crash) you can run
$ kubectl logs --tail=50 -f --selector app=aquarius
Aquarius runs perfectly fine on other hosts as well. You just need the environmental variables configured - after that, initialize the bot with
$ yarn start
Have a question? File an issue or reach out on Twitter!
For information on how to interact with Aquarius on Discord, please visit https://aquarius.sh/docs