- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for PreScore (0.13 sec)
-
cmd/kube-scheduler/app/server_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/testing/defaults/defaults.go
{Name: names.PodTopologySpread}, {Name: names.InterPodAffinity}, }, }, PostFilter: config.PluginSet{ Enabled: []config.Plugin{ {Name: names.DefaultPreemption}, }, }, PreScore: config.PluginSet{ Enabled: []config.Plugin{ {Name: names.TaintToleration}, {Name: names.NodeAffinity}, {Name: names.NodeResourcesFit}, {Name: names.VolumeBinding}, {Name: names.PodTopologySpread},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
Filter PluginSet // PostFilter is a list of plugins that are invoked after filtering phase, but only when no feasible nodes were found for the pod. PostFilter PluginSet // PreScore is a list of plugins that are invoked before scoring. PreScore PluginSet // Score is a list of plugins that should be invoked when ranking nodes that have passed the filtering phase. Score PluginSet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults.go
} func pluginsNames(p *configv1.Plugins) []string { if p == nil { return nil } extensions := []configv1.PluginSet{ p.MultiPoint, p.PreFilter, p.Filter, p.PostFilter, p.Reserve, p.PreScore, p.Score, p.PreBind, p.Bind, p.PostBind, p.Permit, p.PreEnqueue, p.QueueSort, } n := sets.New[string]() for _, e := range extensions { for _, pg := range e.Enabled {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go
t.Fatalf("got err (-want,+got):\n%s", diff) } if err != nil { return } status := p.(framework.PreScorePlugin).PreScore(ctx, state, test.requestedPod, tf.BuildNodeInfos(test.nodes)) if !status.IsSuccess() { t.Errorf("PreScore is expected to return success, but didn't. Got status: %v", status) } var gotScores framework.NodeScoreList for _, n := range test.nodes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 16K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
initialObjects = testCtx.listAll(t) initialObjects = testCtx.updateAPIServer(t, initialObjects, tc.prepare.prescore) status := testCtx.p.PreScore(testCtx.ctx, testCtx.state, tc.pod, potentialNodes) t.Run("prescore", func(t *testing.T) { testCtx.verify(t, tc.want.prescore, initialObjects, nil, status) }) if status.Code() != framework.Success { unschedulable = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
} var gotPriorities framework.NodeScoreList for _, n := range test.nodes { if test.runPreScore { status := p.(framework.PreScorePlugin).PreScore(ctx, state, test.requestedPod, tf.BuildNodeInfos(test.nodes)) if !status.IsSuccess() { t.Errorf("PreScore is expected to return success, but didn't. Got status: %v", status) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
assert.Equal(t, item.wantFilterStatus[i], gotStatus) } t.Logf("Verify: call PreScore and check status") gotPreScoreStatus := p.PreScore(ctx, state, item.pod, tf.BuildNodeInfos(item.nodes)) if diff := cmp.Diff(item.wantPreScoreStatus, gotPreScoreStatus); diff != "" { t.Errorf("state got after prescore does not match (-want,+got):\n%s", diff) } if !gotPreScoreStatus.IsSuccess() { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 32K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
cs := framework.NewCycleState() if s := p.PreScore(ctx, cs, tt.pod, tf.BuildNodeInfos(tt.nodes)); !s.IsSuccess() { t.Fatal(s.AsError()) } got, err := getPreScoreState(cs) if err != nil { t.Fatal(err) } if diff := cmp.Diff(tt.want, got, cmpOpts...); diff != "" { t.Errorf("PodTopologySpread#PreScore() returned (-want, +got):\n%s", diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/options_test.go
apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: '%s' profiles: - schedulerName: "high-throughput-profile" plugins: preScore: enabled: - name: InterPodAffinity pluginConfig: - name: InterPodAffinity args: ignorePreferredTermsOfExistingPods: true `, configKubeconfig)), os.FileMode(0600)); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 30.3K bytes - Viewed (0)