Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for pod_1 (0.04 sec)

  1. pkg/kubelet/util/manager/watch_based_manager_test.go

    			steps: []step{
    				{"add", "ns1", "secret1", "pod1"},
    				{"add", "ns1", "secret1", "pod1"},
    				{"delete", "ns1", "secret1", "pod1"},
    				{"delete", "ns1", "secret1", "pod1"},
    			},
    			expects: []expect{
    				{"ns1", "secret1", "pod1", 1},
    				{"ns1", "secret1", "pod1", 2},
    				{"ns1", "secret1", "pod1", 1},
    				{"ns1", "secret1", "pod1", 0},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/printers/managedfields_test.go

    	}{
    		{
    			name: "pod without managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    			expected: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    		},
    		{
    			name: "pod with managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pod1",
    					ManagedFields: []metav1.ManagedFieldsEntry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 16 14:52:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/controller_ref_manager_test.go

    					func(ctx context.Context) error { return nil }),
    				pods:    []*v1.Pod{pod1, pod2},
    				claimed: []*v1.Pod{pod1},
    				patches: 1,
    			}
    		}(),
    		func() test {
    			// act as a cluster-scoped controller
    			controller := v1.ReplicationController{}
    			controller.Namespace = ""
    			controller.UID = types.UID(controllerUID)
    			pod1 := newPod("pod1", productionLabel, nil)
    			pod2 := newPod("pod2", productionLabel, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K 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. plugin/pkg/auth/authorizer/node/graph_test.go

    		"node:node2":            {},
    		"node:node3":            {},
    		"pod:ns/pod1":           {"node:node1"},
    		"pod:ns/pod2":           {"node:node2"},
    		"pod:ns/pod3":           {"node:node3"},
    		"configmap:ns/cm1":      {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"},
    		"configmap:ns/cm2":      {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"},
    		"configmap:ns/cm3":      {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kubelet/config/common_test.go

    		overwrite string
    		shouldErr bool
    	}{
    		{
    			"node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"Node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"NODE1",
    			"static-pod1",
    			"static-pod1-node1",
    			"static-pod1-NODE1",
    			true,
    		},
    	}
    	for _, c := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top