influxdbHost=flag.String("ir-influxdb-host","localhost:8080/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb:api","Address of InfluxDB which contains metrics required by InitialResources")
influxdbHost=flag.String("ir-influxdb-host","localhost:8080/api/v1/namespaces/kube-system/services/monitoring-influxdb:api/proxy","Address of InfluxDB which contains metrics required by InitialResources")
user=flag.String("ir-user","root","User used for connecting to InfluxDB")
user=flag.String("ir-user","root","User used for connecting to InfluxDB")
// TODO: figure out how to better pass password here
// TODO: figure out how to better pass password here
password=flag.String("ir-password","root","Password used for connecting to InfluxDB")
password=flag.String("ir-password","root","Password used for connecting to InfluxDB")
// TODO: fix MetricsClient to no longer require root proxy access
// TODO: Remove the root /proxy permission in 1.7; MetricsClient no longer requires root proxy access as of 1.6 (fixed in https://github.com/kubernetes/kubernetes/pull/39636)
// TODO: restrict this to the appropriate namespace