Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for PodRunning (0.39 sec)

  1. pkg/controller/podgc/gc_controller_test.go

    				{name: "d3", phase: v1.PodRunning, nodeName: "worker-2"},
    				{name: "e3", phase: v1.PodUnknown, nodeName: "worker-2"},
    
    				// pods a4, b4, c4, d4 and e4 are on node worker-3
    				{name: "a4", nodeName: "worker-3"},
    				{name: "b4", deletionTimeStamp: &metav1.Time{}, nodeName: "worker-3"},
    				{name: "c4", phase: v1.PodPending, nodeName: "worker-3"},
    				{name: "d4", phase: v1.PodRunning, nodeName: "worker-3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. pkg/controller/job/indexed_job_utils_test.go

    				{"0", v1.PodRunning},
    				{"3", v1.PodPending},
    				{"0", v1.PodRunning},
    				{"3", v1.PodRunning},
    				{"0", v1.PodPending},
    				{"6", v1.PodRunning},
    				{"6", v1.PodPending},
    			},
    			wantRm: []indexPhase{
    				{"0", v1.PodPending},
    				{"0", v1.PodRunning},
    				{"3", v1.PodPending},
    				{"6", v1.PodRunning},
    				{"6", v1.PodPending},
    			},
    			wantLeft: []indexPhase{
    				{"0", v1.PodRunning},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. pkg/controller/controller_utils_test.go

    		runningReadyNoLastTransitionTimePod = pod("ready-no-last-transition-time", "node", v1.PodRunning, true, 0, zeroTime, zeroTime, nil)
    		runningReadyNow                     = pod("ready-now", "node", v1.PodRunning, true, 0, now, now, nil)
    		runningReadyThen                    = pod("ready-then", "node", v1.PodRunning, true, 0, then1Month, then1Month, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. pkg/quota/v1/evaluator/core/pods_test.go

    		want               corev1.ResourceList
    	}{
    		{
    			name: "nil case",
    		},
    		{
    			name: "all pods in running state",
    			objs: []runtime.Object{
    				makePod("p1", "", cpu1, api.PodRunning),
    				makePod("p2", "", cpu1, api.PodRunning),
    			},
    			want: corev1.ResourceList{
    				corev1.ResourcePods:               resource.MustParse("2"),
    				corev1.ResourceName("count/pods"): resource.MustParse("2"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    			expectError: "Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests: The disruption budget foo needs 0 healthy pods and has 0 currently",
    			podPhase:    api.PodRunning,
    			podName:     "t1",
    			policies:    []*policyv1.UnhealthyPodEvictionPolicyType{nil, unhealthyPolicyPtr(policyv1.IfHealthyBudget)}, // AlwaysAllow would terminate the pod since Running pods are not guarded by this policy
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    					PodIP: "1.2.3.4",
    				},
    			},
    			result: &workloadapi.Workload{
    				Uid:               "cluster0//Pod/ns/name",
    				Name:              "name",
    				Namespace:         "ns",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    		map[string]string{
    			constants.ManagedGatewayLabel: constants.ManagedGatewayMeshControllerLabel,
    			constants.GatewayNameLabel:    "waypoint-ns",
    		}, nil, true, corev1.PodRunning)
    	s.assertAddresses(t, "", "name1", "name2", "name3", "waypoint-ns-pod")
    	s.assertEvent(t, s.podXdsName("waypoint-ns-pod"))
    	s.addWaypoint(t, "10.0.0.2", "waypoint-ns", constants.AllTraffic, true)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/prober_manager_test.go

    		ContainerID: "test://terminated_container_id",
    		State: v1.ContainerState{
    			Terminated: &v1.ContainerStateTerminated{},
    		},
    	}
    	podStatus := v1.PodStatus{
    		Phase: v1.PodRunning,
    		ContainerStatuses: []v1.ContainerStatus{
    			unprobed, probedReady, probedPending, probedUnready, notStartedNoReadiness, startedNoReadiness, terminated,
    		},
    	}
    
    	m := newTestManager()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. pkg/kube/util.go

    	case corev1.PodSucceeded:
    		return nil
    	case corev1.PodRunning:
    		return CheckPodReady(pod)
    	default:
    		return fmt.Errorf("%s", pod.Status.Phase)
    	}
    }
    
    // CheckPodReady returns nil if the given pod and all of its containers are ready.
    func CheckPodReady(pod *corev1.Pod) error {
    	switch pod.Status.Phase {
    	case corev1.PodRunning:
    		// Wait until all containers are ready.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/pod.go

    func isPodPhaseTerminal(phase v1.PodPhase) bool {
    	return phase == v1.PodFailed || phase == v1.PodSucceeded
    }
    
    func IsPodRunning(pod *v1.Pod) bool {
    	return pod.Status.Phase == v1.PodRunning
    }
    
    // IsPodReady is copied from kubernetes/pkg/api/v1/pod/utils.go
    func IsPodReady(pod *v1.Pod) bool {
    	return IsPodReadyConditionTrue(pod.Status)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top