Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for pod_1 (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    				Labels:          labels,
    				ResourceVersion: rv,
    			},
    		}
    	}
    	pod1 := makePod(map[string]string{"foo": "true", "bar": "true"}, "1001")
    	pod2 := makePod(map[string]string{"foo": "true"}, "1002")
    	pod3 := makePod(map[string]string{}, "1003")
    	pod4 := makePod(map[string]string{}, "1004")
    	pod1DeletedAt2 := pod1.DeepCopyObject().(*examplev1.Pod)
    	pod1DeletedAt2.ResourceVersion = "1002"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    		{
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "ns",
    					Name:      "pod1",
    				},
    				Spec: api.PodSpec{
    					NodeName: "node1",
    				},
    			},
    			info:        &client.ConnectionInfo{},
    			opts:        &api.PodPortForwardOptions{},
    			expectedURL: &url.URL{Host: ":", Path: "/portForward/ns/pod1"},
    		},
    		{
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "ns",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption_test.go

    		"notthere": {Time: currentTime},                       // Should be removed, pod deleted.
    	}
    	add(t, dc.pdbStore, pdb)
    
    	pod1, _ := newPod(t, "p1")
    	pod1.DeletionTimestamp = &metav1.Time{Time: dc.clock.Now()}
    	pod2, _ := newPod(t, "p2")
    	pod3, _ := newPod(t, "p3")
    
    	add(t, dc.podStore, pod1)
    	add(t, dc.podStore, pod2)
    	add(t, dc.podStore, pod3)
    
    	dc.sync(ctx, pdbName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/cache_test.go

    				&st.MakeNode().Name("test-node-4").Capacity(resourceList2).Taints(taints).Images(imageStatus2).Node,
    			},
    			pods: []*v1.Pod{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: "pod1",
    						UID:  types.UID("pod1"),
    					},
    					Spec: v1.PodSpec{
    						NodeName: "test-node-1",
    						Containers: []v1.Container{
    							{
    								Resources: v1.ResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    			},
    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already exclusively attached to one node and can't be attached to another"},
    		},
    		{
    			"pods in the same namespace use the volume",
    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    				{"node2", []string{"ns1/pod2"}},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    			policyName:  policyTypeStatic,
    			machineInfo: returnMachineInfo(),
    			assignments: state.ContainerMemoryAssignments{},
    			expectedAssignments: state.ContainerMemoryAssignments{
    				"pod1": map[string][]state.Block{
    					"container1": {
    						{
    							NUMAAffinity: []int{0},
    							Type:         v1.ResourceMemory,
    							Size:         4 * gb,
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults_test.go

    						},
    					},
    				},
    			},
    		}
    		obj1 := roundTrip(t, runtime.Object(pod))
    		pod1 := obj1.(*v1.Pod)
    		if *pod1.Spec.Volumes[0].VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.VolumeMode != test.expectedVolumeMode {
    			t.Errorf("Test %s failed, Expected VolumeMode: %v, but got %v", test.name, test.volumeMode, *pod1.Spec.Volumes[0].VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.VolumeMode)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    				PodAffinityExists("bar", "zone", st.PodAffinityWithRequiredReq).Obj(),
    			pods: []*v1.Pod{
    				st.MakePod().Name("pod1").Labels(map[string]string{"foo": "", "bar": ""}).Node("nodeA").Obj(),
    			},
    			nodes: []*v1.Node{
    				{ObjectMeta: metav1.ObjectMeta{Name: "nodeA", Labels: map[string]string{"region": "r1", "zone": "z1", "hostname": "nodeA"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_test.go

    	seedContainer0 = 2000
    	seedSandbox1   = 3000
    	seedContainer1 = 4000
    	seedContainer2 = 5000
    	seedSandbox2   = 6000
    	seedContainer3 = 7000
    	seedSandbox3   = 8000
    )
    
    const (
    	pName0 = "pod0"
    	pName1 = "pod1"
    	pName2 = "pod2"
    )
    
    const (
    	cName0 = "container0-name"
    	cName1 = "container1-name"
    	cName2 = "container2-name"
    	cName3 = "container3-name"
    	cName5 = "container5-name"
    	cName6 = "container6-name"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top