Add metrics-server data to Kubernetes resource details view

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

As an Application Operator, I want to see the resource usage of the applications I own to optimize resource limits and troubleshoot potential issues.

The Metrics API is the standard approach to expose core CPU and Memory usage of Kubernetes resources. The API is implemented by the metrics-server and prometheus-adapter projects, tools that are very often available in a cluster (e.g. GKE clusters come with metrics-server preinstalled).

Proposal

Extend the Kubernetes resource detail views with the metrics returned by the Metrics API

Screenshot_2024-10-31_at_16.48.08

Metrics can be accessed through the following API:

kubectl get --raw /apis/metrics.k8s.io/v1beta1/namespaces/<NAMESPACE>/pods/<POD_NAME>

Intended users

Feature Usage Metrics

  • No new metrics: users opening the details view drawer

Does this feature require an audit event?

No.

Edited by 🤖 GitLab Bot 🤖