Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Kubernetes Blog 6 min read Release mediumAdept

Kubernetes v1.36: PSI Metrics for Kubernetes Graduates to GA

Pressure Stall Information (PSI) metrics in the kubelet are generally available in Kubernetes v1.36, exposing CPU, memory and I/O stall time at node, pod and container level with no feature gate needed. SIG Node measured overhead on 4-core nodes running 80+ pods: kubelet collection was indistinguishable from baseline, and kernel PSI tracking cost roughly 0.04–0.125 cores (about 1–3% of the node), with one brief spike to 0.225 cores. Since beta, the kubelet checks cgroup configuration for OS-level PSI support and no longer emits misleading zero values on nodes booted with psi=0. Using the metrics requires Linux 4.20+, cgroup v2 and CONFIG_PSI; they are scraped from /metrics/cadvisor or read via the Summary API.

Related posts

  • Kubernetes v1.37: Metrics API graduates to stable

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 graduates the metrics.k8s.io resource Metrics API, which supplies node and Pod CPU and memory usage to kubectl top and the HorizontalPodAutoscaler, to stable v1. The v1 surface is identical to v1beta1, with the same NodeMetrics and PodMetrics types and no field or semantic changes. kubectl top prefers v1 and falls back to v1beta1, but the HPA controller still only supports v1beta1. Metrics implementations such as metrics-server must serve v1 and register a v1.metrics.k8s.io APIService, and should keep serving both versions during the transition.

  • Our journey taking Kubernetes state metrics to the next level

    Datadog Engineering mediumAdept

    Datadog's Containers team made kube-state-metrics usable as a library: an upstream PR made the KSM Builder extensible so the MetricStore could be swapped out, with neutral-to-slightly-better benchmark results. Embedding KSM's informers directly in the Datadog Agent as a long-running Go core check, run on Cluster Check Runners or the Cluster Agent, removed the costly crawl of the /metrics endpoint. Large clusters had been producing millions of metrics every 15 seconds, and this change cut collection time 15x and halved memory and CPU footprint. It also required extending the Agent collector's interface to support long-lived check threads.

  • Kubernetes v1.37 Sneak Peek

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 deprecates kube-proxy's ipvs mode, which still relies on iptables underneath. ipvs is slated to be off by default by v1.40 and removed by v1.43. The release also deprecates `kubectl run -f`, strictly forbids static Pods from referencing Secrets or ConfigMaps, and keeps cgroup v1 behind a temporary `failCgroupV1: false` override ahead of its removal. SELinuxMount going GA is a breaking change: pods with different SELinux labels sharing a volume on one node may fail to start unless `seLinuxChangePolicy: Recursive` is set. Featured enhancements are the metrics.k8s.io API reaching GA, rootless kubelet in a user namespace moving to Beta, and a reworked alpha Volume Health Monitor with four new CSI RPCs that surface health in PVC, Pod and CSINode status.

  • Kubernetes v1.38 Sneak Peek

    Kubernetes Blog hardMaster

    Kubernetes v1.38, planned for December 16, 2026, will require container runtimes to report the cgroup driver via the CRI RuntimeConfig RPC. The kubelet will reject the cgroupDriver config field unless the temporary LegacyCgroupDriverFallback gate is enabled, and kubeadm preflight will fail on runtimes that lack the RPC. On cgroup v2 nodes using LimitedSwap, swap limits will follow pod-level memory settings, so Pods whose pod-level request equals their limit get no swap. The kubectl WebSocket opt-out environment variables and the kuberc allowlist `name` field are removed. kuberc, pod-level resources and DRA partitionable devices are expected to go stable, and an alpha EvictionRequest API lets responders prepare Pods before eviction while still respecting PDBs.

  • Kubernetes v1.37: Garhwal

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 ships 67 enhancements: 16 Stable, 23 Beta, 27 Alpha and 1 deprecation. Highlights include stable resilient watch cache initialization, where kube-apiserver now returns HTTP 429 instead of overloading etcd, so clients should honor Retry-After and back off. HPA scale-to-zero reaches Beta for object and external metrics, admission policies can be loaded from static manifests, and Pod-level checkpoint/restore arrives in Alpha via new CRI RPCs. Stable graduations include KYAML, metrics.k8s.io v1, SELinux mount-based labeling (which can break Pods with different labels sharing a volume), several DRA features, StorageVersionMigration, and Pod certificates with ClusterTrustBundles.

The quest for software engineering knowledge.

Look:
Layout: