KubeBolt / docs
GitHub

Metrics Server

KubeBolt uses the Kubernetes Metrics Server for CPU/memory data.

How it Works

The Metrics Collector polls metrics.k8s.io/v1beta1 (PodMetrics and NodeMetrics) every 30 seconds. Results are stored in an in-memory cache — no database required.

Graceful Degradation

If Metrics Server is not installed, KubeBolt shows all resource state and events normally. CPU/memory bars display a message with a one-click install command. The Collector distinguishes between “not installed” and “403 Forbidden” via apierrors.IsForbidden().

Namespace-scoped Metrics

When cluster-wide metrics access is denied (namespace-scoped ServiceAccounts), the Collector falls back to per-namespace polling: PodMetricses(ns).List() for each accessible namespace.