k6-operator icon indicating copy to clipboard operation
k6-operator copied to clipboard

Make `dnsPolicy` and `dnsConfig` configurable

Open robooo opened this issue 1 year ago • 3 comments

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

robooo avatar May 22 '24 13:05 robooo

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?

yorugac avatar May 24 '24 09:05 yorugac

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 :)

robooo avatar May 24 '24 16:05 robooo

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

r-yabyab avatar Oct 22 '24 21:10 r-yabyab