From e1310e1705096d80e7ea78d8d47fae6c728e56d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Fri, 24 May 2024 16:42:21 +0800 Subject: [PATCH] install.sh: wait for all kube-ovn-pinger pods to be ready (#4082) Signed-off-by: zhangzujian --- dist/images/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/images/install.sh b/dist/images/install.sh index 2bcdef15394..7ab3f011c66 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -4761,8 +4761,9 @@ for ns in $(kubectl get ns --no-headers -o custom-columns=NAME:.metadata.name); done done +kubectl rollout status deployment/coredns -n kube-system --timeout 300s kubectl rollout status daemonset/kube-ovn-pinger -n kube-system --timeout 300s -kubectl rollout status deployment/coredns -n kube-system --timeout 600s +kubectl wait pod --for=condition=Ready -l app=kube-ovn-pinger -n kube-system --timeout 300s echo "-------------------------------" echo ""