Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSchedulableAfterPodChange (0.32 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit.go

    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: podActionType}, QueueingHintFn: f.isSchedulableAfterPodChange},
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.Update}, QueueingHintFn: f.isSchedulableAfterNodeChange},
    	}
    }
    
    // isSchedulableAfterPodChange is invoked whenever a pod deleted or updated. It checks whether
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			logger, ctx := ktesting.NewTestContext(t)
    			p, err := New(ctx, nil, nil, feature.Features{})
    			if err != nil {
    				t.Fatalf("creating plugin: %v", err)
    			}
    			actualHint, err := p.(*TaintToleration).isSchedulableAfterPodChange(logger, tc.pod, tc.oldObj, tc.newObj)
    			if tc.expectedErr {
    				if err == nil {
    					t.Errorf("unexpected success")
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("unexpected error")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top