Skip to content
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

arguments option issue #11

Closed
victorlcm opened this issue Apr 23, 2021 · 3 comments · Fixed by #12
Closed

arguments option issue #11

victorlcm opened this issue Apr 23, 2021 · 3 comments · Fixed by #12

Comments

@victorlcm
Copy link
Contributor

Hey guys, first of all thank you so much for your work!

I'm trying to execute the operator with the following spec:

apiVersion: k6.io/v1alpha1
kind: K6
metadata:
  name: k6-sample
spec:
  parallelism: 4
  script: aligator-stress-test
  arguments: --out kafka=brokers=dockerhost:9092,topic=load-output,format=json

however, when running the apply I'm getting the error

time="2021-04-23T20:02:25Z" level=error msg="unknown flag: --out kafka"

Could anyone help me out with this issue?

@simskij
Copy link
Contributor

simskij commented Apr 24, 2021

Hey!

I'll have a look at this on Monday. Thanks for pointing it out! 🙏🏼

@baasbank
Copy link

Hey!

I'll have a look at this on Monday. Thanks for pointing it out! 🙏🏼

Hey, @simskij. Did you get a chance to look at this?
I have the same issue with influxdb.

@simskij
Copy link
Contributor

simskij commented Apr 27, 2021

Hey,

Yeah, this was an error on my part. It works as long as you put an equal sign instead of a space between --out/-o and the argument. However, this is not the intended behavior. Fixing this and releasing a new version.

Thanks again,
Simme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants