-
Notifications
You must be signed in to change notification settings - Fork 696
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
Chaosengine was not clear after the experiment was over #1398
Comments
Thanks for the feedback @badashanren ! Currently, we need to remove & recreate the engine to start the experiment (some of the users are working around this by setting up cron jobs to remove/create the chaosengine). We are solving this in a couple of stages:
|
Got it~ |
Sure @badashanren ! That is an interesting usecase. Litmus has been designed in a way where it can reuse other chaos tools/chaos logic - provided, it is containerized. Typically, the workflow involves being able to consume a config that the respective tools would need, with the litmus chaos-runner creating a job with the said chaos container/library. For ex: We have been using pumba in that model for some of the network experiments. Another example of integration is with chaostoolkit - where not just the chaos-injection stage, but an entire experiment is written using that tool & is orchestrated by Litmus. We don't have a formal document describing how it is done yet, but will add it & share it for review ASAP. Having said that, I am interested in learning more about your usecase for chaos in general, where chaosblade fits in etc., so that I can better suggest/document things. |
First,I like litmus,I think it's not a chaos tool,it should be a chaos platform. it's scalable, it's very important. Many Chaos tools have their advantages, litmus can be quickly compatible with other tools. |
That's great to hear! The doc is coming your way in a few hours :) |
@badashanren, here is some info you may find useful.
I will be talking about 2 types of integrations in the upcoming doc that resolves #1205 :
|
Thanks very much,I will study it carefully. |
Just to circle back on the 1.3 items related to topics discussed in this issue/comments : @badashanren .
Upcoming:As noted 1.3.1 will contain the style guide, some more improvements to developer docs (including an example for use w/ chaosblade) 1.4 will have the dockerization of the scaffold tool to avoid dependencies. |
The ChaosScheduler has been made available (as alpha feature) in release 1.4 This should meet the requirement of being able to repeatedly run the experiment by creating/removing the chaosengine. Refer to https://docs.litmuschaos.io/docs/scheduling/ & https://docs.litmuschaos.io/docs/chaosschedule/ |
What happened:
Chaosengine was not clear after the experiment was over. spec.jobCleanPolicy is "delete"
And I run the experiment again, the experiment-pod is not start up. I have to remove chaoengine by manual. Is it normal?
What you expected to happen:
Chaosengine was clear after the experiment was over, I can run the experiment multiple times.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: