Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- # This manifest declares that we want a Prometheus cluster deployed via the
- # Prometheus operator. Note, in order to use the `Prometheus` CRD, we must first
- # deploy CoreOS's Prometheus Operator.
- apiVersion: monitoring.coreos.com/v1
- kind: Prometheus
- metadata:
- name: prometheus
- spec:
- ...
- # PrometheusRules specify the rules under which Prometheus should fire alerts
- # (which are handeled by AlertManager). We attach `PrometheusRules` to our
- # `Prometheus` instance via the `ruleSelector`.
- ruleSelector:
- matchLabels:
- role: alert-rules
- # Configure our Prometheus instance to send alerts to the `alertmanager`
- # service.
- alerting:
- alertmanagers:
- # @TODO(mattjmcnaughton) We'll want to update/template this namespace once
- # we being making more advanced uses of namespaces.
- - namespace: default
- name: alertmanager
- port: web
- ...
Add Comment
Please, Sign In to add comment