k3s-cluster/cluster/apps/monitoring/victoria-metrics/helm-release.yaml

44 lines
947 B
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: victoria-metrics
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: victoria-metrics-single
version: 0.9.14
sourceRef:
kind: HelmRepository
name: victoria-metrics-charts
namespace: flux-system
values:
server:
retentionPeriod: 6 # months
fullnameOverride: victoria-metrics-server
persistentVolume:
enabled: true
storageClass: "hostpath"
matchLabels:
app.kubernetes.io/name: victoria-metrics-pv
size: 32Gi
# extraArgs:
# usePromCompatibleNaming: "true"
# resources:
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 500m
# memory: 512Mi
serviceMonitor:
enabled: true
extraLabels:
release: kube-prometheus-stack
scheme: http