User Request: Support for duration #379
Replies: 6 comments 1 reply
-
Hello @nikos912000 and thanks for the feedback. It is a feature that we are planning to implement soon, because of most of the reasons you mentioned. The global idea would be to have a default (but customizable for long experiments) timeout on disruptions so the disruption would expire by itself. We monitor long running disruptions on our side and we indeed see a lot of people forgetting about an applied disruption. No ETA yet for the feature but definitely planned as a high priority feature in our Q3 OKRs (starting July) so you can expect it to be done soon. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks @Devatoria. We have this feature in a similar controller internally so happy to provide feedback. The main difference is the architecture (we don't have an injector pod) but I think it'll work in a similar way as described in my message above. If that helps:
|
Beta Was this translation helpful? Give feedback.
-
Hi @Devatoria 👋 Since this feature is critical for us (most of our users don't have kubectl access) I was wondering if you have started working on this and if you could share any implementation details? I am happy to look into this and do a PoC. |
Beta Was this translation helpful? Give feedback.
-
We have not begun work or design (that I know of), but I believe we are tentatively hoping for August for completion. |
Beta Was this translation helpful? Give feedback.
-
👋 We will start working on this very soon as we need it as well internally. Probably done by the end of the month if not before. cc @nikos912000 |
Beta Was this translation helpful? Give feedback.
-
@nikos912000 PR #400 is here and almost complete if you want to have a look |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Usually chaos engineering experiments run over a predetermined period of time. This has many benefits:
kubectl delete
. This is the case for most of our users internally.Describe the solution you'd like
The duration of the experiment (in seconds) will be defined in the CRD. The controller sleeps for
duration
seconds and sends an exit signal (SIGINT
/SIGTERM
) to the injector pods when this is exceeded.Describe alternatives you've considered
The alternative is to handle the lifecycle of an experiment manually but this not always possible and desirable as mentioned earlier.
Beta Was this translation helpful? Give feedback.
All reactions