diff --git a/dist/images/install.sh b/dist/images/install.sh index 49b5fe84b54..123b6f71d67 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3287,7 +3287,7 @@ spec: cpu: 300m memory: 300Mi limits: - cpu: 3 + cpu: 4 memory: 4Gi volumeMounts: - mountPath: /var/run/openvswitch @@ -4601,8 +4601,10 @@ if ! sh -c "echo \":$PATH:\" | grep -q \":/usr/local/bin:\""; then fi echo "[Step 6/6] Run network diagnose" -kubectl cp kube-system/"$(kubectl -n kube-system get pods -o wide | grep cni | awk '{print $1}' | awk 'NR==1{print}')":/kube-ovn/kubectl-ko /usr/local/bin/kubectl-ko +kubectl cp kube-system/"$(kubectl -n kube-system get pods -o wide | grep cni | awk '{print $1}' | awk 'NR==1{print}')":/kube-ovn/kubectl-ko /usr/local/bin/kubectl-ko chmod +x /usr/local/bin/kubectl-ko +# show pod status in kube-system namespace before diagnose +kubectl get pod -n kube-system -o wide kubectl ko diagnose all echo "-------------------------------"