Metrics
Overview
Krust displays CPU and memory usage for pods and workloads by integrating with the Kubernetes metrics-server API.
Pod Metrics
CPU and memory usage values are displayed directly in the pod list table columns. Values are fetched from the metrics.k8s.io API.
Workload Metrics
Aggregated CPU and memory metrics are available for workload resources:
- Deployments
- StatefulSets
- DaemonSets
- Jobs
- CronJobs
Deployment metrics are resolved through ReplicaSet ownership chains.
Polling
Metrics are polled on a 30-second interval and refresh automatically in the background.
Graceful Degradation
If metrics-server is not available in the cluster:
- Metric columns display
-instead of values - No errors or crashes occur
- Krust re-checks metrics-server availability periodically
Requirements
- metrics-server must be installed in the cluster (standard in most managed Kubernetes providers)
- No additional configuration is needed in Krust