Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,501 for FRAMEWORK (0.29 sec)

  1. tests/integration/security/util/framework.go

    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/match"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    const (
    	ASvc             = "a"
    	BSvc             = "b"
    	CSvc             = "c"
    	DSvc             = "d"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    	preScorePlugins      []framework.PreScorePlugin
    	scorePlugins         []framework.ScorePlugin
    	reservePlugins       []framework.ReservePlugin
    	preBindPlugins       []framework.PreBindPlugin
    	bindPlugins          []framework.BindPlugin
    	postBindPlugins      []framework.PostBindPlugin
    	permitPlugins        []framework.PermitPlugin
    
    	// pluginsMap contains all plugins, by name.
    	pluginsMap map[string]framework.Plugin
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		},
    		{
    			pod: newResourceInitPod(newResourcePod(framework.Resource{MilliCPU: 1, Memory: 1}), framework.Resource{MilliCPU: 3, Memory: 1}, framework.Resource{MilliCPU: 2, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 8, Memory: 19})),
    			name:       "too many resources fails due to highest init container cpu",
    			wantStatus: framework.NewStatus(framework.Unschedulable, getErrReason(v1.ResourceCPU)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/runtime/framework_test.go

    	return pl.inj.PreFilterResult, framework.NewStatus(framework.Code(pl.inj.PreFilterStatus), injectReason)
    }
    
    func (pl *TestPlugin) PreFilterExtensions() framework.PreFilterExtensions {
    	return pl
    }
    
    func (pl *TestPlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    		// See: https://github.com/kubernetes/kubernetes/issues/110175
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.UpdateNodeLabel | framework.UpdateNodeTaint}},
    		// We rely on CSI node to translate in-tree PV to CSI.
    		{Event: framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Add | framework.Update}},
    		// When CSIStorageCapacity is enabled, pods may become schedulable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. pkg/scheduler/testing/framework/fake_plugins.go

    func (pl *FalseFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	return framework.NewStatus(framework.Unschedulable, ErrReasonFake)
    }
    
    // NewFalseFilterPlugin initializes a FalseFilterPlugin and returns it.
    func NewFalseFilterPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    	return &FalseFilterPlugin{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/preemption/preemption_test.go

    			nodesStatuses: framework.NodeToStatusMap{
    				"node1": framework.NewStatus(framework.UnschedulableAndUnresolvable, interpodaffinity.ErrReasonAffinityRulesNotMatch),
    				"node2": framework.NewStatus(framework.Unschedulable, interpodaffinity.ErrReasonAntiAffinityRulesNotMatch),
    				"node3": framework.NewStatus(framework.Unschedulable, "Unschedulable"),
    				"node4": framework.NewStatus(framework.Unschedulable, "Unschedulable"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.UpdateNodeLabel | framework.UpdateNodeTaint}},
    		// A new pvc may make a pod schedulable.
    		// Due to fields are immutable except `spec.resources`, pvc update events are ignored.
    		{Event: framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    	wantPorts, err := getPreFilterState(cycleState)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	fits := fitsPorts(wantPorts, nodeInfo)
    	if !fits {
    		return framework.NewStatus(framework.Unschedulable, ErrReason)
    	}
    
    	return nil
    }
    
    // Fits checks if the pod fits the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		// We can remove UpdateNodeTaint when we remove the preCheck feature.
    		// See: https://github.com/kubernetes/kubernetes/issues/110175
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.Delete | framework.UpdateNodeLabel | framework.UpdateNodeTaint}, QueueingHintFn: pl.isSchedulableAfterNodeChange},
    	}
    }
    
    func involvedInTopologySpreading(incomingPod, podWithSpreading *v1.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top