Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for nodeResources (0.38 sec)

  1. pkg/scheduler/framework/plugins/registry.go

    		nodeunschedulable.Name:               nodeunschedulable.New,
    		noderesources.Name:                   runtime.FactoryAdapter(fts, noderesources.NewFit),
    		noderesources.BalancedAllocationName: runtime.FactoryAdapter(fts, noderesources.NewBalancedAllocation),
    		volumebinding.Name:                   runtime.FactoryAdapter(fts, volumebinding.New),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pkg/registry/registrytest/node.go

    	sync.Mutex
    }
    
    // MakeNodeList constructs api.NodeList from list of node names and a NodeResource.
    func MakeNodeList(nodes []string, nodeResources api.ResourceList) *api.NodeList {
    	list := api.NodeList{
    		Items: make([]api.Node, len(nodes)),
    	}
    	for i := range nodes {
    		list.Items[i].Name = nodes[i]
    		list.Items[i].Status.Capacity = nodeResources
    	}
    	return &list
    }
    
    func (r *NodeRegistry) SetError(err error) {
    	r.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    }
    
    func (c claimController) nodeIsSuitable(ctx context.Context, nodeName string, resources resources) (bool, error) {
    	nodeResources := resources[nodeName]
    	for driverName, perDriver := range c.namedresources {
    		okay, err := perDriver.controller.NodeIsSuitable(ctx, nodeResources[driverName].NamedResources)
    		if err != nil {
    			// This is an error in the CEL expression which needs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/plugin/client_test.go

    		request       *drapbv1alpha3.NodeListAndWatchResourcesRequest
    		responses     []*drapbv1alpha3.NodeListAndWatchResourcesResponse
    		expectError   string
    	}{
    		{
    			description:   "server supports NodeResources API",
    			serverSetup:   setupFakeGRPCServer,
    			serverVersion: v1alpha3Version,
    			request:       &drapbv1alpha3.NodeListAndWatchResourcesRequest{},
    			responses: []*drapbv1alpha3.NodeListAndWatchResourcesResponse{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top