mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Validate etcd only when expecting to run etcd
This commit is contained in:
@@ -806,7 +806,9 @@ fi
|
|||||||
}
|
}
|
||||||
|
|
||||||
# validate that etcd is: not running, in path, and has minimum required version.
|
# 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
|
if [ "${CONTAINER_RUNTIME}" == "docker" ] && ! kube::util::ensure_docker_daemon_connectivity; then
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user