Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CanBeReserved (0.28 sec)

  1. pkg/controller/resourceclaim/controller.go

    				return true, "need to updated PodSchedulingContext for scheduled pod"
    			}
    		}
    		if claim.Status.Allocation != nil &&
    			!resourceclaim.IsReservedForPod(pod, claim) &&
    			resourceclaim.CanBeReserved(claim) {
    			// Need to reserve it.
    			return true, "need to reserve claim for pod"
    		}
    	}
    
    	return false, "nothing to do"
    }
    
    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/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    			return nil, statusUnschedulable(logger, "resourceclaim must be reallocated", "pod", klog.KObj(pod), "resourceclaim", klog.KObj(claim))
    		}
    		if claim.Status.Allocation != nil &&
    			!resourceclaim.CanBeReserved(claim) &&
    			!resourceclaim.IsReservedForPod(pod, claim) {
    			// Resource is in use. The pod has to wait.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top