Unverified Commit db902932 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #57101 from php-coder/local_up_cluster_daemon_msgs

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. local-up-cluster.sh: improve messages when running with ENABLE_DAEMON=true **What this PR does / why we need it**: Don't suggest to use `Ctrl+C` or open up another terminal when the script was running with `ENABLE_DAEMON=true`. **Release note**: ```release-note NONE ``` CC @simo5
parents 2d66fe69 9d34fee5
...@@ -840,8 +840,12 @@ function create_storage_class { ...@@ -840,8 +840,12 @@ function create_storage_class {
function print_success { function print_success {
if [[ "${START_MODE}" != "kubeletonly" ]]; then if [[ "${START_MODE}" != "kubeletonly" ]]; then
if [[ "${ENABLE_DAEMON}" = false ]]; then
echo "Local Kubernetes cluster is running. Press Ctrl-C to shut it down."
else
echo "Local Kubernetes cluster is running."
fi
cat <<EOF cat <<EOF
Local Kubernetes cluster is running. Press Ctrl-C to shut it down.
Logs: Logs:
${APISERVER_LOG:-} ${APISERVER_LOG:-}
...@@ -865,8 +869,12 @@ fi ...@@ -865,8 +869,12 @@ fi
if [[ "${START_MODE}" != "kubeletonly" ]]; then if [[ "${START_MODE}" != "kubeletonly" ]]; then
echo echo
if [[ "${ENABLE_DAEMON}" = false ]]; then
echo "To start using your cluster, you can open up another terminal/tab and run:"
else
echo "To start using your cluster, run:"
fi
cat <<EOF cat <<EOF
To start using your cluster, you can open up another terminal/tab and run:
export KUBECONFIG=${CERT_DIR}/admin.kubeconfig export KUBECONFIG=${CERT_DIR}/admin.kubeconfig
cluster/kubectl.sh cluster/kubectl.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment