Merge pull request #129107 from rphillips/wait_for_coredns

local-up-cluster: only wait for coredns if enabled
This commit is contained in:
Kubernetes Prow Robot 2024-12-12 06:40:39 +00:00 committed by GitHub
commit 410dd2969c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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."