We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi i think i have one bug or same in Nutanix Karbon K8s.
i run one helm chart influxdata/influxdb2
i go to put true the .sh:
initScripts: enabled: true scripts: init_dbs.sh: |- #!/bin/bash set -e influx bucket create --name my_db --description my_db --token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} --org ${DOCKER_INFLUXDB_INIT_ORG} my_db=influx bucket list | grep " my_db" | awk '{printf $1}' ; echo $ my_db; influx v1 dbrp create --db my_db --rp autogen --default -t ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} --bucket-id $ my_db; my_db=influx bucket list | grep "my_db" | awk '{printf $1}' ;
influx bucket list | grep " my_db" | awk '{printf $1}'
influx bucket list | grep "my_db" | awk '{printf $1}'
influx v1 auth create \ --username user \ --password pass \ --org orga \ --write-bucket $my_db \
So i put false in enable work, if i put true i have this problem in pod:
022-08-12T15:18:16. info Executing user-provided scripts {"system": "docker", "script_dir": "/docker-entrypoint-initdb.d"} /docker-entrypoint-initdb.d/init.sh: Error: failed to read template(s) from "https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml": Get "https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml": dial tcp 1xxxxxxx:443: connect: network is unreachable run-parts: /docker-entrypoint-initdb.d/init.sh exited with return code 1 2022-08-12T15:18:16. warn cleaning bolt and engine files to prevent conflicts on retry {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt", "engine_path": "/var/lib/influxdb2"}
but if i run same chart/influxdata/influxdb2 in aks work fine... i dint modify anithing.
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.8", GitCommit:"4a3b558c52eb6995b3c5c1db5e54111bd0645a64", GitTreeState:"clean", BuildDate:"2021-12-15T14:52:11Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
i think i have one bug or same in Nutanix Karbon K8s.
i run one helm chart influxdata/influxdb2
i go to put true the .sh:
initScripts:
enabled: true
scripts:
init_dbs.sh: |-
#!/bin/bash
set -e
influx bucket create
--name my_db
--description my_db
--token ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN}
--org ${DOCKER_INFLUXDB_INIT_ORG}
my_db=
influx bucket list | grep " my_db" | awk '{printf $1}'
; echo $ my_db; influx v1 dbrp create --db my_db --rp autogen --default -t ${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN} --bucket-id $ my_db;my_db=
influx bucket list | grep "my_db" | awk '{printf $1}'
;So i put false in enable work, if i put true i have this problem in pod:
022-08-12T15:18:16. info Executing user-provided scripts {"system": "docker", "script_dir": "/docker-entrypoint-initdb.d"} /docker-entrypoint-initdb.d/init.sh: Error: failed to read template(s) from "https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml": Get "https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml": dial tcp 1xxxxxxx:443: connect: network is unreachable run-parts: /docker-entrypoint-initdb.d/init.sh exited with return code 1 2022-08-12T15:18:16. warn cleaning bolt and engine files to prevent conflicts on retry {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt", "engine_path": "/var/lib/influxdb2"}
but if i run same chart/influxdata/influxdb2 in aks work fine... i dint modify anithing.
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.8", GitCommit:"4a3b558c52eb6995b3c5c1db5e54111bd0645a64", GitTreeState:"clean", BuildDate:"2021-12-15T14:52:11Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: