Skip to content

Commit 068b886

Browse files
authored
Merge pull request #2897 from basecamp/add-maint-mode-note
Add our standard section on setting maintenance mode
2 parents 5f45e54 + 661ee9c commit 068b886

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

saas/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ Staging is primarily intended for testing infrastructure changes. It uses produc
8989

9090
- https://app.fizzy-staging.com/
9191

92+
## Maintenance mode
93+
94+
To take production offline for maintenance, run `kamal-proxy stop` on the load balancers via `knife ssh`:
95+
96+
```bash
97+
knife ssh 'hostname:fizzy-lb-*' "sudo docker exec fizzy-load-balancer kamal-proxy stop fizzy --message='Sorry! Fizzy is undergoing some maintenance and will be back shortly.'"
98+
```
99+
100+
Verify maintenance is enabled by visiting https://app.fizzy.do/.
101+
102+
To lift maintenance mode:
103+
104+
```bash
105+
knife ssh 'hostname:fizzy-lb-*' 'sudo docker exec fizzy-load-balancer kamal-proxy resume fizzy'
106+
```
107+
92108
## License
93109

94110
fizzy-saas is released under the [O'Saasy License](LICENSE.md).

0 commit comments

Comments
 (0)