- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for poda (0.04 sec)
-
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) -
tests/integration/pilot/mirror_test.go
// we only apply to config clusters t.ConfigIstio().EvalFile(apps.Namespace.Name(), vsc, "testdata/traffic-mirroring-template.yaml"). ApplyOrFail(t) for _, podA := range apps.A { podA := podA t.NewSubTest(fmt.Sprintf("from %s", podA.Config().Cluster.StableName())).Run(func(t framework.TestContext) { for _, proto := range mirrorProtocols { t.NewSubTest(string(proto)).Run(func(t framework.TestContext) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.7K bytes - Viewed (0) -
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/endpoints/handlers/rest_test.go
patchBytes: []byte(test.patch), } jp := jsonPatcher{patcher: p} codec := codecs.LegacyCodec(examplev1.SchemeGroupVersion) pod := &examplev1.Pod{} pod.Name = "podA" pod.ObjectMeta.Finalizers = []string{"foo"} versionedJS, err := runtime.Encode(codec, pod) if err != nil { t.Errorf("%s: unexpected error: %v", test.name, err) continue } _, _, err = jp.applyJSPatch(versionedJS)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K 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) -
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) -
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/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)