Skip to content

Commit

Permalink
Update install-pre-1.16.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Wei committed Jan 23, 2021
1 parent f5999b3 commit 31e1226
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dist/images/install-pre-1.16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,14 @@ chmod +x /usr/local/bin/kubectl-ko
echo "-------------------------------"
echo ""

echo ":$PATH:" | grep -q ":/usr/local/bin:"
if [ $? != 0 ]; then
echo "Tips:Please join the /usr/local/bin to your PATH. Temporarily, we do it for this execution."
export PATH=/usr/local/bin:$PATH
echo "-------------------------------"
echo ""
fi

echo "[Step 6] Run network diagnose"
sleep 60
kubectl ko diagnose all
Expand Down

0 comments on commit 31e1226

Please sign in to comment.