Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for pod_1 (0.08 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    				},
    			},
    			NotReadyAddresses: []v1.EndpointAddress{
    				{
    					IP:        pod1.Status.PodIPs[0].IP,
    					NodeName:  &emptyNodeName,
    					TargetRef: &v1.ObjectReference{Kind: "Pod", Name: pod1.Name, Namespace: ns, ResourceVersion: "2"},
    				},
    			},
    			Ports: []v1.EndpointPort{{Port: 8080, Protocol: "TCP"}},
    		}},
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		"queue-on-target-pod-some-resource-scale-down": {
    			pod:                             st.MakePod().Name("pod1").Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
    			oldObj:                          st.MakePod().Name("pod1").Req(map[v1.ResourceName]string{v1.ResourceCPU: "2"}).Obj(),
    			newObj:                          st.MakePod().Name("pod1").Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
    			enableInPlacePodVerticalScaling: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. pkg/scheduler/extender_test.go

    			podsInNodeList: []*v1.Pod{
    				st.MakePod().Name("pod1").UID("uid1").Obj(),
    				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(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. 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(testSchedulerProfile1).Obj(),
    			},
    			expectPodNamesInWaitingPods: []string{"pod1", "pod2", "pod3"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    		obj         runtime.Object
    		gvk         schema.GroupVersionKind
    		expectedObj runtime.Object
    	}{
    		"convert example#Pod to example/v1#Pod": {
    			obj: &example.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pod1",
    					Labels: map[string]string{
    						"key": "value",
    					},
    				},
    				Spec: example.PodSpec{
    					RestartPolicy: example.RestartPolicy("never"),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. pkg/controller/deployment/deployment_controller_test.go

    	rs1 := newReplicaSet(foo, "foo-1", 1)
    	rs2 := newReplicaSet(foo, "foo-1", 1)
    	pod1 := generatePodFromRS(rs1)
    	pod2 := generatePodFromRS(rs2)
    
    	f.dLister = append(f.dLister, foo)
    	// Let's pretend this is a different pod. The gist is that the pod lister needs to
    	// return a non-empty list.
    	f.podLister = append(f.podLister, pod1, pod2)
    
    	c, _, err := f.newController(ctx)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/staticpod/utils.go

    func ManifestFilesAreEqual(path1, path2 string) (bool, string, error) {
    	pod1, err := ReadStaticPodFromDisk(path1)
    	if err != nil {
    		return false, "", err
    	}
    	pod2, err := ReadStaticPodFromDisk(path2)
    	if err != nil {
    		return false, "", err
    	}
    
    	hasher := md5.New()
    	DeepHashObject(hasher, pod1)
    	hash1 := hasher.Sum(nil)[0:]
    	DeepHashObject(hasher, pod2)
    	hash2 := hasher.Sum(nil)[0:]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/volumemanager/metrics/metrics_test.go

    	dsw := cache.NewDesiredStateOfWorld(volumePluginMgr, seLinuxTranslator)
    	asw := cache.NewActualStateOfWorld(k8stypes.NodeName("node-name"), volumePluginMgr)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top