- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,195 for podB (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go
t.Fatalf("unexpected error %v", errs) } if pod, ok := pl.Items[1].(*unstructured.Unstructured); !ok || pod.Object["kind"] != "Pod" || pod.Object["metadata"].(map[string]interface{})["name"] != "test" { t.Errorf("object not converted: %#v", pl.Items[1]) } if pod, ok := pl.Items[2].(*unstructured.Unstructured); !ok || pod.Object["kind"] != "Pod" || pod.Object["metadata"].(map[string]interface{})["name"] != "test" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 17.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
out: &example.PodList{Items: []example.Pod{}}, }, "normal": { in: &example.PodList{Items: []example.Pod{*podA, *podB}}, m: matchEverything(), out: &example.PodList{Items: []example.Pod{*podA, *podB}}, }, "normalFiltered": { in: &example.PodList{Items: []example.Pod{*podA, *podB}}, m: matchPodName("foo"), out: &example.PodList{Items: []example.Pod{*podB}}, }, "normalFilteredNoNamespace": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
pod8: newPodMemoryStats(pod8, resource.MustParse("200Mi")), // -800 relative to request } statsFn := func(pod *v1.Pod) (statsapi.PodStats, bool) { result, found := stats[pod] return result, found } pods := []*v1.Pod{pod8, pod7, pod6, pod5, pod4, pod3, pod2, pod1} expected := []*v1.Pod{pod1, pod2, pod3, pod4, pod5, pod6, pod7, pod8} orderedBy(exceedMemoryRequests(statsFn), priority, memory(statsFn)).Sort(pods)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
// resources) pods[7].Status.Phase = v1.PodFailed kubelet.podWorkers.(*fakePodWorkers).terminationRequested = map[types.UID]bool{ pods[7].UID: true, } expected := []*v1.Pod{pods[2], pods[3], pods[4], pods[7]} kubelet.podManager.SetPods(pods) actual := kubelet.filterOutInactivePods(pods) assert.Equal(t, expected, actual) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_test.go
"node:node3": {}, "pod:ns/pod1": {"node:node1"}, "pod:ns/pod2": {"node:node2"}, "pod:ns/pod3": {"node:node3"}, "configmap:ns/cm1": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, "configmap:ns/cm2": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, "configmap:ns/cm3": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:14:19 UTC 2022 - 12.3K bytes - Viewed (0) -
pkg/dns/server/name_table_test.go
makeServiceInstances(pod1, headlessService, "pod1", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod2, headlessService, "pod2", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod3, headlessService, "pod3", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod4, headlessService, "pod4", "headless-svc"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
assert.Len(t, filteredInfos, 5) assert.Len(t, allInfos, 11) for _, c := range []string{"/pod0-i", "/pod0-c0"} { if _, found := filteredInfos[c]; !found { t.Errorf("%q is expected to be in the output\n", c) } } expectedInfoKeys := []string{"pod0-i-terminated-1", "pod0-c0-terminated-1", "pod0-i-terminated-2", "pod0-c0-terminated-2", "pod0-i", "pod0-c0"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
pod2 := newStatefulSetPod(set, 2) pod2.OwnerReferences = nil // pod3 has wrong labels. pod3 := newStatefulSetPod(set, 3) pod3.OwnerReferences = nil pod3.Labels = nil // pod4 has wrong name. pod4 := newStatefulSetPod(set, 4) pod4.OwnerReferences = nil pod4.Name = "x" + pod4.Name _, ctx := ktesting.NewTestContext(t) ssc, _, om, _ := newFakeStatefulSetController(ctx, set, pod1, pod2, pod3, pod4)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
pkg/kube/kclient/index_test.go
c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod2, metav1.CreateOptions{}) assertIndex(k1, pod1) // Original one must still persist assertIndex(k2, pod2) // New one should be there, eventually // Create another pod with the same SA; we ought to find multiple now. c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod3, metav1.CreateOptions{}) assertIndex(k1, pod1, pod3) // Original one must still persist
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 04 03:49:30 UTC 2023 - 5.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
s.assertEvent(t, s.podXdsName("pod4")) s.clearEvents() // Delete it, should remove from the Service as well s.deletePod(t, "pod4") s.assertAddresses(t, "", "pod1", "pod2", "pod3", "svc1") s.assertAddresses(t, s.addrXdsName("10.0.0.1"), "pod1", "pod2", "svc1") s.assertAddresses(t, s.addrXdsName("127.0.0.4")) // Should not be accessible anymore s.assertAddresses(t, s.podXdsName("pod4"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0)