- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 75 for pod19 (0.04 sec)
-
pkg/scheduler/util/utils_test.go
currentTime := time.Now() pod1 := newPriorityPodWithStartTime("pod1", 1, currentTime) pod2 := newPriorityPodWithStartTime("pod2", 2, currentTime.Add(time.Second)) pod3 := newPriorityPodWithStartTime("pod3", 2, currentTime) tests := map[string]struct { p1 *v1.Pod p2 *v1.Pod expected bool }{ "Pod with higher priority": { p1: pod1, p2: pod2, expected: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static_test.go
}, }, }, }, expectedError: fmt.Errorf("[memorymanager] (pod: pod1, container: container1) the memory assignment uses the NUMA that does not exist"), }, { description: "should fail when machine state does not have resource that used under the memory assignment", assignments: state.ContainerMemoryAssignments{ "pod1": map[string][]state.Block{ "container1": { { NUMAAffinity: []int{0},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 05:49:15 UTC 2023 - 100.4K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
"/pod0-c1": getTestContainerInfo(seedPod0Container1, pName0, namespace0, cName01), // Pod1 - Namespace0 "/pod1-i": getTestContainerInfo(seedPod1Infra, pName1, namespace0, kubelettypes.PodInfraContainerName), "/pod1-c0": getTestContainerInfo(seedPod1Container, pName1, namespace0, cName10), // Pod2 - Namespace2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
}, retry.Timeout(time.Second*5)) } pc := clienttest.NewWriter[*corev1.Pod](t, s.client) sc := clienttest.NewWriter[*corev1.Service](t, s.client) pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil) pc.CreateOrUpdateStatus(pod1) fx.WaitOrFail(t, "xds") pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil) pc.CreateOrUpdateStatus(pod2)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
pod: podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec), existingPodAllocation: podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec), expectedPodResourceAllocation: state.PodResourceAllocation{ "11": map[string]v1.ResourceList{ emptyPodSpec.Containers[0].Name: emptyPodSpec.Containers[0].Resources.Requests, }, }, }, }
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/istio-agent/testdata/grpc-bootstrap.json
"channel_creds": [ { "type": "insecure" } ], "server_features": [ "xds_v3" ] } ], "node": { "id": "sidecar~127.0.0.1~pod1.fake-namespace~fake-namespace.svc.cluster.local", "metadata": { "GENERATOR": "grpc", "INSTANCE_IPS": "127.0.0.1", "ISTIO_VERSION": "version", "PILOT_SAN": [ "istiod.istio-system.svc"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 957 bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
func TestOrderedByPriorityProcess(t *testing.T) { pod1 := newPod("low-priority-high-usage", lowPriority, nil, nil) pod2 := newPod("low-priority-low-usage", lowPriority, nil, nil) pod3 := newPod("high-priority-high-usage", highPriority, nil, nil) pod4 := newPod("high-priority-low-usage", highPriority, nil, nil) stats := map[*v1.Pod]statsapi.PodStats{ pod1: newPodProcessStats(pod1, 20), pod2: newPodProcessStats(pod2, 6),
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/volumemanager/reconciler/reconstruct_test.go
} volumes := rcInstance.actualStateOfWorld.GetPossiblyMountedVolumesForPod("pod1") if len(volumes) != 1 { return fmt.Errorf("expected 1 uncertain volume in asw got %d", len(volumes)) } // The volume should be marked as reconstructed in ASW if reconstructed := rcInstance.actualStateOfWorld.IsVolumeReconstructed("fake-plugin/pvc-abcdef", "pod1"); !reconstructed {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
func TestSyncServicePodSelection(t *testing.T) { client, esController := newController(t, []string{"node-1"}, time.Duration(0)) ns := metav1.NamespaceDefault pod1 := newPod(1, ns, true, 0, false) esController.podStore.Add(pod1) // ensure this pod will not match the selector pod2 := newPod(2, ns, true, 0, false) pod2.Labels["foo"] = "boo" esController.podStore.Add(pod2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
Operator: metav1.LabelSelectorOpExists, }, }, }, 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(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)