mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-28 18:33:44 +00:00
When PodAndContainerStatsFromCRI FG is enabled, Kubelet tries to get list of metrics from the CRI runtime using CRI API 'ListMetricDescriptors'. As this API is not implemented in neither CRI-O nor Containerd versions used in the test-infra, ResourceMetrics test case fails to gather certain container metrics. Excluding container metrics from the expected list of metrics if PodAndContainerStatsFromCRI is enabled should solve the issue.