44 lines
942 B
YAML
44 lines
942 B
YAML
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.4
|
|
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
|