github.com/mrgossett/heapster@v0.18.2/deploy/kube-config/influxdb/influxdb-grafana-controller.json (about) 1 { 2 "apiVersion": "v1", 3 "kind": "ReplicationController", 4 "metadata": { 5 "labels": { 6 "name": "influxGrafana" 7 }, 8 "name": "infludb-grafana", 9 "namespace": "kube-system" 10 }, 11 "spec": { 12 "replicas": 1, 13 "selector": { 14 "name": "influxGrafana" 15 }, 16 "template": { 17 "metadata": { 18 "labels": { 19 "name": "influxGrafana" 20 } 21 }, 22 "spec": { 23 "volumes": [ 24 { 25 "name": "grafana-store", 26 "emptyDir": {} 27 } 28 ], 29 "containers": [ 30 { 31 "image": "kubernetes/heapster_influxdb:v0.4", 32 "name": "influxdb", 33 "ports": [ 34 { 35 "containerPort": 8083, 36 "hostPort": 8083 37 }, 38 { 39 "containerPort": 8086, 40 "hostPort": 8086 41 } 42 ] 43 }, 44 { 45 "image": "grafana/grafana:2.1.0", 46 "name": "grafana", 47 "volumeMounts": [ 48 { 49 "name": "grafana-store", 50 "mountPath": "/var/lib/grafana" 51 } 52 ] 53 } 54 ] 55 } 56 } 57 } 58 } 59