victoria-metrics

by serge.logvinov

Helm chartv0.3.2App 0.1.0Verified publisher

Predefined resources for Victoria Metrics Operator

About this chart

victoria-metrics

Predefined resources for Victoria Metrics Operator

Homepage: https://github.com/sergelogvinov/helm-charts

Maintainers

NameEmailUrl
sergelogvinovhttps://github.com/sergelogvinov

Source Code

Values

KeyTypeDefaultDescription
imagePullSecretslist[]
nameOverridestring""
fullnameOverridestring""
vmAgent.replicaCountint1
vmAgent.extraArgs.enableTCP6string"true"
vmAgent.extraArgs."promscrape.maxScrapeSize"string"67108864"
vmAgent.extraArgs."promscrape.maxDroppedTargets"string"10000"
vmAgent.extraArgs."promscrape.streamParse"string"true"
vmAgent.extraArgs."promscrape.suppressDuplicateScrapeTargetErrors"string"true"
vmAgent.secretslist[]
vmAgent.configMapslist[]
vmAgent.externalLabelsobject{}
vmAgent.additionalScrapeConfigs.namestring"prometheus-rules-scrape"
vmAgent.additionalScrapeConfigs.keystring"scrape.yml"
vmAgent.remoteWritelist[]
vmAgent.resourcesobject{"limits":{"cpu":1,"memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
vmAgent.affinityobject{}Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
vmAlert.extraArgs.enableTCP6string"true"
vmAlert.secretslist[]
vmAlert.configMaps[0]string"prometheus-rules-config"
vmAlert.configMaps[1]string"prometheus-rules"
vmAlert.rulePath[0]string"/etc/vm/configs/prometheus-rules-config/recording_rules.yml"
vmAlert.rulePath[1]string"/etc/vm/configs/prometheus-rules/*.yml"
vmAlert.resourcesobject{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
vmAlert.affinityobject{}Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
vmSingle.extraArgs.enableTCP6string"true"
vmSingle.extraArgs.maxLabelsPerTimeseriesstring"40"
vmSingle.resourcesobject{"limits":{"cpu":2,"memory":"3Gi"},"requests":{"cpu":"500m","memory":"2Gi"}}Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
vmSingle.affinityobject{}Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
priorityClassNamestringnilPriority Class Name ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
nodeSelectorobject{}Node labels for pod assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/
tolerationslist[]Tolerations for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
affinityobject{}Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity

Deploy victoria-metrics with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has victoria-metrics on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvictoria-metrics is pinned at v0.3.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply