mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #44865 from wongma7/validate-etcd
Automatic merge from submit-queue (batch tested with PRs 40060, 44860, 44865, 44825, 44162) Validate etcd only when expecting to run etcd If running kubelet only, there is no need to validate etcd as the script will not attempt to start etcd. In fact, validating etcd here may cause the script to fail when one wants to run "nokubelet" right before "kubeletonly" because etcd will definitely be running ```release-note NONE ```
This commit is contained in:
commit
08deaf2b98
@ -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