diff --git a/contribution/Killercoda-Kubearmor/k3s_installation_killercoda.sh b/contribution/Killercoda-Kubearmor/k3s_installation_killercoda.sh index a7aceeff66..adcf5c36c5 100755 --- a/contribution/Killercoda-Kubearmor/k3s_installation_killercoda.sh +++ b/contribution/Killercoda-Kubearmor/k3s_installation_killercoda.sh @@ -48,10 +48,9 @@ else echo "export KUBECONFIG=$KUBECONFIG" | tee -a ~/.bashrc fi +sleep 30 echo "Waiting for all pods in kube-system to be in the 'Running' state" - -kubectl wait --for=condition=Ready pod --all --namespace=kube-system --timeout=120s - +kubectl wait --for=condition=Ready pod --all --namespace=kube-system --timeout=300s kubectl get pods -A echo "All pods in kube-system are now in the 'Running' state" diff --git a/contribution/Killercoda-Kubearmor/kubearmor-installation-view.sh b/contribution/Killercoda-Kubearmor/kubearmor-installation-view.sh index 056daa8c76..06d098e572 100755 --- a/contribution/Killercoda-Kubearmor/kubearmor-installation-view.sh +++ b/contribution/Killercoda-Kubearmor/kubearmor-installation-view.sh @@ -10,7 +10,7 @@ kubectl wait --for=condition=ready --timeout=5m -n kubearmor pod -l kubearmor-ap kubectl get po -n $namespace kubectl wait -n kubearmor --timeout=5m --for=jsonpath='{.status.phase}'=Running kubearmorconfigs/kubearmor-default kubectl wait --timeout=5m --for=condition=ready pod -l kubearmor-app,kubearmor-app!=kubearmor-snitch -n kubearmor -kubectl wait --timeout=5m --for=condition=ready pod -l kubearmor-app=kubearmor -n kubearmor +kubectl wait --timeout=5m --for=condition=ready pod -l kubearmor-app=kubearmor,kubearmor-app!=kubearmor-snitch -n kubearmor echo "All pods in namespace '$namespace' are now in the 'Running' state"