Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for cpod3 (0.1 sec)

  1. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		// Pod3 - Namespace0
    		"/pod3-i":       getTestContainerInfo(seedPod3Infra, pName3, namespace0, kubelettypes.PodInfraContainerName),
    		"/pod3-c0-init": getTestContainerInfo(seedPod3Container0, pName3, namespace0, cName30),
    		"/pod3-c1":      getTestContainerInfo(seedPod3Container1, pName3, namespace0, cName31),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/scheduler/util/utils_test.go

    	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,
    		},
    		"Pod with older created time": {
    			p1:       pod2,
    			p2:       pod3,
    			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)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    	_, stop2 := createElection(t, "pod2", "red", watcher, true, client)
    	// Third pod with revision "red" comes in and cannot take the lock since another revision with "red" has it
    	_, stop3 := createElection(t, "pod3", "red", watcher, false, client)
    	// Fourth pod with revision "green" cannot take the lock since a revision with "red" has it.
    	_, stop4 := createElection(t, "pod4", "green", watcher, false, client)
    	close(stop2)
    	close(stop3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    						},
    					},
    				},
    			},
    		},
    	}
    
    	volume2Spec := &volume.Spec{Volume: &pod2.Spec.Volumes[0]}
    	pod2Name := util.GetUniquePodName(pod2)
    
    	pod3 := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod3",
    			UID:  "pod3uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume3-name",
    					VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    			t.Errorf("expected %v, got %v", expected, item)
    		}
    	}
    	pod3 := makeTestPod("pod", 3)
    	if err := store.Delete(pod3); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if _, ok, _ := store.Get(pod3); ok {
    		t.Errorf("found pod")
    	}
    
    	// Test List.
    	store.Add(makeTestPod("pod1", 4))
    	store.Add(makeTestPod("pod2", 5))
    	store.Add(makeTestPod("pod3", 6))
    	{
    		expected := map[string]storeElement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. pkg/scheduler/extender_test.go

    				st.MakePod().Name("pod2").UID("uid2").Obj(),
    				st.MakePod().Name("pod3").UID("uid3").Obj(),
    				st.MakePod().Name("pod4").UID("uid4").Obj(),
    			},
    			nodeInfos: nil,
    			want: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    						st.MakePod().Name("pod3").UID("uid3").Obj(),
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler_test.go

    				st.MakePod().Name("pod2").UID("pod2").SchedulerName(testSchedulerProfile1).Obj(),
    				st.MakePod().Name("pod3").UID("pod3").SchedulerName(testSchedulerProfile1).Obj(),
    			},
    			expectPodNamesInWaitingPods: []string{"pod1", "pod2", "pod3"},
    		},
    		{
    			name: "pods with different profiles are waiting on permit stage",
    			profiles: []schedulerapi.KubeSchedulerProfile{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. pkg/controller/controller_ref_manager_test.go

    					"foo-finalizer", "bar-finalizer"),
    				pods:    []*v1.Pod{newPod("pod1", productionLabel, &controller), newPod("pod2", testLabel, &controller), newPod("pod3", productionLabel, nil)},
    				claimed: []*v1.Pod{newPod("pod1", productionLabel, &controller), newPod("pod3", productionLabel, nil)},
    				patches: 2,
    			}
    		}(),
    		func() test {
    			controller := v1.ReplicationController{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller_test.go

    	// Add a Pod for each ReplicaSet.
    	pod1 := generatePodFromRS(rs1)
    	pod2 := generatePodFromRS(rs2)
    	// Add a Pod that has matching labels, but no ControllerRef.
    	pod3 := generatePodFromRS(rs1)
    	pod3.Name = "pod3"
    	pod3.OwnerReferences = nil
    	// Add a Pod that has matching labels and ControllerRef, but is inactive.
    	pod4 := generatePodFromRS(rs1)
    	pod4.Name = "pod4"
    	pod4.Status.Phase = v1.PodFailed
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_utils_test.go

    		},
    		{
    			"manageReplicasErr != nil && failureCond == nil, diff > 0",
    			rs,
    			[]*v1.Pod{
    				newPod("pod1", rs, v1.PodRunning, nil, true),
    				newPod("pod2", rs, v1.PodRunning, nil, true),
    				newPod("pod3", rs, v1.PodRunning, nil, true),
    			},
    			fmt.Errorf("fake manageReplicasErr"),
    			[]apps.ReplicaSetCondition{
    				{
    					Type:    apps.ReplicaSetReplicaFailure,
    					Status:  v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top