From c13f2d47483a3ba712ee820a76d9c089e3f25a4a Mon Sep 17 00:00:00 2001 From: notpad Date: Wed, 16 Oct 2019 22:39:52 +0800 Subject: [PATCH] Change node name to env value of HOSTNAME_OVERRIDE --- hack/local-up-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 17897d9c891..4a7300b3246 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -679,7 +679,7 @@ function start_cloud_controller_manager { function wait_node_ready(){ # check the nodes information after kubelet daemon start local nodes_stats="${KUBECTL} --kubeconfig '${CERT_DIR}/admin.kubeconfig' get nodes" - local node_name=$KUBELET_HOST + local node_name=$HOSTNAME_OVERRIDE local system_node_wait_time=30 local interval_time=2 kube::util::wait_for_success "$system_node_wait_time" "$interval_time" "$nodes_stats | grep $node_name"