mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +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 {
|
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:-}
|
||||||
@ -858,8 +862,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