-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starter doesn’t work in an IPv6 cluster #171
Comments
Looks like it's a rather well-known issue for IPv6 in general and specifically for curl. At first glance, seems like a quick fix with adding brackets to curl command. But curl doesn't seem to support brackets with IPv4 so we'll need to check first if it's IPv4 or IPv6; maybe before Job creation, in k6-operator/controllers/k6_start.go Lines 71 to 80 in 5cec748
Either way, thanks for opening this, @yann-soubeyrand! |
I have the same issue as described earlier i.e. I try to start a test on an ipv6-only EKS-cluster, but the k6-sample-starter-pod fails to start due to following error: curl: (3) IPv6 numerical address used in URL without brackets For now I was able to go around this issue by creating a custom-image by using following line:
If there is away to do this globally i.e. supporting both ipv4 and ipv6, I would be more than happy to try that out :) |
Let’s go ahead 🙆 |
I tested it by adding net package and then using
|
Brief summary
In an IPv6 cluster, the starter pod logs this error:
k6-operator version or image
latest
K6 YAML
Other environment details (if applicable)
No response
Steps to reproduce the problem
Create an IPv6 cluster on AWS EKS, deploy the operator inside and start a test.
Expected behaviour
The test run as expected.
Actual behaviour
The test doesn’t start because the operator doesn’t seem to handle IPv6.
The text was updated successfully, but these errors were encountered: