- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 186 for NodeName (0.2 sec)
-
cmd/kubeadm/app/phases/kubelet/flags_test.go
}, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { nodeName, hostname, err := GetNodeNameAndHostname(tc.opts.nodeRegOpts) if err != nil { t.Errorf("unexpected error: %v", err) } if nodeName != tc.expectedNodeName { t.Errorf("expected nodeName: %v, got %v", tc.expectedNodeName, nodeName) } if hostname != tc.expectedHostName {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/http-tracer.go
for k, v := range reqHeaders { inputBytes += len(k) + len(v) } // Calculate node name nodeName := r.Host if globalIsDistErasure { nodeName = globalLocalNodeName } if host, port, err := net.SplitHostPort(nodeName); err == nil { if port == "443" || port == "80" { nodeName = host } } // Calculate reqPath reqPath := r.URL.RawPath if reqPath == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/metrics/metrics_test.go
nodeName := k8stypes.NodeName("node-name") dsw.AddNode(nodeName) _, err := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName) if err != nil { t.Fatalf("Expected no error, got %v", err) } logger, _ := ktesting.NewTestContext(t) asw.AddVolumeNode(logger, volumeName, volumeSpec, nodeName, "", true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/fakegenerator.go
return f.recordFuncCall("GenerateDetachVolumeFunc"), nil } func (f *fakeOGCounter) GenerateVolumesAreAttachedFunc(attachedVolumes []AttachedVolume, nodeName types.NodeName, actualStateOfWorld ActualStateOfWorldAttacherUpdater) (volumetypes.GeneratedOperations, error) { return f.recordFuncCall("GenerateVolumesAreAttachedFunc"), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.json
"subresource": "subresourceValue" } ] }, "subsets": [ { "addresses": [ { "ip": "ipValue", "hostname": "hostnameValue", "nodeName": "nodeNameValue", "targetRef": { "kind": "kindValue", "namespace": "namespaceValue", "name": "nameValue", "uid": "uidValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.yaml
- hostname: hostnameValue ip: ipValue nodeName: nodeNameValue targetRef: apiVersion: apiVersionValue fieldPath: fieldPathValue kind: kindValue name: nameValue namespace: namespaceValue resourceVersion: resourceVersionValue uid: uidValue notReadyAddresses: - hostname: hostnameValue ip: ipValue nodeName: nodeNameValue targetRef:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/proxy/kubemark/hollow_proxy.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
) func TestGetPodIPIfPodIPPresent(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: "derp", }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 1) } func TestGetPodIPsIfPodIPPresent(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
kb.resourceAnalyzer = stats.NewResourceAnalyzer(kb, volumeStatsAggPeriod, kb.recorder) nodeRef := &v1.ObjectReference{ Kind: "Node", Name: string(kb.nodeName), UID: types.UID(kb.nodeName), Namespace: "", } fakeKillPodFunc := func(pod *v1.Pod, evict bool, gracePeriodOverride *int64, fn func(*v1.PodStatus)) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/registry.go
imagelocality.Name: imagelocality.New, tainttoleration.Name: runtime.FactoryAdapter(fts, tainttoleration.New), nodename.Name: nodename.New, nodeports.Name: nodeports.New, nodeaffinity.Name: nodeaffinity.New, podtopologyspread.Name: runtime.FactoryAdapter(fts, podtopologyspread.New),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 5K bytes - Viewed (0)