Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PodRunning (0.14 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    		podPhase:             []v1.PodPhase{v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning},
    		podDeletionTimestamp: []bool{false, false, false, false, false, true, true},
    		resource: &resourceInfo{
    			name:     v1.ResourceCPU,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.assertAddresses(t, "", "pod1")
    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	s.addPods(t, "127.0.0.2", "pod2", "sa1", map[string]string{"app": "a", "other": "label"}, nil, true, corev1.PodRunning)
    	s.addPods(t, "127.0.0.3", "pod3", "sa1", map[string]string{"app": "other"}, nil, true, corev1.PodRunning)
    	s.assertAddresses(t, "", "pod1", "pod2", "pod3")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pkg/kubelet/status/status_manager_test.go

    		{
    			pod: newPod(0, 1, func(pod *v1.Pod) {
    				pod.Status.Phase = v1.PodRunning
    			}),
    			expectFn: func(t *testing.T, status v1.PodStatus) {
    				status.Phase = v1.PodFailed
    			},
    		},
    		{
    			pod: newPod(0, 1, func(pod *v1.Pod) {
    				pod.Status.Phase = v1.PodRunning
    				pod.Status.ContainerStatuses = []v1.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_test.go

    	now := metav1.Now()
    	pendingDeletionRS.DeletionTimestamp = &now
    	pod1 := newPod("pod1", someRS, v1.PodRunning, nil, true)
    	pod2 := newPod("pod2", someRS, v1.PodRunning, nil, true)
    	pod3 := newPod("pod3", relatedRS, v1.PodRunning, nil, true)
    	pod4 := newPod("pod4", unrelatedRS, v1.PodRunning, nil, true)
    	logger, _ := ktesting.NewTestContext(t)
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    		fmt.Fprintf(writer, "   Pod Ports: %s\n", strings.Join(ports, ", "))
    	} else {
    		fmt.Fprintf(writer, "   Pod does not expose ports\n")
    	}
    
    	if pod.Status.Phase != corev1.PodRunning {
    		fmt.Printf("   Pod is not %s (%s)\n", corev1.PodRunning, pod.Status.Phase)
    		return
    	}
    
    	for _, containerStatus := range pod.Status.ContainerStatuses {
    		if !containerStatus.Ready {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		// Apiserver doesn't allow Create/Update to modify the pod status. Creating doesn't result in
    		// events - since PodIP will be "".
    		newPod.Status.PodIP = pod.Status.PodIP
    		newPod.Status.Phase = corev1.PodRunning
    		pc.UpdateStatus(newPod)
    		waitForPod(t, controller, pod.Status.PodIP)
    		// pod first time occur will trigger proxy push
    		fx.WaitOrFail(t, "proxy")
    	}
    }
    
    func setPodReady(pod *corev1.Pod) {
    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/controller/endpoint/endpoints_controller_test.go

    	}{
    		{
    			name:            "pod running phase",
    			pod:             makePod(v1.PodRunning, true, false),
    			service:         makeService(false),
    			expectedReady:   1,
    			expectedUnready: 0,
    		},
    		{
    			name:            "pod running phase being deleted",
    			pod:             makePod(v1.PodRunning, true, true),
    			service:         makeService(false),
    			expectedReady:   0,
    			expectedUnready: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    	// events - since PodIP will be "".
    	newPod.Status.PodIP = pod.Status.PodIP
    	newPod.Status.PodIPs = []v1.PodIP{
    		{
    			IP: pod.Status.PodIP,
    		},
    	}
    	newPod.Status.Phase = v1.PodRunning
    
    	// Also need to sets the pod to be ready as now we only add pod into service entry endpoint when it's ready
    	setPodReady(newPod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    			expectMatch:   false,
    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{Phase: api.PodRunning},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("status.phase=Running"),
    			expectMatch:   true,
    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{Phase: api.PodRunning},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("status.phase=Pending"),
    			expectMatch:   false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 1)
    	if isRunningAndReady(pod) {
    		t.Error("isRunningAndReady does not respect Pod phase")
    	}
    	pod.Status.Phase = v1.PodRunning
    	if isRunningAndReady(pod) {
    		t.Error("isRunningAndReady does not respect Pod condition")
    	}
    	condition := v1.PodCondition{Type: v1.PodReady, Status: v1.ConditionTrue}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top