- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ContainerStateRunning (0.25 sec)
-
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/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/kuberuntime/kuberuntime_container.go
for i := range pod.Spec.Containers { container := &pod.Spec.Containers[i] status := podStatus.FindContainerStatusByName(container.Name) if status != nil && status.State == kubecontainer.ContainerStateRunning { return nil, nil, true } } // If there are failed containers, return the status of the last failed one. for i := len(pod.Spec.InitContainers) - 1; i >= 0; i-- {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} func containerSucceeded(c *v1.Container, podStatus *kubecontainer.PodStatus) bool { cStatus := podStatus.FindContainerStatusByName(c.Name) if cStatus == nil || cStatus.State == kubecontainer.ContainerStateRunning { return false } return cStatus.ExitCode == 0 } func isInPlacePodVerticalScalingAllowed(pod *v1.Pod) bool { if !utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/pod_workers.go
return false } return true } func isPodStatusCacheTerminal(status *kubecontainer.PodStatus) bool { for _, container := range status.ContainerStatuses { if container.State == kubecontainer.ContainerStateRunning { return false } } for _, sb := range status.SandboxStatuses { if sb.State == runtimeapi.PodSandboxState_SANDBOX_READY { return false } } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0)