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

Create more chaos during business hours #35

Closed
klautcomputing opened this issue Jul 5, 2017 · 5 comments
Closed

Create more chaos during business hours #35

klautcomputing opened this issue Jul 5, 2017 · 5 comments

Comments

@klautcomputing
Copy link
Contributor

Chaoskube should be able to create more chaos during hours where people are around to notice, fix and learn from failures. It makes no sense for the artificial chaos to occur at night and get people paged when they are asleep.

@klautcomputing
Copy link
Contributor Author

I started working on this.

@linki
Copy link
Owner

linki commented Jul 6, 2017

Agreed, what do you have in mind for tackling this?

@klautcomputing
Copy link
Contributor Author

I would like to introduce 3 new flags: --run-from, --run-to, --excludeWeekends so that you can set them to --run-from 9:00 --run-to 17:00 --excludeWeekends and thereby disable killing anything during weekends and from 17:00 to 9:00.

I am basing my code on the tick and interval code I introduced for --percentage. The idea is to calculate the interval to the next "wakeUp" time and then sleep until it's a weekday and within working hours.

Obvious short comings are: holidays and cultures with a non western weekend schedule.

@AndreaGiardini
Copy link

Hey @klautcomputing any update on this?

@linki
Copy link
Owner

linki commented Apr 18, 2018

This feature was introduced in v0.8.0 based on a different codebase and with different flags but essentially the same behaviour.

@klautcomputing I'll still have a look at your --percentage code as this is my personal biggest missing feature from chaoskube at the moment.

/cc @AndreaGiardini

@linki linki closed this as completed Apr 18, 2018
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

3 participants