33 lines
718 B
YAML
33 lines
718 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:
|
|
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
|