Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsForPod (0.14 sec)

  1. pkg/controller/resourceclaim/controller.go

    		}
    		if err != nil {
    			// Shouldn't happen.
    			return true, fmt.Sprintf("internal error while checking for claim: %v", err)
    		}
    
    		if checkOwner &&
    			resourceclaim.IsForPod(pod, claim) != nil {
    			// Cannot proceed with the pod unless that other claim gets deleted.
    			return false, "conflicting claim needs to be removed by user"
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/manager.go

    			metav1.GetOptions{})
    		if err != nil {
    			return fmt.Errorf("failed to fetch ResourceClaim %s referenced by pod %s: %+v", *claimName, pod.Name, err)
    		}
    
    		if mustCheckOwner {
    			if err = resourceclaim.IsForPod(pod, resourceClaim); err != nil {
    				return err
    			}
    		}
    
    		// Check if pod is in the ReservedFor for the claim
    		if !resourceclaim.IsReservedForPod(pod, resourceClaim) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top