The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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 (70) [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 (