Skip to content

Commit

Permalink
fixes for PR 1493 (#1498)
Browse files Browse the repository at this point in the history
Signed-off-by: Ankur Kothiwal <[email protected]>
  • Loading branch information
Ankurk99 authored Nov 6, 2023
1 parent 4c4d9dd commit 3deb7a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 3deb7a1

Please sign in to comment.