Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for pod_1 (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cni/pkg/nodeagent/net_test.go

    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestSyncHostIPSetsIgnoresPodIPAddErrorAndContinues(t *testing.T) {
    	pod1 := buildConvincingPod(false)
    	pod2 := buildConvincingPod(false)
    
    	pod2.ObjectMeta.SetUID("4455")
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    
    	var pod1UID string = string(pod1.ObjectMeta.UID)
    	var pod2UID string = string(pod2.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top