Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsPodTerminal (0.31 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    		currentStatus                              *kubecontainer.PodStatus
    		unreadyContainer                           []string
    		previousStatus                             v1.PodStatus
    		isPodTerminal                              bool
    		enablePodDisruptionConditions              bool
    		expected                                   v1.PodStatus
    		expectedPodDisruptionCondition             v1.PodCondition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. pkg/controller/resourceclaim/controller.go

    }
    
    func podNeedsClaims(pod *v1.Pod, deleted bool) (bool, string) {
    	if deleted {
    		return false, "pod got removed"
    	}
    	if podutil.IsPodTerminal(pod) {
    		return false, "pod has terminated"
    	}
    	if pod.DeletionTimestamp != nil && pod.Spec.NodeName == "" {
    		return false, "pod got deleted before scheduling"
    	}
    	// Still needs claims.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller.go

    		return nil, err
    	}
    	// Group Pods by Node name.
    	nodeToDaemonPods := make(map[string][]*v1.Pod)
    	logger := klog.FromContext(ctx)
    	for _, pod := range claimedPods {
    		if !includeDeletedTerminal && podutil.IsPodTerminal(pod) && pod.DeletionTimestamp != nil {
    			// This Pod has a finalizer or is already scheduled for deletion from the
    			// store by the kubelet or the Pod GC. The DS controller doesn't have
    			// anything else to do with it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top