manifests: add Alertmanager manifests and discovery

The latest version of the Prometheus Operator requires Prometheus
>=v1.4.0 for the Alertmanger discovery feature.
This commit is contained in:
Frederic Branczyk
2016-12-02 13:57:12 +01:00
parent 0c1bb5c1c9
commit d0c1fb522b
5 changed files with 53 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ metadata:
labels:
prometheus: k8s
spec:
version: v1.3.0
version: v1.4.1
resources:
requests:
# 2Gi is default, but won't schedule if you don't have a node with >2Gi
@@ -13,3 +13,8 @@ spec:
# production use. This value is mainly meant for demonstration/testing
# purposes.
memory: 400Mi
alerting:
alertmanagers:
- namespace: monitoring
name: alertmanager-main
port: web