<p>enter image description hereI tried to used the instructions from this link <a href="https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md" rel="nofollow noreferrer">https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md</a> but I was not able to install it. specifically I dont know what this instruction means "Ensure that kubecfg.sh is exported." I dont even know where I can find this I did this <code>sudo find / -name "kubecfg.sh"</code> and I found no results. </p>

<p>moving on to the next step <code>"kubectl create -f deploy/kube-config/influxdb/"</code> when I did this it says kube-system not found I am using latest version of kubernetes version 1.0.1 </p>

<p>These instructions are broken can any one provide some instructions on how to install this? I have kubernetes cluster up and running I was able to create and delete pods and so on and <strong>default</strong> is the only namespace I have when i do <code>kubectl get pods,svc,rc --all-namespaces</code></p>

<p>Changing kube-system to default in the yaml files is just getting me one step further but I am unable to access the UI and so on. so installing kube-system makes more sense however I dont know how to do it and any instructions on installing influxdb and grafana to get it up and running will be very helpful</p>

<p><a href="https://i.stack.imgur.com/SZT8e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SZT8e.jpg" alt="Displaying all pods and namespaces"></a></p>

<p><a href="https://i.stack.imgur.com/4kycM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4kycM.jpg" alt="InfluxDB seems like its working"></a></p>

<p><a href="https://i.stack.imgur.com/thvcz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/thvcz.jpg" alt="Grafana link is not working for some reason but you can see the screen shot below that shows IP"></a></p>

<p><a href="https://i.stack.imgur.com/zUD2k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zUD2k.jpg" alt="cluster-info"></a></p>

<p>We had the same issue deploying grafana/influxdb.   So we dug into it:</p>

<p>Per <a href="https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md" rel="nofollow">https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md</a> since we don’t have an external load balancer, we changed the port type on the grafana service to NodePort which made it accessible at port 30397.</p>

<p>Then looked at the controller configuration here: <a href="https://github.com/kubernetes/heapster/blob/master/deploy/kube-config/influxdb/influxdb-grafana-controller.yaml" rel="nofollow">https://github.com/kubernetes/heapster/blob/master/deploy/kube-config/influxdb/influxdb-grafana-controller.yaml</a> and noticed the comment about using the api-server proxy which we wouldn’t be doing by exposing the NodePort, so we deleted the GF_SERVER_ROOT_URL environment variable from the config.  At that point Grafana at least seemed to be running, but it looked like it was having trouble reaching influxdb.</p>

<p>We then changed the datasource to use localhost instead of monitoring-influxd and was able to connect.  We're getting data on the cluster usage now, though individual pod data doesn’t seem to be working.   </p>
