grafana / k6-operator

An operator for running distributed k6 tests.
Apache License 2.0
576 stars 157 forks source link

Add support for tolerations to PrivateLoadZone objects #427

Open aaron-lunsford-even opened 2 months ago

aaron-lunsford-even commented 2 months ago

Feature Description

Users can specify resource requests and limits for PrivateLoadZone objects that will populate down to runner pods for tests run in that load zone. The ability to specify tolerations would allow users to schedule these runner pods on tainted node group(s) in the cluster.

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

yorugac commented 2 months ago

Hi @aaron-lunsford-even, thank you for opening the issue and PR! Regarding the implementation, I'll comment on the PR.

You mention "runner pods" but each test run actually has 2 small pods in addition: starter (running curl command) and initializer (running k6 inspect command). Is it correct to assume that in your use case, all pods for a specific test run should scheduled with the same tolerations?