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

54 lines
1.5 KiB
YAML
Raw Normal View History

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.8.59
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
# resources:
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 500m
# memory: 512Mi
serviceMonitor: # TODO
# -- Enable deployment of Service Monitor for server component. This is Prometheus operator object
enabled: false
# -- Service Monitor labels
extraLabels: {}
# -- Service Monitor annotations
annotations: {}
# -- Commented. Prometheus scrape interval for server component
interval: 15s
# -- Commented. Prometheus pre-scrape timeout for server component
scrapeTimeout: 5s
# -- Commented. HTTP scheme to use for scraping.
scheme: https
# -- Commented. TLS configuration to use when scraping the endpoint
tlsConfig:
insecureSkipVerify: true
# -- Service Monitor relabelings
relabelings: []