mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Make it clearer how to run kubectl after bringing up a local cluster.
Fixes #2935.
This commit is contained in:
parent
56ee66831b
commit
e933ac5784
@ -128,13 +128,21 @@ SCHEDULER_LOG=/tmp/kube-scheduler.log
|
|||||||
--master="http://${API_HOST}:${API_PORT}" >"${SCHEDULER_LOG}" 2>&1 &
|
--master="http://${API_HOST}:${API_PORT}" >"${SCHEDULER_LOG}" 2>&1 &
|
||||||
SCHEDULER_PID=$!
|
SCHEDULER_PID=$!
|
||||||
|
|
||||||
echo "Local Kubernetes cluster is running. Press Ctrl-C to shut it down."
|
cat <<EOF
|
||||||
echo "Logs: "
|
Local Kubernetes cluster is running. Press Ctrl-C to shut it down.
|
||||||
echo " ${APISERVER_LOG}"
|
|
||||||
echo " ${CTLRMGR_LOG}"
|
Logs:
|
||||||
echo " ${KUBELET_LOG}"
|
${APISERVER_LOG}
|
||||||
echo " ${PROXY_LOG}"
|
${CTLRMGR_LOG}
|
||||||
echo " ${SCHEDULER_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()
|
cleanup()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user