Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPodTerminationRequested (0.23 sec)

  1. pkg/kubelet/kubelet.go

    		return false, fmt.Errorf("%s: %v", NetworkNotReadyErrorMsg, err)
    	}
    
    	// ensure the kubelet knows about referenced secrets or configmaps used by the pod
    	if !kl.podWorkers.IsPodTerminationRequested(pod.UID) {
    		if kl.secretManager != nil {
    			kl.secretManager.RegisterPod(pod)
    		}
    		if kl.configMapManager != nil {
    			kl.configMapManager.RegisterPod(pod)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		if kl.podWorkers.IsPodKnownTerminated(p.UID) {
    			continue
    		}
    
    		// terminal pods are considered inactive UNLESS they are actively terminating
    		if kl.isAdmittedPodTerminal(p) && !kl.podWorkers.IsPodTerminationRequested(p.UID) {
    			continue
    		}
    
    		filteredPods = append(filteredPods, p)
    	}
    	return filteredPods
    }
    
    // isAdmittedPodTerminal returns true if the provided config source pod is in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top