Guest User

Untitled

a guest
Nov 13th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. ---
  2. # This manifest declares that we want a Prometheus cluster deployed via the
  3. # Prometheus operator. Note, in order to use the `Prometheus` CRD, we must first
  4. # deploy CoreOS's Prometheus Operator.
  5. apiVersion: monitoring.coreos.com/v1
  6. kind: Prometheus
  7. metadata:
  8. name: prometheus
  9. spec:
  10. ...
  11. # PrometheusRules specify the rules under which Prometheus should fire alerts
  12. # (which are handeled by AlertManager). We attach `PrometheusRules` to our
  13. # `Prometheus` instance via the `ruleSelector`.
  14. ruleSelector:
  15. matchLabels:
  16. role: alert-rules
  17. # Configure our Prometheus instance to send alerts to the `alertmanager`
  18. # service.
  19. alerting:
  20. alertmanagers:
  21. # @TODO(mattjmcnaughton) We'll want to update/template this namespace once
  22. # we being making more advanced uses of namespaces.
  23. - namespace: default
  24. name: alertmanager
  25. port: web
  26. ...
Add Comment
Please, Sign In to add comment