- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for pod_1 (0.08 sec)
-
pkg/controller/daemon/daemon_controller_test.go
if err != nil { t.Fatal(err) } err = manager.dsStore.Add(ds2) if err != nil { t.Fatal(err) } pod1 := newPod("pod1-", "node-0", simpleDaemonSetLabel, ds1) prev := *pod1 bumpResourceVersion(pod1) manager.updatePod(logger, &prev, pod1) if got, want := manager.queue.Len(), 1; got != want { t.Fatalf("queue.Len() = %v, want %v", got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K 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/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/kubelet_pods_test.go
{name: "pod1", updateType: kubetypes.SyncPodCreate}, {name: "pod1", updateType: kubetypes.SyncPodKill, gracePeriod: &two}, {name: "pod1", updateType: kubetypes.SyncPodKill, gracePeriod: &two}, // after the second attempt {name: "pod1", updateType: kubetypes.SyncPodKill, gracePeriod: &two}, // from termination {name: "pod1", terminated: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
pod1 := newPod("pod1", job1) pod1.OwnerReferences = nil informer.Core().V1().Pods().Informer().GetIndexer().Add(pod1) // Labels changed on orphan. Expect newly matching controllers to queue. prev := *pod1 prev.Labels = map[string]string{"foo2": "bar2"} bumpResourceVersion(pod1) jm.updatePod(logger, &prev, pod1) verifyEmptyQueueAndAwaitForQueueLen(ctx, t, jm, 2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
}, }, }, { name: "No CPU and memory, resource allocation exists", pod: podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec), existingPodAllocation: podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec), expectedPodResourceAllocation: state.PodResourceAllocation{ "11": map[string]v1.ResourceList{
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/scheduler/internal/queue/scheduling_queue_test.go
func TestPriorityQueue_initPodMaxInUnschedulablePodsDuration(t *testing.T) { pod1 := st.MakePod().Name("test-pod-1").Namespace("ns1").UID("tp-1").NominatedNodeName("node1").Obj() pod2 := st.MakePod().Name("test-pod-2").Namespace("ns2").UID("tp-2").NominatedNodeName("node2").Obj() var timestamp = time.Now() pInfo1 := &framework.QueuedPodInfo{ PodInfo: mustNewTestPodInfo(t, pod1), Timestamp: timestamp.Add(-time.Second), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
pendingAttemptToDelete: []*node{makeNode(pod1nonamespace, virtual)}, // virtual pod1 queued for attempted delete }), // 4,5: handle queued delete of virtual pod1 processAttemptToDelete(1), assertState(state{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
} pods := []*v1.Pod{ st.MakePod().Name("pod1").UID("pod1").SchedulerName("match-node3").Obj(), st.MakePod().Name("pod2").UID("pod2").SchedulerName("match-node2").Obj(), st.MakePod().Name("pod3").UID("pod3").SchedulerName("match-node2").Obj(), st.MakePod().Name("pod4").UID("pod4").SchedulerName("match-node3").Obj(), } wantBindings := map[string]string{ "pod1": "node3", "pod2": "node2", "pod3": "node2",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
podWithOrphanFinalizer("pod10"), nilOrphanOptions, orphanDeleteStrategy, false, []string{"foo.com/x", metav1.FinalizerOrphanDependents, "bar.com/y"}, }, { podWithOtherFinalizers("pod11"), nilOrphanOptions, defaultDeleteStrategy, false, []string{"foo.com/x", "bar.com/y"}, }, { podWithOtherFinalizers("pod12"), nilOrphanOptions, orphanDeleteStrategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0)