theshire/kubernetes/apps/observability/victoria-metrics/cluster/vmsingle.yaml
2024-10-06 20:28:36 -05:00

26 lines
744 B
YAML

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