From d1cc270f139326d51d5c746df85da3f384f144c6 Mon Sep 17 00:00:00 2001 From: Ryan Phillips Date: Fri, 6 Dec 2024 09:13:34 -0600 Subject: [PATCH] local-up-cluster: only wait for coredns if enabled --- hack/local-up-cluster.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 2bcc6f1e76e..f30bb723d3d 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -1430,7 +1430,9 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then ;; Linux) start_kubeproxy - wait_coredns_available + if [[ "${ENABLE_CLUSTER_DNS}" = true ]]; then + wait_coredns_available + fi ;; *) print_color "Unsupported host OS. Must be Linux or Mac OS X, kube-proxy aborted."