我正在构建一个registry.service.上有3个节点的Deis集群,这是建议使用Vagrant的,但是当我执行时:make run会在CoreOS上发生一些错误经过一段时间的检查,我发现所有依赖于etcd的映像都有相同的问题,所有映像都会失败或仍在等待bin/boot脚本的执行。产出:
waiting for etcd at :4001...
waiting for etcd at :4001...
waiting for etcd at :4001...
waiting for etcd at :4001...
waiting for etcd at :4001...
waiting
我试图使用AWS中的3个实例运行etcd,但是当我试图列出成员时,我会得到下面的错误:
[ec2-user@etcd1 ~]$ etcdctl member list
{"level":"warn","ts":"2021-10-19T04:50:01.981Z","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoke
我有一个单节点kubernetes集群在运行。一切正常,但是当我运行"kubectl get cs“(kubectl get componentstatus)时,它显示了etcd的两个实例。我只运行了一个etcd实例。
[root@master01 vagrant]# kubectl get cs NAME STATUS MESSAGE ERROR controller-manager Healthy ok scheduler Healthy ok etcd-0
我在努力学习凯尔西·海塔的“艰难之路”教程。我已经退出了脚本,因为我试图在本地服务器上引导k8s。
但是,当我创建服务时,我得到了一个错误:
Failed to start etcd.service: Unit is not loaded properly: Bad message.
See system logs and 'systemctl status etcd.service' for details.
查看日志,我得到:
Jun 21 20:16:49 controller-0 systemd[1]: [/etc/systemd/system/etcd.service
我尝试将蚀刻作为一个运行在带有波德曼的容器中的systemd服务来启动。
启动后,我从systemd获得这个错误日志:
systemd[1]: etcd.service: Got notification message from PID 4696, but reception only permitted for main PID 4868
但是etcd似乎能够开始尝试通知容器守护进程:
21T15:31:08.817Z","caller":"etcdserver/server.go:2500","msg":"cluster v
root@campaigns:/var/lib/dpkg/info# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space wi
我发现我们中的一些人在块链项目上工作- hyperledger/fabric与本地机器中**go mod**(GO111MODULE='on')中的命令**make**有类似的错误:
build command-line-arguments: cannot load go.etcd.io/etcd/etcdserver/api/snap: module go.etcd.io/etcd@latest found (v3.3.18+incompatible), but does not contain package go.etcd.io/etcd/etcdserver/api/s
我正在遵循Coreos指南,在现有的etcd集群中启用HTTPS。
我有两个问题:
1)在使用以下命令将对等URL重新配置为HTTPS之后,如文档中所述:
etcdctl member list | awk -F'[: =]' '{print "etcdctl member update "$1" https:"$7":"$8}'
输出与文档相同,但运行后的输出是什么:
etcdctl member list
我应该看到peerUrls被更新为HTTPs?
2)我继续配置文档并更改etcd客户端URL。完成此操作后
我正在尝试启动etcd服务,并且我有一个由systemd文件引用的环境变量文件。
第一次正常工作时,下次我尝试停止服务并执行相同的步骤时,它不会读取environmentFile并更新值。
这是我的/etc/etcd.conf,我把环境变量放在这里
INTERNAL_IP=$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
cat << EOF > /etc/etcd.conf
#SELF_IP is the IP of the node where this file r