Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 191 for poda (0.07 sec)

  1. pkg/controller/tainteviction/taint_eviction_test.go

    			expectedDeleteTimes: durationSlice{
    				{[]string{"pod1"}, 0},
    				{[]string{"pod2"}, time.Second},
    			},
    		},
    		{
    			description: "Evict all pods not matching all taints instantly",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    				*addToleration(testutil.NewPod("pod2", "node1"), 1, 1),
    				*addToleration(testutil.NewPod("pod3", "node1"), 1, -1),
    			},
    			oldNode: testutil.NewNode("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)
  2. tests/integration/pilot/common/routing.go

    				//	host: fmt.Sprintf("%s-v1-0.%s", StatefulSetSvc, apps.StatefulSet[0].Config().ClusterLocalFQDN()),
    				//},
    			)
    		}
    		for _, podA := range t.Apps.A {
    			testCases = append(testCases, vmCase{
    				name: "k8s to vm",
    				from: podA,
    				to:   vms,
    			})
    		}
    		for _, c := range testCases {
    			c := c
    			checker := check.OK()
    			if !match.Headless.Any(c.to) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. pkg/scheduler/scheduler_test.go

    			},
    			waitSchedulingPods: []*v1.Pod{
    				st.MakePod().Name("pod1").UID("pod1").SchedulerName(testSchedulerProfile1).Obj(),
    				st.MakePod().Name("pod2").UID("pod2").SchedulerName(testSchedulerProfile1).Obj(),
    				st.MakePod().Name("pod3").UID("pod3").SchedulerName(testSchedulerProfile1).Obj(),
    			},
    			expectPodNamesInWaitingPods: []string{"pod1", "pod2", "pod3"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    }
    
    // Ensure SyncService correctly selects Pods.
    func TestSyncServicePodSelection(t *testing.T) {
    	client, esController := newController(t, []string{"node-1"}, time.Duration(0))
    	ns := metav1.NamespaceDefault
    
    	pod1 := newPod(1, ns, true, 0, false)
    	esController.podStore.Add(pod1)
    
    	// ensure this pod will not match the selector
    	pod2 := newPod(2, ns, true, 0, false)
    	pod2.Labels["foo"] = "boo"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. hack/testdata/sorted-pods/sorted-pod1.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod1
      creationTimestamp: "2018-08-30T14:10:58Z"
      labels:
        name: sorted-pod3-label
    spec:
      containers:
      - name: kubernetes-pause2
        image: registry.k8s.io/pause:3.10
        resources:
          requests:
            memory: "64Mi"
            cpu: "250m"
          limits:
            memory: "128Mi"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 355 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    		t.Errorf("unexpected error: %v", err)
    	}
    	if _, ok, _ := store.Get(pod3); ok {
    		t.Errorf("found pod")
    	}
    
    	// Test List.
    	store.Add(makeTestPod("pod1", 4))
    	store.Add(makeTestPod("pod2", 5))
    	store.Add(makeTestPod("pod3", 6))
    	{
    		expected := map[string]storeElement{
    			"prefix/ns/pod1": *makeTestStoreElement(makeTestPod("pod1", 4)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_test.go

    	pod2 := newStatefulSetPod(set, 2)
    	pod2.OwnerReferences = nil
    	// pod3 has wrong labels.
    	pod3 := newStatefulSetPod(set, 3)
    	pod3.OwnerReferences = nil
    	pod3.Labels = nil
    	// pod4 has wrong name.
    	pod4 := newStatefulSetPod(set, 4)
    	pod4.OwnerReferences = nil
    	pod4.Name = "x" + pod4.Name
    
    	_, ctx := ktesting.NewTestContext(t)
    	ssc, _, om, _ := newFakeStatefulSetController(ctx, set, pod1, pod2, pod3, pod4)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	createPod("128.0.0.2", "pod")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.2"), []types.NamespacedName{{Name: "pod", Namespace: "ns"}})
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), nil)
    
    	// A new pod is created with the old IP. We should get new-pod, not pod
    	createPod("128.0.0.1", "new-pod")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "new-pod", Namespace: "ns"}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. pkg/kubelet/config/apiserver_test.go

    	pod1 := v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "p", Namespace: "one"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/one"}}}}
    	pod2 := v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "p", Namespace: "two"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/blah"}}}}
    
    	// Setup fake api client.
    	fakeWatch := watch.NewFake()
    	lw := fakePodLW{
    		listResp:  &v1.PodList{Items: []v1.Pod{pod1, pod2}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 18:31:03 UTC 2017
    - 5.6K bytes
    - Viewed (0)
  10. pilot/pkg/leaderelection/leaderelection_test.go

    	watcher := &fakeDefaultWatcher{}
    	// First remote pod becomes the leader
    	_, stop := createElectionMulticluster(t, "pod1", "", true, false, watcher, true, client)
    	// A new local pod should become leader
    	_, stop2 := createElectionMulticluster(t, "pod2", "", false, false, watcher, true, client)
    	// A new remote pod cannot become leader
    	_, stop3 := createElectionMulticluster(t, "pod3", "", true, false, watcher, false, client)
    	close(stop3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top