Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,491 for FRAMEWORK (0.15 sec)

  1. pkg/scheduler/schedule_one_test.go

    					Predicates: []tf.FitPredicate{func(pod *v1.Pod, node *framework.NodeInfo) *framework.Status {
    						if node.Node().Name == "a" {
    							return framework.NewStatus(framework.Success)
    						}
    						if node.Node().Name == "b" {
    							return framework.NewStatus(framework.Unschedulable, fmt.Sprintf("node %q is not allowed", node.Node().Name))
    						}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/cache/snapshot.go

    	nodeInfoList []*framework.NodeInfo
    	// havePodsWithAffinityNodeInfoList is the list of nodes with at least one pod declaring affinity terms.
    	havePodsWithAffinityNodeInfoList []*framework.NodeInfo
    	// havePodsWithRequiredAntiAffinityNodeInfoList is the list of nodes with at least one pod declaring
    	// required anti-affinity terms.
    	havePodsWithRequiredAntiAffinityNodeInfoList []*framework.NodeInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one.go

    // Filters the nodes to find the ones that fit the pod based on the framework
    // filter plugins and filter extenders.
    func (sched *Scheduler) findNodesThatFitPod(ctx context.Context, fwk framework.Framework, state *framework.CycleState, pod *v1.Pod) ([]*framework.NodeInfo, framework.Diagnosis, error) {
    	logger := klog.FromContext(ctx)
    	diagnosis := framework.Diagnosis{
    		NodeToStatusMap: make(framework.NodeToStatusMap),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    func (pl *InterPodAffinity) PreScore(
    	pCtx context.Context,
    	cycleState *framework.CycleState,
    	pod *v1.Pod,
    	nodes []*framework.NodeInfo,
    ) *framework.Status {
    	if len(nodes) == 0 {
    		// No nodes to score.
    		return framework.NewStatus(framework.Skip)
    	}
    
    	if pl.sharedLister == nil {
    		return framework.NewStatus(framework.Error, "empty shared lister in InterPodAffinity PreScore")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    			},
    			wantPreFilterStatus: framework.NewStatus(framework.Skip),
    			wantFilterStatus: []*framework.Status{
    				nil,
    			},
    			wantPreScoreStatus: framework.NewStatus(framework.Skip),
    		},
    		{
    			name: "all bound",
    			pod:  makePod("pod-a").withPVCVolume("pvc-a", "").Pod,
    			nodes: []*v1.Node{
    				makeNode("node-a").Node,
    			},
    			pvcs: []*v1.PersistentVolumeClaim{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    	if pod == nil {
    		return framework.NewStatus(framework.Error, "pod must not be nil")
    	}
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(ctx context.Context, config *runtime.Unknown, _ framework.Handle) (framework.Plugin, error) {
    	if config == nil {
    		klog.FromContext(ctx).Error(nil, "MultipointExample configuration cannot be empty")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/vm_test.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/check"
    	"istio.io/istio/pkg/test/framework/components/echo/common/ports"
    	"istio.io/istio/pkg/test/framework/components/echo/deployment"
    	"istio.io/istio/pkg/test/framework/components/echo/kube"
    	"istio.io/istio/pkg/test/framework/components/echo/match"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/events.go

    	// NodeLabelChange is the event when node label is changed.
    	NodeLabelChange = framework.ClusterEvent{Resource: framework.Node, ActionType: framework.UpdateNodeLabel, Label: "NodeLabelChange"}
    	// NodeAnnotationChange is the event when node annotation is changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/echotest/run.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/istio/ingress"
    )
    
    type (
    	perDeploymentTest  func(t framework.TestContext, deployments echo.Instances)
    	perNDeploymentTest func(t framework.TestContext, deployments echo.Services)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/fit.go

    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    	schedutil "k8s.io/kubernetes/pkg/scheduler/util"
    )
    
    var _ framework.PreFilterPlugin = &Fit{}
    var _ framework.FilterPlugin = &Fit{}
    var _ framework.EnqueueExtensions = &Fit{}
    var _ framework.PreScorePlugin = &Fit{}
    var _ framework.ScorePlugin = &Fit{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top