Cluster component
VictoriaMetrics (k8s stack)
Keeps metrics history and sends alerts to each project's notification channels.
- Memory when idle
- about 290 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 and ARM servers
- Installed by default
- Recommended
Introduction
VictoriaMetrics keeps the cluster’s metrics history and evaluates alert rules. It scrapes every 30 seconds and keeps 7 days of data on a single node, or 14 days on several nodes, in a 5 Gi volume. Its Alertmanager sends Zeabur OSS’s notifications: each project sets its own channels, and the cluster administrator sets the cluster’s.
Install it when you want usage history and notifications in Zeabur OSS. It scrapes Pods in every namespace and reads builds, databases, backups and certificates in every namespace to raise alerts. Its node exporter runs on the host network and reads the host’s /proc and /sys.
The component turns off what Zeabur OSS does not read: Grafana, the default dashboards and the API server metrics. Only Alertmanager’s own senders can post alerts to it: the alert rules, the metrics agent and Falco. Falco alerts go to the cluster’s channels only.
Use it
In Zeabur OSS, a service’s Usage tab shows the usage history from this store. See View logs, events, and usage, and open a terminal. Add channels and send a test under Cluster → Notifications. See Send cluster alerts to notification channels.
Remove it
Removal deletes the metrics store, the agent, the alert rules, Alertmanager and the exporters. The history volume stays in the observability namespace. Delete it yourself when you no longer need the data.
Usage history and notifications stop after removal. Zeabur OSS refuses to remove it while another installed component, such as Blackbox Exporter, needs it. The VictoriaMetrics operator stays. See Remove components.
Troubleshooting
History or notifications show no data
Check that the store and the agents are operational. Each command should print operational:
kubectl -n observability get vmsingle -o jsonpath='{.items[0].status.updateStatus}'
kubectl -n observability get vmagent -o jsonpath='{.items[0].status.updateStatus}'
If one does not, read the Pods with kubectl -n observability get pods, and check that the operator runs.
Technical details
This release
- Provides
- metrics
- Licence
- Apache-2.0
- Homepage
- victoriametrics.com
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| k3s | linux/amd64 | v1.37.2 | 255 MiB | |
| k3s | linux/arm64 | v1.37.2 | 243 MiB | |
| kind | linux/amd64 | v1.37.0 | 286 MiB | |
| kind | linux/arm64 | v1.37.0 | 255 MiB | |
| kubesolo | linux/amd64 | v1.36.6 | 256 MiB | |
| kubesolo | linux/arm64 | v1.36.6 | 284 MiB | |
| rke2 | linux/amd64 | v1.37.2 | 259 MiB | |
| rke2 | linux/arm64 | v1.37.2 | 255 MiB |
Security
Manages VictoriaMetrics objects, scrapes pods in all namespaces, and reads builds, databases, backups and certificates in all namespaces for alerts. node-exporter reads the host's /proc and /sys on the host network.
What it installs
- k8s-stack 0.96.0
- alertmanager-access