jmeter-operator
jmeter-operator copied to clipboard
./initialize_cluster.sh throws error
./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?
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.