Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for pod12 (0.05 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	assertWaypoint(t, testNW, "10.0.0.2", s.podXdsName("pod1"))
    	assertWaypoint(t, testNW, "10.0.0.1", s.podXdsName("pod2"))
    
    	// Revert back
    	s.labelPod(t, "pod1", testNS, map[string]string{})
    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	assertWaypoint(t, testNW, "10.0.0.1", s.podXdsName("pod1"), s.podXdsName("pod2"))
    }
    
    func TestWorkloadsForWaypointOrder(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"})
    	assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"})
    	fx.Clear()
    	// Add the pod, expect the endpoints update for both
    	addPod("pod2", "172.0.1.2")
    	assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
    	assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Nil(err)
    	err = testManager.Allocate(pod2, &pod2.Spec.Containers[0])
    	as.Nil(err)
    
    	// when pod is in activePods, GetDeviceRunContainerOptions should return
    	runContainerOpts, err := testManager.GetDeviceRunContainerOptions(pod1, &pod1.Spec.Containers[0])
    	as.Nil(err)
    	as.Equal(len(runContainerOpts.Devices), 3)
    	as.Equal(len(runContainerOpts.Mounts), 2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    		Pod:        newNamedPod("2-static", "test1", "pod1", true),
    		UpdateType: kubetypes.SyncPodUpdate,
    	})
    	drainAllWorkers(podWorkers)
    
    	// should observe both pods running
    	pod1 := podWorkers.podSyncStatuses[types.UID("1-normal")]
    	if pod1.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod1)
    	}
    	pod2 := podWorkers.podSyncStatuses[types.UID("2-static")]
    	if pod2.IsTerminated() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    	ns := metav1.NamespaceDefault
    
    	pod1 := newPod(1, ns, true, 0, false)
    	esController.podStore.Add(pod1)
    
    	// ensure this pod will not match the selector
    	pod2 := newPod(2, ns, true, 0, false)
    	pod2.Labels["foo"] = "boo"
    	esController.podStore.Add(pod2)
    
    	standardSyncService(t, esController, ns, "testing-1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. 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)
  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. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			},
    		}
    	}
    	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"
    	pod2DeletedAt3 := pod2.DeepCopyObject().(*examplev1.Pod)
    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/controller/disruption/disruption_test.go

    	}
    	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)
  10. 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)
Back to top