Skip to content

Commit c13f2d4

Browse files
committed
Change node name to env value of HOSTNAME_OVERRIDE
1 parent 99d40d3 commit c13f2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/local-up-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ function start_cloud_controller_manager {
679679
function wait_node_ready(){
680680
# check the nodes information after kubelet daemon start
681681
local nodes_stats="${KUBECTL} --kubeconfig '${CERT_DIR}/admin.kubeconfig' get nodes"
682-
local node_name=$KUBELET_HOST
682+
local node_name=$HOSTNAME_OVERRIDE
683683
local system_node_wait_time=30
684684
local interval_time=2
685685
kube::util::wait_for_success "$system_node_wait_time" "$interval_time" "$nodes_stats | grep $node_name"

0 commit comments

Comments
 (0)