Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for pod_1 (0.67 sec)

  1. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    		},
    		{
    			name: "node without labels",
    			Pod:  createPodWithVolume("pod_1", "PVC_1"),
    			Node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "host1",
    				},
    			},
    		},
    		{
    			name: "beta zone label matched",
    			Pod:  createPodWithVolume("pod_1", "PVC_1"),
    			Node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:   "host1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  2. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				# HELP container_memory_working_set_bytes [STABLE] Current working set of the container in bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  3. pkg/controller/tainteviction/taint_eviction_test.go

    			prevPod:     testutil.NewPod("pod1", ""),
    			newPod:      testutil.NewPod("pod1", "node1"),
    			taintedNodes: map[string][]corev1.Taint{
    				"node1": {createNoExecuteTaint(1)},
    			},
    			expectDelete: true,
    		},
    		{
    			description: "scheduling onto tainted Node with toleration",
    			prevPod:     addToleration(testutil.NewPod("pod1", ""), 1, -1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	}
    
    	createPod("128.0.0.1", "pod1")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "pod1", Namespace: "ns"}})
    	events.WaitOrdered("pod1/add", "pod1/update")
    	createPod("128.0.0.1", "pod2")
    	events.WaitOrdered("pod2/add", "pod2/update")
    	assert.Equal(t, sets.New(c.pods.getPodKeys("128.0.0.1")...), sets.New(
    		types.NamespacedName{Name: "pod1", 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)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    				},
    			},
    		},
    	}})
    
    	// test code path where service entry selects workloads via `ServiceEntry.workloadSelector`
    	s.addPods(t, "140.140.0.10", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	// lookup by address should return the pod's address info (ignore the workload entry with similar address)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_test.go

    	set1 := newStatefulSet(3)
    	set2 := newStatefulSet(3)
    	set2.Name = "foo2"
    	pod1 := newStatefulSetPod(set1, 0)
    	pod2 := newStatefulSetPod(set2, 0)
    	om.setsIndexer.Add(set1)
    	om.setsIndexer.Add(set2)
    
    	prev := *pod1
    	fakeResourceVersion(pod1)
    	ssc.updatePod(logger, &prev, pod1)
    	key, done := ssc.queue.Get()
    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/leaderelection_test.go

    	panic("unimplemented")
    }
    
    func TestLeaderElection(t *testing.T) {
    	client := fake.NewSimpleClientset()
    	watcher := &fakeDefaultWatcher{}
    	// First pod becomes the leader
    	_, stop := createElection(t, "pod1", "", watcher, true, client)
    	// A new pod is not the leader
    	_, stop2 := createElection(t, "pod2", "", watcher, false, client)
    	close(stop2)
    	close(stop)
    }
    
    func TestPerRevisionElection(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	}
    	podName1 := util.GetUniquePodName(pod1)
    
    	mounter1, err := plugin.NewMounter(volumeSpec1, pod1, volume.VolumeOptions{})
    	if err != nil {
    		t.Fatalf("NewMounter failed. Expected: <no error> Actual: <%v>", err)
    	}
    
    	mapper1, err := plugin.NewBlockVolumeMapper(volumeSpec1, pod1, volume.VolumeOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			pod:  podWithTolerations("pod1", []v1.Toleration{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
    			node: nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
    		},
    		{
    			name: "A pod which can't be scheduled on a dedicated node assigned to user2 with effect NoSchedule",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/controller/daemon/util/daemonset_util_test.go

    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash,
    			true,
    		},
    		{
    			"templateGeneration matches, hash doesn't",
    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash + "123",
    			true,
    		},
    		{
    			"templateGeneration matches, no hash label, has hash",
    			templateGeneration,
    			newPod("pod1", "node1", labelsNoHash),
    			hash,
    			true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top