mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
hack/local-up-cluster.sh: improve messages when script was running with ENABLE_DAEMON=true
This commit is contained in:
parent
51fbd6e637
commit
9d34fee57c
@ -833,8 +833,12 @@ function create_storage_class {
|
||||
|
||||
function print_success {
|
||||
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
|
||||
Local Kubernetes cluster is running. Press Ctrl-C to shut it down.
|
||||
|
||||
Logs:
|
||||
${APISERVER_LOG:-}
|
||||
@ -858,8 +862,12 @@ fi
|
||||
|
||||
if [[ "${START_MODE}" != "kubeletonly" ]]; then
|
||||
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
|
||||
To start using your cluster, you can open up another terminal/tab and run:
|
||||
|
||||
export KUBECONFIG=${CERT_DIR}/admin.kubeconfig
|
||||
cluster/kubectl.sh
|
||||
|
Loading…
Reference in New Issue
Block a user