Hi All,
Please assist me in running a number of test scripts in the K6 Distributed Environment.
I have multiple test cases, so I need to run those scripts on different EC2 machines. I looked online for articles or tutorials on this, but I couldn’t discover anything.
Hi @DeSilvaMPD
Welcome to the community forums
k6 distributed test execution assumes you will be running the test on Kubernetes. So there is no way to run those in bare EC2 machines. They should “belong” to a Kubernetes cluster using the k6-operator. Alternatively you could run this on the k6 cloud. For example, you can run this on EKS.
That is to say, if you need to run the scripts in a distributed fashion.
You should find more information in:
- GitHub - grafana/k6-operator: An operator for running distributed k6 tests..
- The Running distributed k6 tests on Kubernetes tutorial.
- A concrete example in my colleague Paul’s repo: GitHub - javaducky/demo-k6-operator: Project for demonstrating the use of k6-operator within Kubernetes clusters. which was discussed during the k6 Office Hours.
I hope this helps. Let us know if you have further questions or doubts.
Cheers!
1 Like