123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- apiVersion: monitoring.coreos.com/v1
- kind: Prometheus
- metadata:
- name: prometheus-persistant
- namespace: monitoring
- spec:
- replicas: 1
- retention: 30d
- resources:
- requests:
- memory: '0'
- limits:
- memory: 1Gi
- securityContext:
- fsGroup: 2000
- runAsNonRoot: true
- runAsUser: 1000
- alerting:
- alertmanagers:
- - namespace: monitoring
- name: alertmanager-operated
- port: web
- serviceAccountName: prometheus
- serviceMonitorSelector: {}
- serviceMonitorNamespaceSelector: {}
- podMonitorSelector: {}
- ruleSelector: # {} # does this pick up nothing if nil?
- matchLabels:
- role: alert-rules
- ruleNamespaceSelector: {}
- # matchExpressions:
- # - key: name
- # operator: In
- # values:
- # - kube-state-metrics
- # - node-exporter
- # - kubelet
- # - traefik
- # - rook-ceph-mgr
- # - rook-ceph-exporter
- # - cloudflared
- # - shelly-plug-exporter
- # matchExpressions:
- # - key: kubernetes.io/metadata.name
- # operator: In
- # values:
- # - monitoring
- # - rook-ceph
- storage:
- volumeClaimTemplate:
- spec:
- accessModes:
- - ReadWriteOnce
- storageClassName: ceph-block-ssd
- resources:
- requests:
- storage: 50Gi
|