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
This commit is contained in:
Girish Shilamkar
2016-07-11 23:18:27 +05:30
committed by Bill Maxwell
parent 4849be7375
commit 3550b050db
16 changed files with 345 additions and 0 deletions
@@ -0,0 +1,27 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: prometheus-rancher-exporter-rc
namespace: default
spec:
replicas: 1
selector:
template:
metadata:
labels:
name: prometheus-rancher-exporter
spec:
restartPolicy: Always
containers:
- image: infinityworks/prometheus-rancher-exporter:04
imagePullPolicy: Always
name: prometheus-rancher-exporter
ports:
- containerPort: 9010
env:
- name: CATTLE_ACCESS_KEY
value: "${cattle_access_key}"
- name: CATTLE_SECRET_KEY
value: "${cattle_secret_key}"
- name: CATTLE_CONFIG_URL
value: "${cattle_config_url}"