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

./initialize_cluster.sh throws error #27

Open
shravanvallaban opened this issue Apr 27, 2021 · 1 comment
Open

./initialize_cluster.sh throws error #27

shravanvallaban opened this issue Apr 27, 2021 · 1 comment

Comments

@shravanvallaban
Copy link

./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?

@shocky
Copy link

shocky commented May 14, 2021

Seems influxdb version 1.x is required.

influxdb_image: influxdb

Change above line as follows:

influxdb_image: influxdb:1.7

Now, It works well.

Good luck.

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

No branches or pull requests

2 participants