Skip to content

Commit 410dd29

Browse files
authored
Merge pull request kubernetes#129107 from rphillips/wait_for_coredns
local-up-cluster: only wait for coredns if enabled
2 parents d1b702b + d1cc270 commit 410dd29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/local-up-cluster.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,9 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
14301430
;;
14311431
Linux)
14321432
start_kubeproxy
1433-
wait_coredns_available
1433+
if [[ "${ENABLE_CLUSTER_DNS}" = true ]]; then
1434+
wait_coredns_available
1435+
fi
14341436
;;
14351437
*)
14361438
print_color "Unsupported host OS. Must be Linux or Mac OS X, kube-proxy aborted."

0 commit comments

Comments
 (0)