Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deallocationRequested (0.96 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		return nil, statusError(logger, err)
    	}
    
    	s.informationsForClaim = make([]informationForClaim, len(claims))
    	needResourceInformation := false
    	for index, claim := range claims {
    		if claim.Status.DeallocationRequested {
    			// This will get resolved by the resource driver.
    			return nil, statusUnschedulable(logger, "resourceclaim must be reallocated", "pod", klog.KObj(pod), "resourceclaim", klog.KObj(claim))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    				Name(claimName2).
    				Obj()
    	deallocatingClaim = st.FromResourceClaim(pendingImmediateClaim).
    				Allocation("some-driver", &resourcev1alpha2.AllocationResult{}).
    				DeallocationRequested(true).
    				Obj()
    	inUseClaim = st.FromResourceClaim(pendingImmediateClaim).
    			Allocation("some-driver", &resourcev1alpha2.AllocationResult{}).
    			ReservedForPod(podName, types.UID(podUID)).
    			Obj()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
Back to top