Skip to content

Commit 4887b0c

Browse files
authored
Merge pull request kubernetes#84008 from notpad/fix_83985
Change node name to env value of HOSTNAME_OVERRIDE
2 parents 4b58ef0 + c13f2d4 commit 4887b0c

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)