Monitoring/manifests/prometheus/prometheus.yaml

37 lines
866 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus
namespace: monitoring
spec:
serviceAccountName: prometheus
serviceMonitorNamespaceSelector: {}
serviceMonitorSelector: {}
podMonitorSelector: {}
resources:
requests:
memory: 300Mi
storage:
volumeClaimTemplate:
metadata:
labels:
recurring-job.longhorn.io/source: enabled
recurring-job-group.longhorn.io/standard-pvc: enabled
spec:
storageClassName: redundant-storage-class
resources:
requests:
storage: 5Gi
securityContext:
runAsNonRoot: true
fsGroup: 2000
runAsUser: 1000
alerting:
alertmanagers:
- namespace: monitoring
name: alertmanager-svc
port: web
ruleSelector: {}
ruleNamespaceSelector: {}
externalUrl: https://prometheus.entos