Hi, i am new to k6 (and not an k8s expert) so sorry if my question is not clear or stupid.
We would like to run k6 load tests inside a kubernetes cluster without starting any test after deployment. The pod should contain many different tests (test_api1_shorttest.js, test_api1_longtest.js, test_api2_shorttest.js…). Now we could like to start a concrete test by hitting a rest endpoint (via curl).
Is this possible (to call k6 from an endpoint) and are there any examples how to archieve this (or hints or best practices)?
I came more from a Java background and only have some Spring Boot ideas for the Endpoints, but not know how to call k6 from Java. Probably there are better ways?