theshire/kubernetes/apps/observability/victoria-metrics/cluster/vmsingle.yaml

32 lines
847 B
YAML
Raw Normal View History

2024-10-05 13:37:07 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/operator.victoriametrics.com/vmsingle_v1beta1.json
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMSingle
metadata:
2024-10-06 20:28:11 -05:00
name: victoria
2024-10-05 13:37:07 -05:00
spec:
2024-10-06 20:28:11 -05:00
# Possible units character: h(ours), d(ays), w(eeks), y(ears). Min 24h.
retentionPeriod: "6" # months if not specified
useStrictSecurity: true
2024-10-05 13:37:07 -05:00
extraArgs:
dedup.minScrapeInterval: 10s
maxLabelsPerTimeseries: "40"
search.minStalenessInterval: 5m
2024-10-06 22:18:20 -05:00
vmalert.proxyURL: http://vmalert-victoria.observability.svc:8080
2024-10-06 22:09:52 -05:00
securityContext:
runAsUser: 65534
runAsGroup: 65534
runAsNonRoot: true
fsGroup: 65534
2024-10-05 13:37:07 -05:00
resources:
requests:
cpu: 5m
limits:
memory: 2Gi
storage:
accessModes: [ReadWriteOnce]
resources:
requests:
storage: 10Gi
storageClassName: openebs-hostpath