- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for NodeV1 (0.36 sec)
-
pkg/scheduler/framework/runtime/framework_test.go
} var highPriorityPod = &v1.Pod{ ObjectMeta: metav1.ObjectMeta{UID: "high"}, Spec: v1.PodSpec{Priority: &highPriority}, } var nodes = []*v1.Node{ {ObjectMeta: metav1.ObjectMeta{Name: "node1"}}, {ObjectMeta: metav1.ObjectMeta{Name: "node2"}}, } var ( errInjectedStatus = errors.New(injectReason) errInjectedFilterStatus = errors.New(injectFilterReason) )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
}, // Basic event, w/o FirstTimestamp set { event: api.Event{ Source: api.EventSource{ Component: "kubelet", Host: "Node1", }, InvolvedObject: api.ObjectReference{ Kind: "Deployment",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
AddressType: discovery.AddressTypeIPv4, }, }, } node1 := &v1.Node{ ObjectMeta: metav1.ObjectMeta{Name: "node-1"}, Status: nodeReadyStatus, } node2 := &v1.Node{ ObjectMeta: metav1.ObjectMeta{Name: "node-2"}, Status: nodeReadyStatus, } logger, _ := ktesting.NewTestContext(t) esController.nodeStore.Add(node1) esController.nodeStore.Add(node2) esController.addNode()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1/types.go
// refer to a given node as "node1", but the storage system may refer to // the same node as "nodeA". When Kubernetes issues a command to the storage // system to attach a volume to a specific node, it can use this field to // refer to the node name using the ID that the storage system will // understand, e.g. "nodeA" instead of "node1". This field is required.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 32K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
return []string{pod.Spec.NodeName}, nil }, }) defer store.Stop() // In background, update the store. go func() { store.Add(makeTestPodDetails("pod1", 2, "node1", map[string]string{"label": "value1"})) store.Add(makeTestPodDetails("pod2", 3, "node1", map[string]string{"label": "value1"})) store.Add(makeTestPodDetails("pod3", 5, "node2", map[string]string{"label": "value2"})) }() // list by empty MatchValues.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
testSchedulerProfile2 = "test-scheduler-profile-2" testSchedulerProfile3 = "test-scheduler-profile-3" ) nodes := []runtime.Object{ st.MakeNode().Name("node1").UID("node1").Obj(), st.MakeNode().Name("node2").UID("node2").Obj(), st.MakeNode().Name("node3").UID("node3").Obj(), } cases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/volume/util/util.go
// in the form of: // // nodeAffinity: // required: // nodeSelectorTerms: // - matchExpressions: // - key: kubernetes.io/hostname // operator: In // values: // - <node1> // - <node2> func GetLocalPersistentVolumeNodeNames(pv *v1.PersistentVolume) []string { if pv == nil || pv.Spec.NodeAffinity == nil || pv.Spec.NodeAffinity.Required == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
Reason: metav1.StatusReasonTimeout, Code: 504, }, }, }, true) go func(t *testing.T) { err := cacher.watchCache.Add(makeTestPodDetails("pod1", 105, "node1", map[string]string{"label": "value1"})) require.NoError(t, err, "failed adding a pod to the watchCache") }(t) w, err = cacher.Watch(context.Background(), "pods/ns", scenario.opts)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
Default: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)