couldn't parse external etcd version "": Version string empty
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了couldn't parse external etcd version "": Version string empty相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# kubeadm init --config config [kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters. [init] Using Kubernetes version: v1.8.1 [init] Using Authorization modes: [Node RBAC] [preflight] Running pre-flight checks [preflight] Some fatal errors occurred: couldn‘t parse external etcd version "": Version string empty [preflight] If you know what you are doing, you can skip pre-flight checks with `--skip-preflight-checks`
使用kubeadm安装Kubernetes出现报错,
couldn‘t parse external etcd version "": Version string empty
意思是:无法获取ETCD的版本号。
多半是配置文件有误,或者etcd监听了127.0.0.1,别人访问不到。导致无法获取版本号号码。
etcd默认监听127.0.0.1
[[email protected] ~]# netstat -tunlp |grep etcd tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 23155/etcd tcp 0 0 127.0.0.1:2380 0.0.0.0:* LISTEN 23155/etcd [[email protected] ~]#
使用如下命令调通即可。
# curl -L http://10.140.1.40:2379/version {"etcdserver":"3.2.7","etcdcluster":"3.2.0"}
以上是关于couldn't parse external etcd version "": Version string empty的主要内容,如果未能解决你的问题,请参考以下文章
解决Warning Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get fil
quartz报错 Couldn't retrieve job because the BLOB couldn't be deserialized: null
[tomcat] couldn't get host name 解决
Couldn't resolve host 'mirrorlist.centos.org'解决办法