- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CouldHaveRunningContainers (0.35 sec)
-
pkg/kubelet/kubelet_pods.go
// containers. This returns false if the pod has not yet been started or the pod is unknown. func (kl *Kubelet) PodCouldHaveRunningContainers(pod *v1.Pod) bool { if kl.podWorkers.CouldHaveRunningContainers(pod.UID) { return true } // Check if pod might need to unprepare resources before termination // NOTE: This is a temporary solution. This call is here to avoid changing
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// TODO(vinaykul,InPlacePodVerticalScaling): Investigate doing this in HandlePodUpdates + periodic SyncLoop scan // See: https://github.com/kubernetes/kubernetes/pull/102884#discussion_r663160060 if kl.podWorkers.CouldHaveRunningContainers(pod.UID) && !kubetypes.IsStaticPod(pod) { pod = kl.handlePodResourcesResize(pod) } } // TODO(#113606): use cancellation from the incoming context parameter, which comes from the pod worker.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)