mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
local-up-cluster: only wait for coredns if enabled
This commit is contained in:
parent
a27498ef42
commit
d1cc270f13
@ -1430,7 +1430,9 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
|
|||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
start_kubeproxy
|
start_kubeproxy
|
||||||
|
if [[ "${ENABLE_CLUSTER_DNS}" = true ]]; then
|
||||||
wait_coredns_available
|
wait_coredns_available
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
print_color "Unsupported host OS. Must be Linux or Mac OS X, kube-proxy aborted."
|
print_color "Unsupported host OS. Must be Linux or Mac OS X, kube-proxy aborted."
|
||||||
|
Loading…
Reference in New Issue
Block a user