mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-23 16:08:16 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Eliminate extra CRI call during processing cpu set **What this PR does / why we need it**: Encountered this during `kubernetes/frakti` node e2e test. When cpuset is not set, there's still plenty of `runtime.UpdateContainerResources` been called, which seems unnecessary. cc @ConnorDoyle Make sense? Fixes: #53304 **Special notes for your reviewer**: **Release note**: ```release-note Only do UpdateContainerResources when cpuset is set ```