Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for pod_1 (0.54 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    		NodeZoneLabel:              "zone1",
    		NodeRegionLabel:            "region1",
    		label.TopologySubzone.Name: "subzone1",
    	})
    	addNodes(t, controller, node)
    
    	pod := generatePod("128.0.0.1", "pod1", ns, "svcaccount", "node1",
    		map[string]string{"app": appName}, map[string]string{})
    	pods := []*corev1.Pod{pod}
    	addPods(t, controller, fx, pods...)
    
    	createServiceWait(controller, svcName, ns, nil, nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K 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. pkg/scheduler/eventhandlers_test.go

    			node: st.MakeNode().Name("fake-node").Label("foo", "bar").Obj(),
    			pod:  st.MakePod().Name("pod2").HostPort(80).NodeSelector(map[string]string{"foo": "bar1"}).Obj(),
    			existingPods: []*v1.Pod{
    				st.MakePod().Name("pod1").HostPort(80).Obj(),
    			},
    			wantAdmissionResults: [][]AdmissionResult{{nodeaffinityError, nodeportsError}, {nodeaffinityError}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top