Kubernetes v1.37 Promotes Metrics API to Stable
11 similar posts
- Kubernetes
- metrics-server
- kubectl
AI Summary
Kubernetes v1.37 graduates the metrics.k8s.io API to stable (v1), providing long-term API stability guarantees for CPU and memory usage metrics used by kubectl top and HorizontalPodAutoscaler. The v1 surface is identical to v1beta1, and cluster operators should ensure their metrics server implementations register the v1 APIService while retaining v1beta1 for backward compatibility.
Key Takeaways
- The metrics API provides NodeMetrics and PodMetrics with container-level breakdowns.
- HPA currently relies on v1beta1, so metric providers must serve both v1 and v1beta1 during the transition.
- No feature gates are required; the stability depends on the underlying metrics server implementation supporting the v1 APIService.
Why it matters
The graduation of metrics.k8s.io to stable provides cluster operators and developers with official API stability guarantees for core resource monitoring, which powers autoscaling and node inspection tools like kubectl top.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.