Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Ability to place a stack into maintenance mode #443

Open
imduffy15 opened this issue Feb 1, 2017 · 1 comment
Open

Comments

@imduffy15
Copy link

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?

imduffy15 pushed a commit to imduffy15/senza that referenced this issue Feb 1, 2017
Given a stack it will detect all asgs within that stack
negotiate the tag named 'maintenance' and do the same
on all instances currently belonging to that asg.

$ senza maintenance some-stack-name
Changing maintenance mode on Auto Scaling Group some-stack-name-version-AppServer-1R2KFL5HLI5NT..
Maintance mode set to False for some-stack-name-version-AppServer-1R2KFL5HLI5NT

$ senza maintenance some-stack-name
Changing maintenance mode on Auto Scaling Group some-stack-name-version-AppServer-1R2KFL5HLI5NT..
Maintance mode set to True for some-stack-name-version-AppServer-1R2KFL5HLI5NT

Signed-off-by: Ian Duffy <[email protected]>
imduffy15 pushed a commit to imduffy15/senza that referenced this issue Feb 1, 2017
Given a stack it will detect all asgs within that stack
negates the tag named 'maintenance' and do the same
on all instances currently belonging to that asg.

$ senza maintenance some-stack-name
Changing maintenance mode on Auto Scaling Group some-stack-name-version-AppServer-1R2KFL5HLI5NT..
Maintance mode set to False for some-stack-name-version-AppServer-1R2KFL5HLI5NT

$ senza maintenance some-stack-name
Changing maintenance mode on Auto Scaling Group some-stack-name-version-AppServer-1R2KFL5HLI5NT..
Maintance mode set to True for some-stack-name-version-AppServer-1R2KFL5HLI5NT

Signed-off-by: Ian Duffy <[email protected]>
@musiKk
Copy link

musiKk commented Feb 13, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants