This repository contains helm charts for VictoriaMetrics and VictoriaLogs.
Access a Kubernetes cluster.
Add a chart helm repository with follow commands:
helm repo add vm https://victoriametrics.github.io/helm-charts/
helm repo update
List all charts and versions of vm
repository available to installation:
helm search repo vm/
The command must display existing helm chart e.g.
NAME CHART VERSION APP VERSION DESCRIPTION
vm/victoria-logs-single 0.3.4 v0.4.2-victorialogs Victoria Logs Single version - high-performance...
vm/victoria-metrics-agent 0.9.17 v1.97.1 Victoria Metrics Agent - collects metrics from ...
vm/victoria-metrics-alert 0.8.7 v1.97.1 Victoria Metrics Alert - executes a list of giv...
vm/victoria-metrics-anomaly 0.5.0 v1.6.0 Victoria Metrics Anomaly Detection - a service ...
vm/victoria-metrics-auth 0.4.6 v1.97.1 Victoria Metrics Auth - is a simple auth proxy ...
vm/victoria-metrics-cluster 0.11.11 v1.97.1 Victoria Metrics Cluster version - high-perform...
vm/victoria-metrics-gateway 0.1.55 v1.97.1 Victoria Metrics Gateway - Auth & Rate-Limittin...
vm/victoria-metrics-k8s-stack 0.18.12 v1.97.1 Kubernetes monitoring on VictoriaMetrics stack....
vm/victoria-metrics-operator 0.27.11 0.41.1 Victoria Metrics Operator
vm/victoria-metrics-single 0.9.15 v1.97.1 Victoria Metrics Single version - high-performa...
Export default values of victoria-metrics-cluster
chart to file values.yaml
:
helm show values vm/victoria-metrics-cluster > values.yaml
Change the values according to the need of the environment in values.yaml
file.
Test the installation with command:
helm install victoria-metrics vm/victoria-metrics-cluster -f values.yaml -n NAMESPACE --debug --dry-run
Install chart with command:
helm install victoria-metrics vm/victoria-metrics-cluster -f values.yaml -n NAMESPACE
Get the pods lists by running these commands:
kubectl get pods -A | grep 'victoria-metrics'
# or list all resorces of victoria-metrics
kubectl get all -n NAMESPACE | grep victoria
Get the application by running this commands:
helm list -f victoria-metrics -n NAMESPACE
See the history of versions of victoria-metrics
application with command.
helm history victoria-metrics -n NAMESPACE
Remove application with command.
helm uninstall victoria-metrics -n NAMESPACE
helm charts tested at kubernetes versions from 1.25 to 1.29.