From 0dc99ef80feca251fb11e6d7ea3d5a9d9740500a Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Mon, 24 Apr 2017 12:28:19 -0400 Subject: [PATCH] Validate etcd only when expecting to run etcd --- 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 7ad21a1cd55..c200bf88e06 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -806,7 +806,9 @@ fi } # validate that etcd is: not running, in path, and has minimum required version. -kube::etcd::validate +if [[ "${START_MODE}" != "kubeletonly" ]]; then + kube::etcd::validate +fi if [ "${CONTAINER_RUNTIME}" == "docker" ] && ! kube::util::ensure_docker_daemon_connectivity; then exit 1