diff --git a/pkg/devspace/kubectl/util.go b/pkg/devspace/kubectl/util.go index ce09f522cf..08fbb0fa9f 100644 --- a/pkg/devspace/kubectl/util.go +++ b/pkg/devspace/kubectl/util.go @@ -98,6 +98,8 @@ func GetPodStatus(pod *corev1.Pod) string { switch { case container.State.Terminated != nil && container.State.Terminated.ExitCode == 0: continue + case container.State.Running != nil && pod.Spec.InitContainers[i].RestartPolicy != nil: + continue case container.State.Terminated != nil: // initialization is failed if len(container.State.Terminated.Reason) == 0 {