Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for newpod (0.12 sec)

  1. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    			wantPreFilterStatus: framework.NewStatus(framework.Skip),
    		},
    		{
    			pod: newPod("m1", "UDP/127.0.0.1/8080"),
    			nodeInfo: framework.NewNodeInfo(
    				newPod("m1", "UDP/127.0.0.1/9090")),
    			name: "other port",
    		},
    		{
    			pod: newPod("m1", "UDP/127.0.0.1/8080"),
    			nodeInfo: framework.NewNodeInfo(
    				newPod("m1", "UDP/127.0.0.1/8080")),
    			name:             "same udp port",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/controller/tainteviction/taint_eviction_test.go

    		prevPod      *corev1.Pod
    		newPod       *corev1.Pod
    		oldNode      *corev1.Node
    		newNode      *corev1.Node
    		expectPatch  bool
    		expectDelete bool
    	}{
    		{
    			description: "existing pod2 scheduled onto tainted Node",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    			prevPod:      testutil.NewPod("pod2", ""),
    			newPod:       testutil.NewPod("pod2", "node1"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    		wantPreFilterStatus *framework.Status
    	}{
    		{
    			newPod:       csiEBSOneVolPod,
    			existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod},
    			filterName:   "csi",
    			maxVols:      4,
    			driverNames:  []string{ebsCSIDriverName},
    			test:         "fits when node volume limit >= new pods CSI volume",
    			limitSource:  "node",
    		},
    		{
    			newPod:       csiEBSOneVolPod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	newPod1 := controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
    	attachDetachRecoveryTestCase(t, []*v1.Pod{newPod1}, []*v1.Pod{})
    	newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
    	attachDetachRecoveryTestCase(t, []*v1.Pod{}, []*v1.Pod{newPod1})
    	newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    		},
    	}).Obj()
    
    	tests := []struct {
    		newPod              *v1.Pod
    		existingPods        []*v1.Pod
    		extraClaims         []v1.PersistentVolumeClaim
    		ephemeralEnabled    bool
    		maxVols             int32
    		test                string
    		wantStatus          *framework.Status
    		wantPreFilterStatus *framework.Status
    	}{
    		{
    			newPod:           ephemeralVolumePod,
    			ephemeralEnabled: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    				Obj(),
    			newPod:       st.MakePod().Node("fake-node").Label("foo", "").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name: "add un-scheduled pod",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			newPod:       st.MakePod().Label("foo", "").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/strategy.go

    func dropNonEphemeralContainerUpdates(newPod, oldPod *api.Pod) *api.Pod {
    	pod := oldPod.DeepCopy()
    	pod.Name = newPod.Name
    	pod.Namespace = newPod.Namespace
    	pod.ResourceVersion = newPod.ResourceVersion
    	pod.UID = newPod.UID
    	pod.Spec.EphemeralContainers = newPod.Spec.EphemeralContainers
    	return pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. pkg/controller/daemon/util/daemonset_util_test.go

    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash,
    			true,
    		},
    		{
    			"templateGeneration matches, hash doesn't",
    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash + "123",
    			true,
    		},
    		{
    			"templateGeneration matches, no hash label, has hash",
    			templateGeneration,
    			newPod("pod1", "node1", labelsNoHash),
    			hash,
    			true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	if pod1AddErr != nil {
    		t.Fatalf(
    			"AddPod failed for pod %q. Expected: <no error> Actual: <%v>",
    			pod1Name,
    			pod1AddErr)
    	}
    	generatedVolumeName2, pod2AddErr := dsw.AddPod(types.UniquePodName(pod2Name), controllervolumetesting.NewPod(pod2Name, pod2Name), volumeSpec, nodeName)
    	if pod2AddErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    		// For update, we just need to handle opt outs
    		newPod := event.New.(*corev1.Pod)
    		oldPod := event.Old.(*corev1.Pod)
    		ns := s.namespaces.Get(newPod.Namespace, "")
    		if ns == nil {
    			return fmt.Errorf("failed to find namespace %v", ns)
    		}
    		wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top