2021-08-26 16:42:32 +00:00
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
kind: Prometheus
|
|
|
|
metadata:
|
|
|
|
name: prometheus
|
|
|
|
spec:
|
|
|
|
serviceAccountName: prometheus
|
2021-12-27 03:49:51 +00:00
|
|
|
retention: 28d
|
|
|
|
retentionSize: 4.5GB
|
2021-12-16 20:46:23 +00:00
|
|
|
ruleSelector:
|
|
|
|
matchLabels:
|
|
|
|
monitor: prometheus
|
2021-08-26 16:42:32 +00:00
|
|
|
serviceMonitorSelector:
|
|
|
|
matchLabels:
|
|
|
|
monitor: prometheus
|
|
|
|
podMonitorSelector:
|
|
|
|
matchLabels:
|
|
|
|
monitor: prometheus
|
2021-09-06 17:24:55 +00:00
|
|
|
probeSelector:
|
|
|
|
matchLabels:
|
|
|
|
monitor: prometheus
|
2021-12-27 03:49:51 +00:00
|
|
|
securityContext:
|
|
|
|
runAsGroup: 65534
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 65534
|
|
|
|
fsGroup: 65534
|
2021-08-26 16:42:32 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
2021-12-26 06:58:38 +00:00
|
|
|
cpu: 500m
|
2021-12-26 22:42:00 +00:00
|
|
|
memory: 1Gi
|
2021-08-26 16:42:32 +00:00
|
|
|
limits:
|
2021-08-28 03:54:21 +00:00
|
|
|
cpu: 1000m
|
2021-12-27 03:49:51 +00:00
|
|
|
memory: 2Gi
|
|
|
|
storage:
|
|
|
|
volumeClaimTemplate:
|
|
|
|
spec:
|
|
|
|
accessModes: ["ReadWriteOnce"]
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 5Gi
|