How to use Grafana Version 3 with kubernetes?

5/16/2016

I am using Kubernetes v1.2.4 @ https://github.com/kubernetes/kubernetes/releases/download/v1.2.4/kubernetes.tar.gz It comes with Grafana v2.6.0. I tried to change /cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml with monitoringartist/grafana-xxl:latest but this runs Grafana v2.6.0. It seems kube-up is using some other yaml file to create Grafana service. Which yaml/sh file should I modify to do upgrade Grafana?

-- Mohan Mahajan
amazon-web-services
kubernetes

1 Answer

6/4/2016

I edited cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml

- image: privaterepo.net/grafana304
      name: grafana
      env:
      resources:
        # keep request = limit to keep this container in guaranteed class
        limits:

And successfully ran grafana 3.0.4

I was also able to post this file to a running cluster by putting the updated file on the master node at this location (master node periodically creates the RC):

/etc/kubernetes/addons/cluster-monitoring/influxdb/

-- Drew
Source: StackOverflow