Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for calPreFilterState (0.56 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	if !ok {
    		return nil, fmt.Errorf("%+v convert to podtopologyspread.preFilterState error", c)
    	}
    	return s, nil
    }
    
    // calPreFilterState computes preFilterState describing how pods are spread on topologies.
    func (pl *PodTopologySpread) calPreFilterState(ctx context.Context, pod *v1.Pod) (*preFilterState, error) {
    	constraints, err := pl.getConstraints(pod)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    	if !ok {
    		return nil, fmt.Errorf("%+v convert to volumerestrictions.state error", c)
    	}
    	return s, nil
    }
    
    // calPreFilterState computes preFilterState describing which PVCs use ReadWriteOncePod
    // and which pods in the cluster are in conflict.
    func (pl *VolumeRestrictions) calPreFilterState(ctx context.Context, pod *v1.Pod, pvcs sets.Set[string]) (*preFilterState, error) {
    	conflictingPVCRefCount := 0
    	for pvc := range pvcs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top