victoria-metrics
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
| Name | Url | |
|---|---|---|
| sergelogvinov | https://github.com/sergelogvinov |
Source Code
- https://github.com/sergelogvinov/helm-charts/tree/main/charts/victoria-metrics
- https://github.com/VictoriaMetrics
Values
| Key | Type | Default | Description |
|---|---|---|---|
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| vmAgent.replicaCount | int | 1 | |
| vmAgent.extraArgs.enableTCP6 | string | "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.secrets | list | [] | |
| vmAgent.configMaps | list | [] | |
| vmAgent.externalLabels | object | {} | |
| vmAgent.additionalScrapeConfigs.name | string | "prometheus-rules-scrape" | |
| vmAgent.additionalScrapeConfigs.key | string | "scrape.yml" | |
| vmAgent.remoteWrite | list | [] | |
| vmAgent.resources | object | {"limits":{"cpu":1,"memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}} | Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| vmAgent.affinity | object | {} | Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| vmAlert.extraArgs.enableTCP6 | string | "true" | |
| vmAlert.secrets | list | [] | |
| 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.resources | object | {"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| vmAlert.affinity | object | {} | Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| vmSingle.extraArgs.enableTCP6 | string | "true" | |
| vmSingle.extraArgs.maxLabelsPerTimeseries | string | "40" | |
| vmSingle.resources | object | {"limits":{"cpu":2,"memory":"3Gi"},"requests":{"cpu":"500m","memory":"2Gi"}} | Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| vmSingle.affinity | object | {} | Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| priorityClassName | string | nil | Priority Class Name ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass |
| nodeSelector | object | {} | Node labels for pod assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| tolerations | list | [] | Tolerations for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| affinity | object | {} | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvictoria-metrics is pinned at v0.3.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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