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

./initialize_cluster.sh throws error

Open shravanvallaban opened this issue 3 years ago • 1 comments

./initialize_cluster.sh

When the above command is executed I get the error

Error: unknown shorthand flag: 'e' in -execute See 'influx -h' for help command terminated with exit code 1

This error is thrown from the line

kubectl -n $namespace exec -ti $influxdb_pod -- influx -execute 'CREATE DATABASE jmeter'

Any idea about this error?

shravanvallaban avatar Apr 27 '21 02:04 shravanvallaban

Seems influxdb version 1.x is required.

https://github.com/kubernauts/jmeter-operator/blob/9de46870386bb5438e7183f41e99add44d0cc6ca/jmeter-deploy.yaml#L14 Change above line as follows:

influxdb_image: influxdb:1.7

Now, It works well.

Good luck.

shocky avatar May 14 '21 12:05 shocky