Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for nodeInfos (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

      for (const std::string& cur_node : custom_nodes) {
        const std::vector<std::string> node_infos = absl::StrSplit(cur_node, '=');
        const std::string& node_name = node_infos[0];
        const std::string& node_specification = node_infos[1];
        CustomOpInfo new_node_info;
        switch (update_option) {
          case CustomOpUpdateOptions::kInputIndices: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go

    	return Name
    }
    
    // Filter invoked at the filter extension point.
    func (pl *NodeUnschedulable) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	node := nodeInfo.Node()
    
    	if !node.Spec.Unschedulable {
    		return nil
    	}
    
    	// If pod tolerate unschedulable taint, it's also tolerate `node.Spec.Unschedulable`.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go

    	Addresses       []NodeAddressApplyConfiguration        `json:"addresses,omitempty"`
    	DaemonEndpoints *NodeDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"`
    	NodeInfo        *NodeSystemInfoApplyConfiguration      `json:"nodeInfo,omitempty"`
    	Images          []ContainerImageApplyConfiguration     `json:"images,omitempty"`
    	VolumesInUse    []v1.UniqueVolumeName                  `json:"volumesInUse,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable_test.go

    				},
    			},
    		},
    	}
    
    	for _, test := range testCases {
    		nodeInfo := framework.NewNodeInfo()
    		nodeInfo.SetNode(test.node)
    		_, ctx := ktesting.NewTestContext(t)
    		p, err := New(ctx, nil, nil)
    		if err != nil {
    			t.Fatalf("creating plugin: %v", err)
    		}
    		gotStatus := p.(framework.FilterPlugin).Filter(ctx, nil, test.pod, nodeInfo)
    		if !reflect.DeepEqual(gotStatus, test.wantStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/versiongetter_test.go

    					{
    						ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    						Status: v1.NodeStatus{
    							NodeInfo: v1.NodeSystemInfo{
    								KubeletVersion: "v1.28.0",
    							},
    						},
    					},
    					{
    						ObjectMeta: metav1.ObjectMeta{Name: "node2"},
    						Status: v1.NodeStatus{
    							NodeInfo: v1.NodeSystemInfo{
    								KubeletVersion: "v1.28.1",
    							},
    						},
    					},
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/scheduler/testing/framework/framework_helpers.go

    		return &plugins.PreBind
    	case "PostBind":
    		return &plugins.PostBind
    	default:
    		return nil
    	}
    }
    
    // BuildNodeInfos build NodeInfo slice from a v1.Node slice
    func BuildNodeInfos(nodes []*v1.Node) []*framework.NodeInfo {
    	res := make([]*framework.NodeInfo, len(nodes))
    	for i := 0; i < len(nodes); i++ {
    		res[i] = framework.NewNodeInfo()
    		res[i].SetNode(nodes[i])
    	}
    	return res
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. pkg/api/testing/node_example.json

                    "address": "104.197.49.213"
                },
                {
                    "type": "LegacyHostIP",
                    "address": "104.197.20.11"
                }
            ],
            "nodeInfo": {
                "machineID": "",
                "systemUUID": "D59FA3FA-7B5B-7287-5E1A-1D79F13CB577",
                "bootID": "44a832f3-8cfb-4de5-b7d2-d66030b6cd95",
                "kernelVersion": "3.16.0-0.bpo.4-amd64",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 00:36:50 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/fake/fake_cache.go

    	return c.GetPodFunc(pod), nil
    }
    
    // AddNode is a fake method for testing.
    func (c *Cache) AddNode(logger klog.Logger, node *v1.Node) *framework.NodeInfo { return nil }
    
    // UpdateNode is a fake method for testing.
    func (c *Cache) UpdateNode(logger klog.Logger, oldNode, newNode *v1.Node) *framework.NodeInfo {
    	return nil
    }
    
    // RemoveNode is a fake method for testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. pkg/kubelet/winstats/winstats_test.go

    		cpuUsageNanoCores:         23,
    		memoryPrivWorkingSetBytes: 1234,
    		memoryCommittedBytes:      12345,
    		timeStamp:                 timeStamp,
    	}, nil
    }
    
    func (f fakeWinNodeStatsClient) getNodeInfo() nodeInfo {
    	return nodeInfo{
    		kernelVersion:               "v42",
    		memoryPhysicalCapacityBytes: 1.6e+10,
    	}
    }
    func (f fakeWinNodeStatsClient) getMachineInfo() (*cadvisorapi.MachineInfo, error) {
    	return &cadvisorapi.MachineInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 12:08:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top