Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for pod_1 (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    The log will be included only if the container matches at least one include filter and does not match any exclude filters.
    All parts of the filter are optional and can be omitted e.g. ns1//pod1 filters only for namespace ns1 and pod1.
    All names except label and annotation keys support '*' glob matching pattern.
    
    e.g.
    --include ns1,ns2 (only namespaces ns1 and ns2)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	}
    	l1, _ := m.generateLinuxContainerConfig(&pod1.Spec.Containers[0], pod1, new(int64), "", nil, true)
    	l2, _ := m.generateLinuxContainerConfig(&pod2.Spec.Containers[0], pod2, new(int64), "", nil, true)
    	tests := []struct {
    		name     string
    		pod      *v1.Pod
    		expected *expectedResult
    	}{
    		{
    			name: "Request128MBLimit256MB",
    			pod:  pod1,
    			expected: &expectedResult{
    				l1,
    				128 * 1024 * 1024,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    func TestPriorityQueue_initPodMaxInUnschedulablePodsDuration(t *testing.T) {
    	pod1 := st.MakePod().Name("test-pod-1").Namespace("ns1").UID("tp-1").NominatedNodeName("node1").Obj()
    	pod2 := st.MakePod().Name("test-pod-2").Namespace("ns2").UID("tp-2").NominatedNodeName("node2").Obj()
    
    	var timestamp = time.Now()
    	pInfo1 := &framework.QueuedPodInfo{
    		PodInfo:   mustNewTestPodInfo(t, pod1),
    		Timestamp: timestamp.Add(-time.Second),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. plugin/pkg/admission/serviceaccount/admission_test.go

    			Namespace: ns,
    		},
    		Secrets: []corev1.ObjectReference{
    			{Name: "foo"},
    		},
    	})
    
    	pod1 := &api.Pod{
    		Spec: api.PodSpec{
    			Volumes: []api.Volume{
    				{VolumeSource: api.VolumeSource{Secret: &api.SecretVolumeSource{SecretName: "foo"}}},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/garbagecollector_test.go

    					pendingAttemptToDelete: []*node{makeNode(pod1nonamespace, virtual)},                                               // virtual pod1 queued for attempted delete
    				}),
    				// 4,5: handle queued delete of virtual pod1
    				processAttemptToDelete(1),
    				assertState(state{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	currentSubs sets.String,
    ) sets.String {
    	shouldSubscribe := sets.New[string]()
    
    	// First, we want to handle VIP subscriptions. Example:
    	// Client subscribes to VIP1. Pod1, part of VIP1, is sent.
    	// The client wouldn't be explicitly subscribed to Pod1, so it would normally ignore it.
    	// Since it is a part of VIP1 which we are subscribe to, add it to the subscriptions
    	for addr := range allAddresses {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top