Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for pod_1 (0.04 sec)

  1. pkg/dns/server/name_table_test.go

    	push := model.NewPushContext()
    	push.Mesh = mesh
    	push.AddPublicServices([]*model.Service{headlessService})
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod1, headlessService, "pod1", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod2, headlessService, "pod2", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 04:26:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    	pod1 = newPodList(informers.Core().V1().Pods().Informer().GetIndexer(), 1, v1.PodRunning, labelMap1, testRSSpec1, "pod").Items[0]
    	pod1.ResourceVersion = "1"
    	pod1.Labels = labelMap2
    	pod1.OwnerReferences = []metav1.OwnerReference{controllerRef2}
    	pod2 = pod1
    	pod2.OwnerReferences = nil
    	pod2.ResourceVersion = "2"
    	manager.updatePod(logger, &pod1, &pod2)
    	expected = sets.NewString(testRSSpec2.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers_test.go

    		Pod:        newNamedPod("1", "test1", "pod1", false),
    		UpdateType: kubetypes.SyncPodUpdate,
    	})
    	drainAllWorkers(podWorkers)
    
    	// should observe pod terminating
    	pod1 = podWorkers.podSyncStatuses[types.UID("1")]
    	if !pod1.IsTerminationRequested() || !pod1.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod1)
    	}
    }
    
    func TestStaticPodExclusion(t *testing.T) {
    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/daemon/update_test.go

    				pod0 := newPod("pod-0", "node-0", simpleDaemonSetLabel, nil)
    				pod1 := newPod("pod-1", "node-1", simpleDaemonSetLabel, nil)
    				now := metav1.Now()
    				markPodReady(pod0)
    				markPodReady(pod1)
    				pod1.DeletionTimestamp = &now
    				mapping["node-0"] = []*v1.Pod{pod0}
    				mapping["node-1"] = []*v1.Pod{pod1}
    				return mapping
    			}(),
    			maxUnavailable:         2,
    			desiredNumberScheduled: 3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. docs/distributed/decom-compressed-sse-s3.sh

    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_1.log) &
    pid_1=$!
    
    (minio server --address ":9001" http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_2.log) &
    pid_2=$!
    
    sleep 30
    ./mc ready myminio
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"})
    	assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"})
    	fx.Clear()
    	// Add the pod, expect the endpoints update for both
    	addPod("pod2", "172.0.1.2")
    	assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
    	assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pkg/scheduler/util/utils_test.go

    	currentTime := time.Now()
    	pod1 := newPriorityPodWithStartTime("pod1", 1, currentTime)
    	pod2 := newPriorityPodWithStartTime("pod2", 2, currentTime.Add(time.Second))
    	pod3 := newPriorityPodWithStartTime("pod3", 2, currentTime)
    
    	tests := map[string]struct {
    		p1       *v1.Pod
    		p2       *v1.Pod
    		expected bool
    	}{
    		"Pod with higher priority": {
    			p1:       pod1,
    			p2:       pod2,
    			expected: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		"/pod0-c1": getTestContainerInfo(seedPod0Container1, pName0, namespace0, cName01),
    		// Pod1 - Namespace0
    		"/pod1-i":  getTestContainerInfo(seedPod1Infra, pName1, namespace0, kubelettypes.PodInfraContainerName),
    		"/pod1-c0": getTestContainerInfo(seedPod1Container, pName1, namespace0, cName10),
    		// Pod2 - Namespace2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/memorymanager/policy_static_test.go

    						},
    					},
    				},
    			},
    			expectedError: fmt.Errorf("[memorymanager] (pod: pod1, container: container1) the memory assignment uses the NUMA that does not exist"),
    		},
    		{
    			description: "should fail when machine state does not have resource that used under the memory assignment",
    			assignments: state.ContainerMemoryAssignments{
    				"pod1": map[string][]state.Block{
    					"container1": {
    						{
    							NUMAAffinity: []int{0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		}, retry.Timeout(time.Second*5))
    	}
    
    	pc := clienttest.NewWriter[*corev1.Pod](t, s.client)
    	sc := clienttest.NewWriter[*corev1.Service](t, s.client)
    	pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod1)
    	fx.WaitOrFail(t, "xds")
    
    	pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod2)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top