grafana / k6-operator

An operator for running distributed k6 tests.
Apache License 2.0
588 stars 166 forks source link

Introduce ttlSecondsAfterFinished to TestRun #397

Open JunhoeKim opened 6 months ago

JunhoeKim commented 6 months ago

Feature Description

The current TestRun resource cleans up resources used for the load test through the cleanup property. However, there is a need to be able to debug failed cases, and even when the load test is successfully completed, the resources may need to be retained for a certain period of time. How about adding the ttlSecondsAfterFinished property used in Job workloads to the TestRun object as well, to make resource management a little more flexible?

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

yorugac commented 6 months ago

Hi @JunhoeKim, thanks for opening the issue!

This sounds like a duplicate to https://github.com/grafana/k6-operator/issues/260 ?