- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for makeOld (0.18 sec)
-
pkg/kubelet/cm/cpumanager/policy_static_test.go
stAssignments: state.ContainerCPUAssignments{ "fakePod": map[string]cpuset.CPUSet{ "fakeContainer100": cpuset.New(2, 3, 6, 7), }, }, stDefaultCPUSet: cpuset.New(0, 1, 4, 5), pod: makePod("fakePod", "fakeContainer3", "2000m", "2000m"), expErr: nil, expCPUAlloc: true, expCSet: cpuset.New(1, 5), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go
{ Priority: 4, ShutdownGracePeriodSeconds: 40, }, }, pods: []*v1.Pod{ makePod("pod-0", 0, nil), makePod("pod-1", 1, nil), makePod("pod-2", 2, nil), makePod("pod-3", 3, nil), makePod("pod-4", 4, nil), makePod("pod-5", 5, nil), }, }, want: []podShutdownGroup{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 29.8K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
delay: 2 * quarantineTime, pods: []*v1.Pod{ makePod("a", "existing1", v1.PodRunning), makePod("b", "existing2", v1.PodFailed), makePod("c", "existing2", v1.PodSucceeded), }, itemsInQueue: 2, }, { name: "no nodes", delay: 2 * quarantineTime, pods: []*v1.Pod{ makePod("a", "deleted", v1.PodFailed), makePod("b", "deleted", v1.PodSucceeded), }, itemsInQueue: 1,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
func TestCSILimits(t *testing.T) { runningPod := st.MakePod().PVC("csi-ebs.csi.aws.com-3").Obj() pendingVolumePod := st.MakePod().PVC("csi-4").Obj() // Different pod than pendingVolumePod, but using the same unbound PVC unboundPVCPod2 := st.MakePod().PVC("csi-4").Obj() missingPVPod := st.MakePod().PVC("csi-6").Obj() noSCPVCPod := st.MakePod().PVC("csi-5").Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
st.MakeNode().Name("node2").Capacity(veryLargeRes).Obj(), }, testPods: []*v1.Pod{ st.MakePod().Name("p").UID("p").Priority(highPriority).Obj(), }, initPods: []*v1.Pod{ st.MakePod().Name("p1").UID("p1").Node("node1").Priority(midPriority).Obj(), st.MakePod().Name("p2").UID("p2").Node("node2").Priority(midPriority).Obj(), }, expected: [][]Candidate{ { &candidate{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}, { name: "partial pods matching quotaScopeSelector - w/ multiple scopeNames specified", objs: []runtime.Object{ makePod("p1", "high-priority", cpu1, api.PodRunning), makePod("p2", "high-priority", cpu1, api.PodSucceeded), makePod("p3", "low-priority", cpu1, api.PodRunning), makePod("p4", "high-priority", nil, api.PodFailed), }, quotaScopes: []corev1.ResourceQuotaScope{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
{Type: watch.Added, Object: makePod(1)}, {Type: watch.Added, Object: makePod(2)}, {Type: watch.Added, Object: makePod(5)}, {Type: watch.Bookmark, Object: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ ResourceVersion: "10", Annotations: map[string]string{metav1.InitialEventsAnnotationKey: "true"}, }, }}, {Type: watch.Added, Object: makePod(15)}, }, true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
} func returnTestCases() []testCase { testPod1 := makePod("fakePod", "fakeContainer", "2", "2") testContainer1 := &testPod1.Spec.Containers[0] testPod2 := makePod("fakePod", "fakeContainer", "5", "5") testContainer2 := &testPod2.Spec.Containers[0] testPod3 := makePod("fakePod", "fakeContainer", "7", "7") testContainer3 := &testPod3.Spec.Containers[0] testPod4 := makePod("fakePod", "fakeContainer", "11", "11")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
wasm.AddEventHandler(clienttest.TrackerHandler(tracker)) go constantlyAccessForRaceDetection(stop, wasm) // CRD and Delayed client are ready to go by the time we start informers clienttest.MakeCRD(t, c, gvr.WasmPlugin) c.RunAndWait(stop) wt.Create(&istioclient.WasmPlugin{ ObjectMeta: metav1.ObjectMeta{Name: "name", Namespace: "default"}, }) assert.EventuallyEqual(t, func() int {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
}, }, }, waitSchedulingPods: []*v1.Pod{ st.MakePod().Name("pod1").UID("pod1").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod2").UID("pod2").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod3").UID("pod3").SchedulerName(testSchedulerProfile2).Obj(), st.MakePod().Name("pod4").UID("pod4").SchedulerName(testSchedulerProfile3).Obj(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0)