- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for containersToStart (0.51 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
// the specific fields. basePod, baseStatus := makeBasePodAndStatus() noAction := podActions{ SandboxID: baseStatus.SandboxStatuses[0].Id, ContainersToStart: []int{}, ContainersToKill: map[kubecontainer.ContainerID]containerToKillInfo{}, } for desc, test := range map[string]struct { mutatePodFn func(*v1.Pod)
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/kuberuntime/kuberuntime_manager.go
// Get the containers to start, excluding the ones that succeeded if RestartPolicy is OnFailure. var containersToStart []int for idx, c := range pod.Spec.Containers { if pod.Spec.RestartPolicy == v1.RestartPolicyOnFailure && containerSucceeded(&c, podStatus) { continue } containersToStart = append(containersToStart, idx) } // We should not create a sandbox, and just kill the pod if initialization
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0)