helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Not able to stop pods once locust tests are over

Open honeychawla2 opened this issue 2 years ago • 2 comments

I am using Locust helm-chart but not able to stop the pods once the tests are completed. Is there any way to stop the pods as soon as tests are completed? Note: I am running the tests in headless mode with 3m run-time.

honeychawla2 avatar Jun 07 '22 04:06 honeychawla2

No there is not unless you manually scale the deployment to 0 replicas.

If you want to have a load test run to completion and then it would need to be run as a k8s Job which the current version of the chart does not support. PRs welcome if someone wants to add this functionality 🙂

max-rocket-internet avatar Jun 07 '22 07:06 max-rocket-internet

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 03:08 stale[bot]

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 28 '22 02:08 github-actions[bot]