mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-20 16:55:08 +00:00
Automatic merge from submit-queue Add sandbox gc minage Fixes https://github.com/kubernetes/kubernetes/issues/34272. Fixes https://github.com/kubernetes/kubernetes/issues/33984. This PR: 1) Change the `GetPodStatus` to get statuses of all containers in a pod instead of only containers belonging to existing sandboxes. This is because sandbox may be removed by GC or by users, kubelet should be able to deal with this case. 2) Change the CRI comment to clarify the timestamp unit (nanosecond). 2) Add MinAge for sandbox GC Policy. @yujuhong @feiskyer @yifan-gu /cc @kubernetes/sig-node