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

Is iterative action possible? #41

Open
gunjanvora opened this issue Jun 19, 2019 · 1 comment
Open

Is iterative action possible? #41

gunjanvora opened this issue Jun 19, 2019 · 1 comment

Comments

@gunjanvora
Copy link

Is it possible to have multiple iteration of single action in an experiment?
Say I want to run terminate-db-pod several times after each 600 sec.

{ "name": "all-our-microservices-should-be-healthy", "type": "probe", "tolerance": "true", "provider": { "type": "python", "module": "chaosk8s.probes", "func": "microservice_available_and_healthy", "arguments": { "name": "myapp", "ns": "myns" } } }, { "type": "action", "name": "terminate-db-pod", "provider": { "type": "python", "module": "chaosk8s.pod.actions", "func": "terminate_pods", "arguments": { "label_selector": "app=my-app", "name_pattern": "my-app-[0-9]$", "rand": true, "ns": "default" } }, "pauses": { "after": 5 } }

@gunjanvora gunjanvora changed the title Iterative actions Is iterative action possible? Jun 19, 2019
@Lawouach
Copy link
Contributor

Hi @gunjanvora,

This is not something currently designed in the toolkit. It reminds me of this request though. Might be worth chiming in this discussion if you can?

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