Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ErrReasonBindConflict (0.2 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    // strings.
    func reasonNames(reasons ConflictReasons) string {
    	var varNames []string
    	for _, reason := range reasons {
    		switch reason {
    		case ErrReasonBindConflict:
    			varNames = append(varNames, "ErrReasonBindConflict")
    		case ErrReasonNodeConflict:
    			varNames = append(varNames, "ErrReasonNodeConflict")
    		case ErrReasonNotEnoughSpace:
    			varNames = append(varNames, "ErrReasonNotEnoughSpace")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    				},
    				podVolumesByNode: map[string]*PodVolumes{},
    			},
    			wantFilterStatus: []*framework.Status{
    				framework.NewStatus(framework.UnschedulableAndUnresolvable, string(ErrReasonBindConflict)),
    			},
    			wantPreScoreStatus: framework.NewStatus(framework.Skip),
    		},
    		{
    			name: "bound and unbound unsatisfied",
    			pod:  makePod("pod-a").withPVCVolume("pvc-a", "").withPVCVolume("pvc-b", "").Pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func (reasons ConflictReasons) Swap(i, j int)      { reasons[i], reasons[j] = reasons[j], reasons[i] }
    
    const (
    	// ErrReasonBindConflict is used for VolumeBindingNoMatch predicate error.
    	ErrReasonBindConflict ConflictReason = "node(s) didn't find available persistent volumes to bind"
    	// ErrReasonNodeConflict is used for VolumeNodeAffinityConflict predicate error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    				"node2": framework.NewStatus(framework.UnschedulableAndUnresolvable, string(volumebinding.ErrReasonNodeConflict)),
    				"node3": framework.NewStatus(framework.UnschedulableAndUnresolvable, string(volumebinding.ErrReasonBindConflict)),
    				"node4": framework.NewStatus(framework.Unschedulable, "Unschedulable"),
    			},
    			expected: sets.New("node4"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. pkg/scheduler/schedule_one_test.go

    		},
    		{
    			name: "unbound/no matches",
    			volumeBinderConfig: &volumebinding.FakeVolumeBinderConfig{
    				FindReasons: volumebinding.ConflictReasons{volumebinding.ErrReasonBindConflict},
    			},
    			eventReason: "FailedScheduling",
    			expectError: makePredicateError("1 node(s) didn't find available persistent volumes to bind"),
    		},
    		{
    			name: "bound and unbound unsatisfied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top