- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 791 for podB (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) -
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) -
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) -
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) -
hack/testdata/sorted-pods/sorted-pod3.yaml
apiVersion: v1 kind: Pod metadata: name: sorted-pod3 creationTimestamp: "2018-08-30T14:10:53Z" labels: name: sorted-pod1-label spec: containers: - name: kubernetes-pause3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 223 bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
rs: someRS, pods: []*v1.Pod{pod1, pod2, pod3, pod4}, expectedPodNames: []string{"pod1", "pod2", "pod3"}, }, } for _, c := range testCases { for _, r := range c.rss { informers.Apps().V1().ReplicaSets().Informer().GetIndexer().Add(r) } for _, pod := range c.pods { informers.Core().V1().Pods().Informer().GetIndexer().Add(pod) manager.addPod(logger, pod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
hack/testdata/sorted-pods/sorted-pod1.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 355 bytes - Viewed (0)