A Helm chart for VictoriaMetrics vmestimator
Prerequisites #
Before installing this chart, ensure your environment meets the following requirements:
- Kubernetes cluster - A running Kubernetes cluster with sufficient resources
- Helm - Helm package manager installed and configured
Additional requirements depend on your configuration:
- Persistent storage - Required if you enable persistent volumes for data retention (enabled by default)
- kubectl - Needed for cluster management and troubleshooting
For installation instructions, refer to the official documentation:
Quick start #
Install the chart in single-node mode:
helm install vmestimator vm/victoria-metrics-estimator
Configure vmagent to replicate remote write traffic to:
http://vmestimator-single-vmestimator:8490/cardinality/api/v1/write
For cluster mode:
helm install vmestimator vm/victoria-metrics-estimator --set mode=cluster
Send remote write traffic to the vmestimator-storage-vmestimator-insert service and scrape cardinality estimates from the vmestimator-select-vmestimator service. See the
vmestimator documentation
for architecture and vmagent configuration details.
How to install #
Access a Kubernetes cluster.
Setup chart repository (can be omitted for OCI repositories) #
Add a chart helm repository with follow commands:
helm repo add vm https://victoriametrics.github.io/helm-charts/
helm repo update
List versions of vm/victoria-metrics-estimator chart available to installation:
helm search repo vm/victoria-metrics-estimator -l
Install victoria-metrics-estimator chart
#
Export default values of victoria-metrics-estimator chart to file values.yaml:
For HTTPS repository
helm show values vm/victoria-metrics-estimator > values.yamlFor OCI repository
helm show values oci://ghcr.io/victoriametrics/helm-charts/victoria-metrics-estimator > values.yaml
Change the values according to the need of the environment in values.yaml file.
Consider setting .Values.nameOverride to a small value like vme to avoid hitting resource name limits of 63 characters
Test the installation with command:
For HTTPS repository
helm install vme vm/victoria-metrics-estimator -f values.yaml -n NAMESPACE --debug --dry-runFor OCI repository
helm install vme oci://ghcr.io/victoriametrics/helm-charts/victoria-metrics-estimator -f values.yaml -n NAMESPACE --debug --dry-run
Install chart with command:
For HTTPS repository
helm install vme vm/victoria-metrics-estimator -f values.yaml -n NAMESPACEFor OCI repository
helm install vme oci://ghcr.io/victoriametrics/helm-charts/victoria-metrics-estimator -f values.yaml -n NAMESPACE
Get the pods lists by running this commands:
kubectl get pods -A | grep 'vme'
Get the application by running this command:
helm list -f vme -n NAMESPACE
See the history of versions of vme application with command.
helm history vme -n NAMESPACE
How to uninstall #
Remove application with command.
helm uninstall vme -n NAMESPACE