mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-20 22:11:05 +02:00
git-subtree-dir: contrib/kube-prometheus git-subtree-mainline: 050ca21276696c8603375c699513ec487301ed62 git-subtree-split: 81c0d2f4d30f63a4e274c2870c5afc89241827b0
25 lines
637 B
YAML
25 lines
637 B
YAML
apiVersion: monitoring.coreos.com/v1alpha1
|
|
kind: Prometheus
|
|
metadata:
|
|
name: prometheus-frontend
|
|
namespace: default
|
|
labels:
|
|
prometheus: frontend
|
|
spec:
|
|
version: v1.5.2
|
|
serviceMonitorSelector:
|
|
matchLabels:
|
|
tier: frontend
|
|
resources:
|
|
requests:
|
|
# 2Gi is default, but won't schedule if you don't have a node with >2Gi
|
|
# memory. Modify based on your target and time-series count for
|
|
# production use. This value is mainly meant for demonstration/testing
|
|
# purposes.
|
|
memory: 400Mi
|
|
alerting:
|
|
alertmanagers:
|
|
- namespace: monitoring
|
|
name: alertmanager-main
|
|
port: web
|