2
0

prometheus-frontend.yaml 662 B

12345678910111213141516171819202122232425
  1. apiVersion: monitoring.coreos.com/v1
  2. kind: Prometheus
  3. metadata:
  4. name: frontend
  5. namespace: default
  6. labels:
  7. prometheus: frontend
  8. spec:
  9. serviceAccountName: prometheus-frontend
  10. version: v1.7.1
  11. serviceMonitorSelector:
  12. matchLabels:
  13. tier: frontend
  14. resources:
  15. requests:
  16. # 2Gi is default, but won't schedule if you don't have a node with >2Gi
  17. # memory. Modify based on your target and time-series count for
  18. # production use. This value is mainly meant for demonstration/testing
  19. # purposes.
  20. memory: 400Mi
  21. alerting:
  22. alertmanagers:
  23. - namespace: monitoring
  24. name: alertmanager-main
  25. port: web