1
0
Fork 0
home-stack-kustomize/kustomize/bases/prometheus/prometheus.yaml

39 lines
777 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus
spec:
serviceAccountName: prometheus
retention: 28d
retentionSize: 4.5GB
ruleSelector:
matchLabels:
monitor: prometheus
serviceMonitorSelector:
matchLabels:
monitor: prometheus
podMonitorSelector:
matchLabels:
monitor: prometheus
probeSelector:
matchLabels:
monitor: prometheus
securityContext:
runAsGroup: 65534
runAsNonRoot: true
runAsUser: 65534
fsGroup: 65534
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 1000m
memory: 2Gi
storage:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi