consul-alerts
consul-alerts copied to clipboard
Alerts - not alert when on maintenance mode
Hi,
Is there an option to not alert when on maintenance mode ? When we are redeploying some of our services we put it in maint mode, drain the connection, and then deploy a new version.
Same for when we do database backups, we put it in maint mode before we start.
They're all controlled environments (hence the maint mode) so we wouldn't like to be alerted.
If this is a valid feature that isn't in place already I would also be happy to try to investigate.
Thanks
Same problem here.
I had just disabled the alerts while doing the maintenance, re-enable at the end of our playbooks.
I started investigating how to implement this, since it would be a very useful feature I found a bug in Consul that does not update the state of maintenance mode check it creates before removing it. I've created a PR that fixes that: https://github.com/hashicorp/consul/pull/11332