2023-05-03 04:52:24 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: victoria-metrics
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: victoria-metrics-single
|
2024-01-23 01:24:04 +00:00
|
|
|
version: 0.9.14
|
2023-05-03 04:52:24 +00:00
|
|
|
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"
|
2023-05-04 05:18:39 +00:00
|
|
|
|
2023-05-03 04:52:24 +00:00
|
|
|
# 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
|