* 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
26 lines
544 B
YAML
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 |