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:
committed by
Bill Maxwell
parent
4849be7375
commit
3550b050db
@@ -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
|
||||
Reference in New Issue
Block a user