Currently the connection assumes the InfluxDB instance runs on the root of whatever host and port combo is provided, please update to allow influx apis with a context path:
ex: http://localhost:80/my-influxdb/query
This will allow management of influx when running in kubernetes with an ingress controller.