jmeter-operator
jmeter-operator copied to clipboard
Automation to create InfluxDB fails
The $ curl
not found at Grafana Pod.
bash-5.0$ curl 'http://admin:[email protected]:3000/api/datasources' -X POST -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"name":"jmeterdb","type":"influxdb","url":"http://'$influxdb_svc':8086","access":"proxy","isDefault":true,"database":"jmeter","user":"admin","password":"admin"}'
bash: curl: command not found
bash-5.0$ cat /etc/issue
Welcome to Alpine Linux 3.12
Kernel \r on an \m (\l)
When you try execute the script initialize_cluster.sh
return a generic error:
./initialize_cluster.sh
Enter the Jmeter Namespace: mynamespace
Creating Influxdb jmeter Database
Creating the Influxdb data source
OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "curl": executable file not found in $PATH: unknown
command terminated with exit code 126