Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for PodRunning (0.19 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	}
    
    	pod2 := metav1.ObjectMeta{Name: "pod2", Namespace: ns}
    	if err := f(nil, &v1.Pod{ObjectMeta: pod2, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodRunning}}, model.EventAdd); err != nil {
    		t.Error(err)
    	}
    	if handled != 3 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 3)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/apiclient/wait.go

    				lastKnownPodNumber = len(pods.Items)
    			}
    
    			if len(pods.Items) == 0 {
    				return false, nil
    			}
    
    			for _, pod := range pods.Items {
    				if pod.Status.Phase != v1.PodRunning {
    					return false, nil
    				}
    			}
    
    			return true, nil
    		})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils.go

    		pod.Labels[apps.PodIndexLabel] = strconv.Itoa(ordinal)
    	}
    }
    
    // isRunningAndReady returns true if pod is in the PodRunning Phase, if it has a condition of PodReady.
    func isRunningAndReady(pod *v1.Pod) bool {
    	return pod.Status.Phase == v1.PodRunning && podutil.IsPodReady(pod)
    }
    
    func isRunningAndAvailable(pod *v1.Pod, minReadySeconds int32) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. pkg/controller/podgc/gc_controller.go

    	gcc.gcOrphaned(ctx, pods, nodes)
    	gcc.gcUnscheduledTerminating(ctx, pods)
    }
    
    func isPodTerminated(pod *v1.Pod) bool {
    	if phase := pod.Status.Phase; phase != v1.PodPending && phase != v1.PodRunning && phase != v1.PodUnknown {
    		return true
    	}
    	return false
    }
    
    // isPodTerminating returns true if the pod is terminating.
    func isPodTerminating(pod *v1.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. pilot/pkg/xds/workload_test.go

    			ServiceAccountName: sa,
    			NodeName:           node,
    		},
    		Status: corev1.PodStatus{
    			PodIP: ip,
    			PodIPs: []corev1.PodIP{
    				{
    					IP: ip,
    				},
    			},
    			Phase: corev1.PodRunning,
    			Conditions: []corev1.PodCondition{
    				{
    					Type:               corev1.PodReady,
    					Status:             corev1.ConditionTrue,
    					LastTransitionTime: metav1.Now(),
    				},
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. pkg/kubelet/status/status_manager.go

    	if !kubetypes.IsStaticPod(pod) {
    		switch status.Phase {
    		case v1.PodSucceeded, v1.PodFailed:
    			// do nothing, already terminal
    		case v1.PodPending, v1.PodRunning:
    			if status.Phase == v1.PodRunning && isCached {
    				klog.InfoS("Terminal running pod should have already been marked as failed, programmer error", "pod", klog.KObj(pod), "podUID", pod.UID)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  7. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    			activePods: []*v1.Pod{
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "running-pod"},
    					Spec:       v1.PodSpec{},
    					Status: v1.PodStatus{
    						Phase: v1.PodRunning,
    					},
    				},
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "failed-pod"},
    					Spec:       v1.PodSpec{},
    					Status: v1.PodStatus{
    						Phase: v1.PodFailed,
    					},
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/types_test.go

    					Name:      "c1",
    					Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: cpu500m, v1.ResourceMemory: mem500M}},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase:  v1.PodRunning,
    			Resize: "",
    			ContainerStatuses: []v1.ContainerStatus{
    				{
    					Name:               "c1",
    					AllocatedResources: v1.ResourceList{v1.ResourceCPU: cpu500m, v1.ResourceMemory: mem500M},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top