Hello everyone!
I’m new to K6 and Grafana. I’ve done some tests with it, and it is amazing for our use cases; we want to test the performance of our internal software stack.
I’ve set up a Private Load Zone as described in the Set up private load zones | Grafana Cloud documentation, and it’s working fine. I can start distributed tests on our Kubernetes cluster. To make some things dynamic inside the test script, I came across ‘Cloud environment variables’ (Cloud environment variables | Grafana Cloud documentation to make use of env vars inside the K6 test script.
The Cloud environment variables will work when I start a test using a predefined load zone in Grafana Cloud, but when I start the test on our PrivateLoadZone, they won’t be used. Is it possible to use the Cloud environment variables inside PrivateLoadZones? If so, what steps must be fulfilled to use them?
(I’ve seen TestRun instances with config maps and environment variables; this is something I don’t like to use because our team needs a graphical user interface to start the tests without using ‘kubectl’.)
Thanks!