Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for pod_1 (0.13 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. 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)
  3. 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)
  4. 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)
  5. pkg/scheduler/schedule_one_test.go

    	}
    	pods := []*v1.Pod{
    		st.MakePod().Name("pod1").UID("pod1").SchedulerName("match-node3").Obj(),
    		st.MakePod().Name("pod2").UID("pod2").SchedulerName("match-node2").Obj(),
    		st.MakePod().Name("pod3").UID("pod3").SchedulerName("match-node2").Obj(),
    		st.MakePod().Name("pod4").UID("pod4").SchedulerName("match-node3").Obj(),
    	}
    	wantBindings := map[string]string{
    		"pod1": "node3",
    		"pod2": "node2",
    		"pod3": "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/cache_based_manager_test.go

    	fakeClient := &fake.Clientset{}
    	store := newSecretStore(fakeClient, clock.RealClock{}, noObjectTTL, 0)
    	store.AddReference("ns1", "name1", "pod1")
    	store.AddReference("ns2", "name2", "pod2")
    	store.AddReference("ns1", "name1", "pod3")
    	store.AddReference("ns1", "name1", "pod4")
    	store.DeleteReference("ns1", "name1", "pod1")
    	store.DeleteReference("ns2", "name2", "pod2")
    	store.AddReference("ns3", "name3", "pod5")
    
    	// Adds don't issue Get requests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    	cases := []struct {
    		name   string
    		events []*watchCacheEvent
    	}{
    		{
    			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{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			podWithOrphanFinalizer("pod10"),
    			nilOrphanOptions,
    			orphanDeleteStrategy,
    			false,
    			[]string{"foo.com/x", metav1.FinalizerOrphanDependents, "bar.com/y"},
    		},
    		{
    			podWithOtherFinalizers("pod11"),
    			nilOrphanOptions,
    			defaultDeleteStrategy,
    			false,
    			[]string{"foo.com/x", "bar.com/y"},
    		},
    		{
    			podWithOtherFinalizers("pod12"),
    			nilOrphanOptions,
    			orphanDeleteStrategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		gracePeriodOverride int64
    		succeed             bool
    	}{
    		{
    			caseName: "Failed to find container in pods, expect to return error",
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{UID: "pod1_id", Name: "pod1", Namespace: "default"},
    				Spec:       v1.PodSpec{Containers: []v1.Container{{Name: "empty_container"}}},
    			},
    			containerID:         kubecontainer.ContainerID{Type: "docker", ID: "not_exist_container_id"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. pkg/istio-agent/agent_test.go

    		// our CI, causing flakes. We use ECC as the default to speed this up.
    		ECCSigAlg:  string(pkiutil.EcdsaSigAlg),
    		CARootPath: cafile.CACertFilePath,
    	}
    	proxy := &Proxy{
    		ID:          "pod1.fake-namespace",
    		DNSDomain:   "fake-namespace.svc.cluster.local",
    		Type:        model.SidecarProxy,
    		IPAddresses: []string{"127.0.0.1"},
    	}
    	resp.ProxyConfig = mesh.DefaultProxyConfig()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top