Validate etcd only when expecting to run etcd

pull/6/head
Matthew Wong 2017-04-24 12:28:19 -04:00
parent becd626c8e
commit 0dc99ef80f
1 changed files with 3 additions and 1 deletions

View File

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