mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Validate etcd only when expecting to run etcd
This commit is contained in:
parent
becd626c8e
commit
0dc99ef80f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user