12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apiVersion: monitoring.coreos.com/v1
- kind: Prometheus
- metadata:
- name: prometheus-persistant
- namespace: monitoring
- spec:
- replicas: 1
- retention: 7d
- resources:
- requests:
- memory: 400Mi
- securityContext:
- fsGroup: 2000
- runAsNonRoot: true
- runAsUser: 1000
- serviceAccountName: prometheus
- serviceMonitorSelector:
- matchExpressions:
- - key: name
- operator: In
- values:
- - kube-state-metrics
- - node-exporter
- - kubelet
- - traefik
- - rook-ceph-mgr
- - cloudflared
- - shelly-plug-prometheus
- serviceMonitorNamespaceSelector:
- matchExpressions:
- - key: kubernetes.io/metadata.name
- operator: In
- values:
- - monitoring
- storage:
- volumeClaimTemplate:
- spec:
- accessModes:
- - ReadWriteOnce
- storageClassName: ceph-block
- resources:
- requests:
- storage: 50Gi
|