- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for PodRunning (0.2 sec)
-
pkg/kubelet/status/generate_test.go
}{ { spec: nil, containerStatuses: nil, podPhase: v1.PodRunning, expectReady: getPodCondition(v1.ContainersReady, v1.ConditionFalse, UnknownContainerStatuses, ""), }, { spec: &v1.PodSpec{}, containerStatuses: []v1.ContainerStatus{}, podPhase: v1.PodRunning, expectReady: getPodCondition(v1.ContainersReady, v1.ConditionTrue, "", ""), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_utils_test.go
}, }, }, { "manageReplicasErr != nil && failureCond == nil, diff > 0", rs, []*v1.Pod{ newPod("pod1", rs, v1.PodRunning, nil, true), newPod("pod2", rs, v1.PodRunning, nil, true), newPod("pod3", rs, v1.PodRunning, nil, true), }, fmt.Errorf("fake manageReplicasErr"), []apps.ReplicaSetCondition{ { Type: apps.ReplicaSetReplicaFailure,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 19 20:18:23 UTC 2018 - 6.6K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/client/conditions/conditions_test.go
wantErr: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got, err := PodRunning(tt.event) if (err != nil) != tt.wantErr { t.Errorf("PodRunning() error = %v, wantErr %v", err, tt.wantErr) return } if got != tt.want { t.Errorf("PodRunning() = %v, want %v", got, tt.want) } }) } } func TestPodCompleted(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 02:48:46 UTC 2023 - 3.1K bytes - Viewed (0) -
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) -
pkg/client/conditions/conditions.go
) // ErrPodCompleted is returned by PodRunning or PodContainerRunning to indicate that // the pod has already reached completed state. var ErrPodCompleted = fmt.Errorf("pod ran to completion") // PodRunning returns true if the pod is running, false if the pod has not yet reached running state, // returns ErrPodCompleted if the pod has run to completion, or an error in any other case. func PodRunning(event watch.Event) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 13:43:36 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
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)