Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit a49f075

Browse files
authored
Merge pull request #840 from colemickens/script-kubeconfig-to-use
hack: rearrange log messages, use correct kubeconfig
2 parents 4b604a2 + d80404b commit a49f075

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

hack/quickstart/init-node.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ if [ "${REMOTE_HOST}" != "local" ]; then
5959
ssh -i ${IDENT} -p ${REMOTE_PORT} ${SSH_OPTS} ${REMOTE_USER}@${REMOTE_HOST} "rm /home/${REMOTE_USER}/{init-node.sh,kubeconfig}"
6060

6161
echo
62-
echo "Node bootstrap complete. It may take a few minutes for the node to become ready. Access your kubernetes cluster using:"
63-
echo "kubectl --kubeconfig=${KUBECONFIG} get nodes"
64-
echo
62+
echo "Node (${REMOTE_HOST}) bootstrap complete. It may take a few minutes for the node to become ready."
6563

6664
# Execute this script locally on the machine, assumes a kubelet.service file has already been placed on host.
6765
elif [ "$1" == "local" ]; then

hack/terraform-quickstart/start-cluster.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ for IP in $MASTER_IPS
3131
do
3232
TAG_MASTER=true ./init-node.sh $IP cluster/auth/kubeconfig-kubelet
3333
done
34+
35+
echo "Cluster bootstrap is complete. Access your kubernetes cluster using:"
36+
echo "kubectl --kubeconfig=cluster/auth/kubeconfig get nodes"

0 commit comments

Comments
 (0)