Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CouldHaveRunningContainers (0.35 sec)

  1. 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)
  2. 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)
Back to top