Title
Create new category
Edit page index title
Edit category
Edit link
Fetch K8s Metrics on Vanilla Cluster
This page explains how to fetch Kubernetes metrics on a vanilla cluster using VictoriaMetrics, along with the optional installation of:
Prometheus Node Exporter
kube-state-metrics
It also covers configuring vmagent to push metrics to a remote VictoriaMetrics database.
Prerequisites
A running Kubernetes cluster
Helm installed and configured
Step 1: Add VictoriaMetrics Helm Repository
Add the Helm repository:
Update the repository:
Step 2: Configure Values File
Update the values_vmdb.yaml file with the following configuration:
Replace
VMDBSERVERwith your VictoriaMetrics server hostname.Replace
CLUSTERHASHwith your cluster identifier.If you already have Node Exporter or Kube-State-Metrics deployed, update the
vmagentrelabel configs to point to existing services instead of enabling new ones.
Step 3: Install the Stack
Deploy the VictoriaMetrics Kubernetes stack:
This installation includes:
VictoriaMetrics Operator
vmagent
Node Exporter (optional)
Kube-State-Metrics (optional)
Deploy vmagent only (Without Helm)
If you already have:
Prometheus Node Exporter
kube-state-metrics
Running in your cluster, you do not need to install the full VictoriaMetrics stack via Helm.
Instead, deploy only vmagent using Kubernetes manifests. Edit the configuration accordingly.
Summary
This setup enables:
Collection of node-level and cluster-level metrics
Remote write to VictoriaMetrics backend
Flexible integration with existing monitoring components
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2026