Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnschedulableTimeout (0.71 sec)

  1. pkg/scheduler/internal/queue/events.go

    	WildCardEvent = framework.ClusterEvent{Resource: framework.WildCard, ActionType: framework.All, Label: "WildCardEvent"}
    	// UnschedulableTimeout is the event when a pod stays in unschedulable for longer than timeout.
    	UnschedulableTimeout = framework.ClusterEvent{Resource: framework.WildCard, ActionType: framework.All, Label: "UnschedulableTimeout"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    }
    
    func BenchmarkMoveAllToActiveOrBackoffQueue(b *testing.B) {
    	tests := []struct {
    		name      string
    		moveEvent framework.ClusterEvent
    	}{
    		{
    			name:      "baseline",
    			moveEvent: UnschedulableTimeout,
    		},
    		{
    			name:      "worst",
    			moveEvent: NodeAdd,
    		},
    		{
    			name: "random",
    			// leave "moveEvent" unspecified
    		},
    	}
    
    	podTemplates := []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    		if currentTime.Sub(lastScheduleTime) > p.podMaxInUnschedulablePodsDuration {
    			podsToMove = append(podsToMove, pInfo)
    		}
    	}
    
    	if len(podsToMove) > 0 {
    		p.movePodsToActiveOrBackoffQueue(logger, podsToMove, UnschedulableTimeout, nil, nil)
    	}
    }
    
    // Pop removes the head of the active queue and returns it. It blocks if the
    // activeQ is empty and waits until a new item is added to the queue. It
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top