diff --git a/pkg/devspace/kubectl/util.go b/pkg/devspace/kubectl/util.go index ce09f522cf..9f571b38b6 100644 --- a/pkg/devspace/kubectl/util.go +++ b/pkg/devspace/kubectl/util.go @@ -96,7 +96,7 @@ func GetPodStatus(pod *corev1.Pod) string { container := pod.Status.InitContainerStatuses[i] switch { - case container.State.Terminated != nil && container.State.Terminated.ExitCode == 0: + case (container.State.Terminated != nil && container.State.Terminated.ExitCode == 0) || (container.State.Running != nil && pod.Spec.RestartPolicy == corev1.RestartPolicyAlways): continue case container.State.Terminated != nil: // initialization is failed