Girish Shilamkar 3550b050db Add Prometheus template to Kubernetes Catalog (#181)
* Add Prometheus to Kubernetes Catalog

* Updated config.yml

* Aligning version in spec with config

The version in rancher-compose.yml was different than in config.yml
2016-07-11 10:48:27 -07:00

26 lines
544 B
YAML

apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: influxdb-rc
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
name: influxdb
spec:
restartPolicy: Always
containers:
- image: tutum/influxdb:0.10
imagePullPolicy: Always
name: influxdb
env:
- name: PRE_CREATE_DB
value: grafana;prometheus;rancher
- name: GRAPHITE_DB
value: rancher
- name: GRAPHITE_BINDING
value: :2003