Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pod17 (0.05 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		{
    			podWithOtherFinalizers("pod12"),
    			nilOrphanOptions,
    			orphanDeleteStrategy,
    			false,
    			[]string{"foo.com/x", "bar.com/y", metav1.FinalizerOrphanDependents},
    		},
    		{
    			podWithNoFinalizer("pod13"),
    			nilOrphanOptions,
    			defaultDeleteStrategy,
    			true,
    			[]string{},
    		},
    		{
    			podWithNoFinalizer("pod14"),
    			nilOrphanOptions,
    			orphanDeleteStrategy,
    			false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/helpers_test.go

    	}
    	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}
    	fsStatsToMeasure := []fsStatsType{fsStatsRoot, fsStatsLogs, fsStatsLocalVolumeSource}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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{
    					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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/eviction/eviction_manager_test.go

    				podMaker := makePodWithPIDStats
    				summaryStatsMaker := makePIDStats
    				podsToMake := []podToMake{
    					{name: "pod1", priority: lowPriority, pidUsage: 500},
    					{name: "pod2", priority: defaultPriority, pidUsage: 500},
    				}
    				pods := []*v1.Pod{}
    				podStats := map[*v1.Pod]statsapi.PodStats{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top