- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CanBeReserved (0.28 sec)
-
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) -
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)