k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Documentation about using k6-browser in Kubernetes

Open yorugac opened this issue 5 months ago • 0 comments

Feature Description

People are rather regularly reporting issues when trying to run k6-browser in Kubernetes (and more generally, in containerized environment):

  • https://github.com/grafana/k6/issues/4338
  • https://github.com/grafana/k6/issues/4628
  • https://github.com/grafana/k6/issues/4597

There are disjointed bits of information on topic in the comments 👆, and also a nice write up in crocochrome.

We should put this into a more coherent and unified doc that describes key points in the Kubernetes / Docker setup to pay attention to, like --no-sandbox, running as (non-)root, etc.

Suggested Solution (optional)

It can be a set of recommendations and / or a troubleshooting guide, in k6-docs. I'm opening this issue here and not in k6-docs for now, since writing this doc might also involve a small investigation to confirm what works. Please feel free transfer this issue to k6-docs if it makes more sense.

Already existing or connected issues / PRs (optional)

No response

yorugac avatar Jun 05 '25 10:06 yorugac