- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CouldHaveRunningContainers (0.45 sec)
-
pkg/kubelet/pod_workers_test.go
t.Errorf("Expected pod to not be terminating") } if podWorkers.CouldHaveRunningContainers(types.UID("0")) { t.Errorf("Expected pod to be terminated (deleted and terminated)") } if podWorkers.CouldHaveRunningContainers(types.UID("1")) { t.Errorf("Expected pod to be terminated") } if !podWorkers.CouldHaveRunningContainers(types.UID("2")) { t.Errorf("Expected pod to not be terminated") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
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)