Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetPodFullName (0.69 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				util.GetPodFullName(pods[0]): {PodInfo: mustNewTestPodInfo(t, pods[0]), UnschedulablePlugins: sets.New[string]()},
    				util.GetPodFullName(pods[1]): {PodInfo: mustNewTestPodInfo(t, pods[1]), UnschedulablePlugins: sets.New[string]()},
    				util.GetPodFullName(pods[2]): {PodInfo: mustNewTestPodInfo(t, pods[2]), UnschedulablePlugins: sets.New[string]()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	kl.podWorkers.(*fakePodWorkers).terminatingStaticPods = map[string]bool{
    		kubecontainer.GetPodFullName(orphanPods[2]): true,
    	}
    
    	// Sync with an empty pod list to delete all mirror pods.
    	kl.HandlePodCleanups(ctx)
    	assert.Len(t, manager.GetPods(), 0, "Expected 0 mirror pods")
    	for i, pod := range orphanPods {
    		name := kubecontainer.GetPodFullName(pod)
    		creates, deletes := manager.GetCounts(name)
    		switch i {
    		case 2:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    	fakeRuntime.PodList = []*containertest.FakePod{}
    
    	podName := "podFoo"
    	podNamespace := "nsFoo"
    	containerName := "containerFoo"
    	output, err := kubelet.RunInContainer(
    		ctx,
    		kubecontainer.GetPodFullName(&v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: podNamespace}}),
    		"",
    		containerName,
    		[]string{"ls"})
    	assert.Error(t, err)
    	assert.Nil(t, output, "output should be nil")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    				// it. The mirror pod will get recreated later.
    				klog.InfoS("Trying to delete pod", "pod", klog.KObj(pod), "podUID", mirrorPod.ObjectMeta.UID)
    				podFullName := kubecontainer.GetPodFullName(pod)
    				var err error
    				deleted, err = kl.mirrorPodClient.DeleteMirrorPod(podFullName, &mirrorPod.ObjectMeta.UID)
    				if deleted {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top