grafana / k6-operator

An operator for running distributed k6 tests.
Apache License 2.0
588 stars 166 forks source link

Make `dnsPolicy` and `dnsConfig` configurable #406

Open robooo opened 5 months ago

robooo commented 5 months ago

Feature Description

To be able to change dns settings easily. Still not available in TestRun spec section, not sure if it's on purpose or not :)

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

yorugac commented 5 months ago

Hi @robooo, thanks for the issue. It's not on purpose; it just never came up as the request before, AFAIR. Could you please add description of your use case?

robooo commented 5 months ago

Hey @yorugac, Since you are running k6-operator in kubernetes it will inherit dns config from the kube dns. So for example resolv.conf in my k6 pods had nameserver which I didn't want to use + search line consists of more domains lookups which is not a big deal but why to spam it. Only way I'm able to do it, is to rewrite the resolv.conf before run or tweak the kube dns. If there is some more simple "k6-operator" way, please correct me and just ignore this request :)

r-yabyab commented 3 weeks ago

Hello, is this issue open to be worked on? I'm interested