470385 (3) [Avatar] Offline
Hi Marko,
I have a question regarding chapter 14.6.2 about influxdb and grafana.
I was following the github manual you recommended with the heapster, grafana and influxdb yaml files. I edited them accordingly, with the nodePort on the service and so on. But when I kubectl create -f <the-folder-with-the3-yaml-files> everything gets up and running except the monitoring-grafana pod.
I get the following logs no matter the combinations in configuration I do to the yaml files: -->
Starting a utility program that will configure Grafana
Starting Grafana in foreground mode
Can't access the Grafana dashboard. Error: Get http://admin:admin@localhost:3000/api/org: dial tcp [::1]:3000: getsockopt: connection refused. Retrying after 5 seconds...
t=2017-07-01T15:09:43+0000 lvl=crit msg="Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: no such file or directory%!(EXTRA []interface {}=[])"

No firewall and no selinux is enabled, and no other pods or services (other than the default ones needed for running the cluster) are running.
Could you point me in the right direction, in order to fix this problem?

Marko Lukša (67) [Avatar] Offline
Hi, seems like there's a bug in the current master branch (and 1.4 release). Try deploying Grafana from the release-1.3 branch (https://github.com/kubernetes/heapster/tree/release-1.3/deploy/kube-config/influxdb).