- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HasAnyRegularContainerStarted (0.29 sec)
-
pkg/kubelet/container/helpers.go
continue } ports = append(ports, pm) names[name] = struct{}{} } return } // HasAnyRegularContainerStarted returns true if any regular container has // started, which indicates all init containers have been initialized. func HasAnyRegularContainerStarted(spec *v1.PodSpec, statuses []v1.ContainerStatus) bool { if len(statuses) == 0 { return false }
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/status/generate.go
// been initialized before. // This is needed to handle the case where the pod has been initialized but // the restartable init containers are restarting. if kubecontainer.HasAnyRegularContainerStarted(spec, containerStatuses) { return v1.PodCondition{ Type: v1.PodInitialized, Status: v1.ConditionTrue, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// the restartable init containers are restarting and the pod should not be // placed back into v1.PodPending since the regular containers have run. !kubecontainer.HasAnyRegularContainerStarted(&spec, info): fallthrough case waiting > 0: klog.V(5).InfoS("Pod waiting > 0, pending") // One or more containers has not been started return v1.PodPending
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0)