mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #13941 from ghodss/local-up-cluster-speedup
Auto commit by PR queue bot
This commit is contained in:
commit
92b2d0156e
@ -27,7 +27,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
|||||||
cd "${KUBE_ROOT}"
|
cd "${KUBE_ROOT}"
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
echo "WARNING : This script MAY be run as root for docker socket / iptables functionality... if failures occur... Retry as root." 2>&1
|
echo "WARNING : This script MAY be run as root for docker socket / iptables functionality; if failures occur, retry as root." 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Stop right away if the build fails
|
# Stop right away if the build fails
|
||||||
@ -63,7 +63,7 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ "x$GO_OUT" == "x" ]; then
|
if [ "x$GO_OUT" == "x" ]; then
|
||||||
"${KUBE_ROOT}/hack/build-go.sh"
|
"${KUBE_ROOT}/hack/build-go.sh" cmd/kube-proxy cmd/kube-apiserver cmd/kube-controller-manager cmd/kubelet plugin/cmd/kube-scheduler
|
||||||
else
|
else
|
||||||
echo "skipped the build."
|
echo "skipped the build."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user