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

44 lines
942 B
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: victoria-metrics
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: victoria-metrics-single
version: 0.12.7
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
2023-05-04 17:32:07 +00:00
# extraArgs:
# usePromCompatibleNaming: "true"
# resources:
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 500m
# memory: 512Mi
2023-05-04 17:33:54 +00:00
serviceMonitor:
enabled: true
extraLabels:
release: kube-prometheus-stack
scheme: http