mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
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
This commit is contained in:
commit
db9029324f
@ -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
|
|||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user