Files
Pablo (Tomas) Fernandez 71e253e1f0 Docs: update guide "Headlamp Kubernetes UI and VictoriaMetrics" (#10462)
### Describe Your Changes

- Updated introduction
- Added proper steps
- Tested intructions on headlamp desktop version and the in-cluster web
ui
- Added images to guide user
- Mentioned that the test connection button does not work (it probes a
`-healthy` endpoint that is not supported by VM). The plugin still
works, it's just the test button that fails
- Added links to the single and cluster installation guides

### Checklist

The following checks are **mandatory**:

- [X] My change adheres to [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/victoriametrics/contributing/#pull-request-checklist).
- [X] My change adheres to [VictoriaMetrics development
goals](https://docs.victoriametrics.com/victoriametrics/goals/).

---------

Signed-off-by: Pablo (Tomas) Fernandez <46322567+TomFern@users.noreply.github.com>
Co-authored-by: Max Kotliar <mkotlyar@victoriametrics.com>
2026-02-20 22:37:59 +02:00
..

build, sitemap
build sitemap
list publishResources render
never false never
disable
true

Headlamp is a user-friendly Kubernetes UI with a built-in Prometheus plugin that can show metrics from VictoriaMetrics.

This guide shows how to point Headlamps Prometheus integration at VictoriaMetrics single node or VictoriaMetrics cluster to display CPU, memory, network, and filesystem graphs for your Kubernetes resources directly in the UI.

1. Install VictoriaMetrics

VictoriaMetrics must be running in your Kubernetes cluster.

This guide is compatible with both single-node and cluster versions of VictoriaMetrics.

Once VictoriaMetrics is running, note the NAME, PORT, and the namespace where the service is running.

  • For the single-node version:

    kubectl get svc -l app.kubernetes.io/instance=vmsingle
    
    NAME                                      TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
    vmsingle-victoria-metrics-single-server   ClusterIP   None         <none>        8428/TCP   15m
    
  • For the cluster version:

    kubectl get svc -l app=vmselect
    
    NAME                                          TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)    AGE
    vmcluster-victoria-metrics-cluster-vmselect   ClusterIP   10.43.41.195   <none>        8481/TCP   2m2s
    

2. Configure Headlamp

You can run Headlamp as a desktop application or as an in-cluster service.

To configure the Prometheus plugin, go to Settings > Plugins and select Prometheus.

Screenshot of Headlamp UI

Built-in plugins in Headlamp UI (desktop version)

Ensure Enable metrics is activated and Auto-detect is disabled.

Screenshot of Headlamp UI

Prometheus plugin: Enable metrics and disable auto-detect

Fill in the Prometheus Service Address in the following format:

namespace/service-name:port

For example, in the single-node version running in the default namespace, the address looks like:

default/vmsingle-victoria-metrics-single-server:8428

Screenshot of Prometheus Plugin

Prometheus plugin configured for VictoriaMetrics single node

For the cluster version, the address looks like:

default/vmcluster-victoria-metrics-cluster-vmselect:8481

In addition, only for the cluster version, you must fill in the following path in Prometheus service subpath, where 0 is the default Tenant ID:

/select/0/prometheus

Screenshot of Prometheus Plugin

Prometheus plugin configured for VictoriaMetrics cluster

Press Save to confirm your changes.

Note

The Test Connection button does not work with VictoriaMetrics. You can ignore this error; metrics should still be displayed correctly in Headlamp.

You should now find the Show Prometheus metrics option on several pages.

Screenshot of Headlamp UI

Headlamp showing CPU metrics for a pod

See also