Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for cpod3 (0.04 sec)

  1. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			},
    		},
    	})
    
    	pod3 := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "pod3-node3", Namespace: "ns1"},
    		Spec: corev1.PodSpec{
    			NodeName: "node3",
    			Volumes: []corev1.Volume{
    				{VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "shared-all"}}},
    			},
    		},
    	}
    	g.AddPod(pod3)
    
    	testcases := []struct {
    		User      user.Info
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  2. pkg/volume/util/nestedpendingoperations/nestedpendingoperations_test.go

    	volumeName := v1.UniqueVolumeName("test-volume")
    	podName1 := volumetypes.UniquePodName("pod1")
    	podName2 := volumetypes.UniquePodName("pod2")
    	podName3 := volumetypes.UniquePodName("pod3")
    	podName4 := EmptyUniquePodName
    	nodeName := EmptyNodeName
    
    	// delay after an operation is signaled to finish to ensure it actually
    	// finishes before running the next operation.
    	delay := 50 * time.Millisecond
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 36.1K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers_test.go

    	}
    	pod2 = podWorkers.podSyncStatuses[types.UID("2-static")]
    	if pod2.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod2)
    	}
    	pod3 := podWorkers.podSyncStatuses[types.UID("3-static")]
    	if pod3.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod3)
    	}
    	pod4 := podWorkers.podSyncStatuses[types.UID("4-static")]
    	if pod4.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod4)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction_test.go

    				*addToleration(testutil.NewPod("pod2", "node1"), 1, 1),
    				*addToleration(testutil.NewPod("pod3", "node1"), 1, -1),
    			},
    			oldNode: testutil.NewNode("node1"),
    			newNode: addTaintsToNode(testutil.NewNode("node1"), "testTaint1", "taint1", []int{1, 2}),
    			expectedDeleteTimes: durationSlice{
    				{[]string{"pod1", "pod2", "pod3"}, 0},
    			},
    		},
    	}
    
    	for _, item := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. pkg/controller/daemon/util/daemonset_util_test.go

    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				nodeName: "node-1",
    			},
    			{
    				pod: &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "pod3",
    						Namespace: "default",
    					},
    					Spec: v1.PodSpec{
    						Affinity: &v1.Affinity{
    							NodeAffinity: &v1.NodeAffinity{
    								RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    			name: "buffer has elements",
    			events: []*watchCacheEvent{
    				{Type: watch.Added, Object: makeTestPod("pod1", 1)},
    				{Type: watch.Added, Object: makeTestPod("pod2", 2)},
    				{Type: watch.Modified, Object: makeTestPod("pod3", 3)},
    			},
    		},
    		{
    			name:   "buffer is empty",
    			events: []*watchCacheEvent{},
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    				Namespace:       "ns",
    				ResourceVersion: rv,
    			},
    		}
    	}
    	pod1 := makePod("pod", "1001")
    	pod2 := makePod("pod", "1002")
    	pod3 := makePod("pod", "1003")
    
    	cacher.watchCache.Add(pod1)
    	cacher.watchCache.Update(pod2)
    	cacher.watchCache.Delete(pod3)
    
    	// At this point, we already have dispatchedEvents fully propagated.
    
    	verifyEvents := func(w watch.Interface) {
    		var event watch.Event
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    			},
    		},
    		{
    			name:                  "Having both memory and cpu, resource allocation exists (with different value)",
    			pod:                   podWithUIDNameNsSpec("3", "pod3", "foo", *cpu500mMem500MPodSpec),
    			existingPodAllocation: podWithUIDNameNsSpec("3", "pod3", "foo", *cpu800mMem800MPodSpec),
    			expectedPodResourceAllocation: state.PodResourceAllocation{
    				"3": 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/controller/replicaset/replica_set_test.go

    	now := metav1.Now()
    	pendingDeletionRS.DeletionTimestamp = &now
    	pod1 := newPod("pod1", someRS, v1.PodRunning, nil, true)
    	pod2 := newPod("pod2", someRS, v1.PodRunning, nil, true)
    	pod3 := newPod("pod3", relatedRS, v1.PodRunning, nil, true)
    	pod4 := newPod("pod4", unrelatedRS, v1.PodRunning, nil, true)
    	logger, _ := ktesting.NewTestContext(t)
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	if podAddErr != nil {
    		t.Fatalf(
    			"AddPod failed for pod %q. Expected: <no error> Actual: <%v>",
    			pod2Name,
    			podAddErr)
    	}
    	pod3Name := "pod3-uid"
    	dsw.AddPod(types.UniquePodName(pod3Name), controllervolumetesting.NewPod(pod3Name, pod3Name), volume2Spec, node2Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top