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

Adding chaos-monkey for deployments #96

Merged
merged 4 commits into from
Apr 3, 2018
Merged

Adding chaos-monkey for deployments #96

merged 4 commits into from
Apr 3, 2018

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Mar 30, 2018

This PR introduces a built-in chaos monkey for deployments.
The chaos monkey will kill a random pod at a specified interval with specified probability per interval.
To enable chaos, you must for allow it in the operator (--chaos.allowed=true) and then
enable it in the deployment specification.

  spec:
    chaos: 
      enabled: true

For development builds of the operator, chaos is allowed by default.
For release builds it is disallowed by default.

@@ -10,3 +10,5 @@ spec:
coordinators:
args:
- --log.level=true
chaos:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed it

@ewoutp ewoutp merged commit 4c1e178 into master Apr 3, 2018
@ewoutp ewoutp deleted the chaos branch April 3, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants