mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-16 23:05:05 +00:00
Automatic merge from submit-queue Kubelet: Cache image history to eliminate the performance regression Fix https://github.com/kubernetes/kubernetes/issues/25057. The image history operation takes almost 50% of cpu usage in kubelet performance test. We should cache image history instead of getting it from runtime everytime. This PR cached image history in imageStatsProvider and added unit test. @yujuhong @vishh /cc @kubernetes/sig-node Mark v1.3 because this is a relatively significant performance regression. []()