zalando-stups / senza

Deploy immutable application stacks and create and execute AWS CloudFormation templates in a sane way

Home Page:https://pypi.python.org/pypi/stups-senza

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Ability to place a stack into maintenance mode

imduffy15 opened this issue · comments

I have many alarms for my services within ZMON, when deploying upgrades I would like to not trip those alarms.

I would like to be able to deploy the new services with maintenance mode enabled(just an autoscaling group tag that gets populated to the instances) so the ZMON check will exclude the entity.

When the service is deployed and ready to handle traffic I would like to disable maintenance mode(Change the tag to false) for the autoscaling group and all associated instances.

Thoughts?

In order to be consistent with other commands like traffic or scale, senza maintenance foo should tell what the current state is and something like true/false, 1/0, on/off, ... should be used to update.