- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for ContainerStateRunning (0.62 sec)
-
pkg/kubelet/prober/prober_manager_test.go
ContainerID: "test://unprobed_container_id", State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, } probedReady := v1.ContainerStatus{ Name: "probed_container_ready", ContainerID: "test://probed_container_ready_id", State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, } probedPending := v1.ContainerStatus{ Name: "probed_container_pending",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_test.go
ExitCode: 0, }, isFailed: false, description: "Init container in exited state and zero exit code should return false", }, { status: &kubecontainer.Status{ State: kubecontainer.ContainerStateRunning, }, isFailed: false, description: "Init container in running state should return false", }, { status: &kubecontainer.Status{ State: kubecontainer.ContainerStateCreated, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
{ Ready: true, RestartCount: 0, State: api.ContainerState{Running: &api.ContainerStateRunning{}}, }, { Ready: true, RestartCount: 3, State: api.ContainerState{Running: &api.ContainerStateRunning{}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
Terminated: &v1.ContainerStateTerminated{FinishedAt: metav1.NewTime(defaultTestTime.Add(-1 * time.Second))}, }, }, { State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, }, { State: v1.ContainerState{ Terminated: &v1.ContainerStateTerminated{FinishedAt: metav1.NewTime(defaultTestTime.Add(-2 * time.Second))}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
// NOTE(random-liu): If all historical containers were GC'd, we'll also return true here. if status == nil { return true } // Check whether container is running if status.State == ContainerStateRunning { return false } // Always restart container in the unknown, or in the created state. if status.State == ContainerStateUnknown || status.State == ContainerStateCreated { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
CreatedAt: createdAt, StartedAt: startedAt, }, expected: &kubecontainer.Status{ ID: *cid, Image: imageSpec.Image, State: kubecontainer.ContainerStateRunning, CreatedAt: time.Unix(0, createdAt), StartedAt: time.Unix(0, startedAt), }, }, "exited container": { input: &runtimeapi.ContainerStatus{ Id: cid.ID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
return v1.ContainerStatus{ Name: cName, State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, } } func startedState(cName string) v1.ContainerStatus { started := true return v1.ContainerStatus{ Name: cName, State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, Started: &started, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
} testPod.Status.ContainerStatuses = []v1.ContainerStatus{ {Name: "test-1", State: v1.ContainerState{Running: &v1.ContainerStateRunning{}}}, {Name: "test-2", State: v1.ContainerState{Running: &v1.ContainerStateRunning{}}}, {Name: "test-3", State: v1.ContainerState{Running: &v1.ContainerStateRunning{}}}, } syncer.TerminatePod(testPod) t.Logf("we expect the container statuses to have changed to terminated")
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/kubelet/runonce_test.go
// TODO(random-liu) Fix the test, make it meaningful. fakeRuntime.PodStatus = kubecontainer.PodStatus{ ContainerStatuses: []*kubecontainer.Status{ { Name: "bar", State: kubecontainer.ContainerStateRunning, }, }, } results, err := kb.runOnce(ctx, pods, time.Millisecond) if err != nil { t.Errorf("unexpected error: %v", err) } if results[0].Err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0)