Merge pull request #2983 from jbeda/local-clarify

Make it clearer how to run kubectl after bringing up a local cluster.
This commit is contained in:
bgrant0607 2014-12-16 14:24:06 -08:00
commit 8ba169f6a4

View File

@ -128,13 +128,21 @@ SCHEDULER_LOG=/tmp/kube-scheduler.log
--master="http://${API_HOST}:${API_PORT}" >"${SCHEDULER_LOG}" 2>&1 &
SCHEDULER_PID=$!
echo "Local Kubernetes cluster is running. Press Ctrl-C to shut it down."
echo "Logs: "
echo " ${APISERVER_LOG}"
echo " ${CTLRMGR_LOG}"
echo " ${KUBELET_LOG}"
echo " ${PROXY_LOG}"
echo " ${SCHEDULER_LOG}"
cat <<EOF
Local Kubernetes cluster is running. Press Ctrl-C to shut it down.
Logs:
${APISERVER_LOG}
${CTLRMGR_LOG}
${KUBELET_LOG}
${PROXY_LOG}
${SCHEDULER_LOG}
To start using your cluster, open up another terminal/tab and run:
export KUBERNETES_PROVIDER=local
cluster/kubectl.sh
EOF
cleanup()
{