123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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
- serviceMonitorNamespaceSelector:
- matchExpressions:
- - key: kubernetes.io/metadata.name
- operator: In
- values:
- - monitoring
- storage:
- volumeClaimTemplate:
- spec:
- accessModes:
- - ReadWriteOnce
- storageClassName: ceph-block
- resources:
- requests:
- storage: 20Gi
|