- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for pod12 (0.2 sec)
-
pkg/scheduler/schedule_one_test.go
}, }, }, nil, nil, nil, nil).Obj(), pods: []*v1.Pod{ st.MakePod().Name("pod1a").UID("pod1a").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(), st.MakePod().Name("pod1b").UID("pod1b").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(), st.MakePod().Name("pod2").UID("pod2").Label("foo", "").Node("node2").Phase(v1.PodRunning).Obj(), }, wantNodes: sets.New("node2", "node3"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/kube/krt/join_test.go
{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP}, {pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP}, {pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP}, }) } func TestCollectionJoinSync(t *testing.T) { c := kube.NewFakeClient(&corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name", Namespace: "namespace", Labels: map[string]string{"app": "foo"}, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
} l1, _ := m.generateLinuxContainerConfig(&pod1.Spec.Containers[0], pod1, new(int64), "", nil, true) l2, _ := m.generateLinuxContainerConfig(&pod2.Spec.Containers[0], pod2, new(int64), "", nil, true) tests := []struct { name string pod *v1.Pod expected *expectedResult }{ { name: "Request128MBLimit256MB", pod: pod1, expected: &expectedResult{ l1, 128 * 1024 * 1024,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
}, }, }, }, } obj1 := roundTrip(t, runtime.Object(pod)) pod1 := obj1.(*v1.Pod) if *pod1.Spec.Volumes[0].VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.VolumeMode != test.expectedVolumeMode { t.Errorf("Test %s failed, Expected VolumeMode: %v, but got %v", test.name, test.volumeMode, *pod1.Spec.Volumes[0].VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.VolumeMode) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/scheduler/eventhandlers_test.go
node: st.MakeNode().Name("fake-node").Label("foo", "bar").Obj(), pod: st.MakePod().Name("pod2").HostPort(80).NodeSelector(map[string]string{"foo": "bar1"}).Obj(), existingPods: []*v1.Pod{ st.MakePod().Name("pod1").HostPort(80).Obj(), }, wantAdmissionResults: [][]AdmissionResult{{nodeaffinityError, nodeportsError}, {nodeaffinityError}}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
}, } } pod1 := makePod(map[string]string{"foo": "true", "bar": "true"}, "1001") pod2 := makePod(map[string]string{"foo": "true"}, "1002") pod3 := makePod(map[string]string{}, "1003") pod4 := makePod(map[string]string{}, "1004") pod1DeletedAt2 := pod1.DeepCopyObject().(*examplev1.Pod) pod1DeletedAt2.ResourceVersion = "1002" pod2DeletedAt3 := pod2.DeepCopyObject().(*examplev1.Pod)
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/kube/krt/index_test.go
pod2 := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name2", Namespace: "namespace", }, Status: corev1.PodStatus{PodIP: "1.2.3.5"}, } pc.CreateOrUpdateStatus(pod2) tt.WaitUnordered("add/namespace/name2") assert.Equal(t, fetchSorted("1.2.3.5"), []SimplePod{ {NewNamed(pod), Labeled{}, "1.2.3.5"}, {NewNamed(pod2), Labeled{}, "1.2.3.5"}, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
pod: podWithTolerations("pod1", []v1.Toleration{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}), node: nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}), }, { name: "A pod which can't be scheduled on a dedicated node assigned to user2 with effect NoSchedule",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util_test.go
proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "default", }, }, }, { name: "invalid id: namespace mismatch", proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "ns1", }, }, expectedKey: types.NamespacedName{Namespace: "ns1", Name: "pod1"}, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 20:45:12 UTC 2023 - 5K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
expectRemoved(ads.ExpectResponse(), "/127.0.0.2") // Once we create it, we should get a push createPod(s, "pod2", "sa", "127.0.0.2", "node") expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2") // TODO: implement pod update; this actually cannot really be done without waypoints or VIPs deletePod(s, "pod")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0)