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,26 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: prometheus-rc
namespace: default
spec:
replicas: 1
selector:
template:
metadata:
labels:
name: prometheus
spec:
restartPolicy: Always
containers:
- image: infracloud/prometheus
command:
- /bin/prometheus
- -alertmanager.url=http://alertmanager:9093
- -config.file=/etc/prometheus/prometheus.yml
- -storage.local.path=/prometheus -web.console.libraries=/etc/prometheus/console_libraries
- -web.console.templates=/etc/prometheus/consoles
imagePullPolicy: Always
name: prometheus
ports:
- containerPort: 9090