Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set CPU metrics for init containers under containerd
metrics-server doesn't return metrics for pods with init containers under containerd because they have incomplete CPU metrics returned by the kubelet /stats/summary API. This problem has been fixed in 1.14 (#74336), but the cherry-picks dropped the `usageNanoCores` metric. This change adds the missing `usageNanoCores` metric for init containers. Fixes #76292
- Loading branch information