Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for pdName (0.32 sec)

  1. pkg/kubelet/kubelet_test.go

    		_, err := kubelet.validateContainerLogStatus("podName", podStatus, containerName, previous)
    		if !tc.success {
    			assert.Error(t, err, fmt.Sprintf("[case %d] error", i))
    		} else {
    			assert.NoError(t, err, "[case %d] error", i)
    		}
    		// Access the log of the previous, terminated container
    		previous = true
    		_, err = kubelet.validateContainerLogStatus("podName", podStatus, containerName, previous)
    		if !tc.pSuccess {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    					}
    				}
    			}
    
    			for _, podName := range test.wantUnschedPodPoolPodNames {
    				p := getUnschedulablePod(q, &st.MakePod().Name(podName).Pod)
    				if p == nil {
    					t.Fatalf("Pod %v was not found in the unschedulablePods.", podName)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector_test.go

    	go sharedInformers.Start(stop)
    	return garbageCollector{gc, stop}
    }
    
    func getPod(podName string, ownerReferences []metav1.OwnerReference) *v1.Pod {
    	return &v1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       "Pod",
    			APIVersion: "v1",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            podName,
    			Namespace:       "ns1",
    			UID:             "456",
    			OwnerReferences: ownerReferences,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control_test.go

    		return err
    	}
    	pod.SetUID(types.UID(pod.Name + "-uid"))
    	return om.podsIndexer.Update(pod)
    }
    
    func (om *fakeObjectManager) GetPod(namespace, podName string) (*v1.Pod, error) {
    	return om.podsLister.Pods(namespace).Get(podName)
    }
    
    func (om *fakeObjectManager) UpdatePod(pod *v1.Pod) error {
    	defer om.updatePodTracker.trackParallelRequests()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal_test.go

    				podPhase = tc.reportedPodPhase[i]
    			}
    
    			podDeletionTimestamp := false
    			if tc.reportedPodDeletionTimestamp != nil {
    				podDeletionTimestamp = tc.reportedPodDeletionTimestamp[i]
    			}
    
    			podName := fmt.Sprintf("%s-%d", podNamePrefix, i)
    
    			reportedCPURequest := resource.MustParse("1.0")
    			if specifiedCPURequests {
    				reportedCPURequest = tc.reportedCPURequests[i]
    			}
    
    			pod := v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top