-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法启动docker 内的 etcd-manage #30
Comments
[server.tls_config]这个配置项才是连接etcd的证书配置 |
关闭tls 之后还是不行
还是报错,如下 |
[server.tls_config] 应该是类似这样的证书,看下/etc/etcd/etcdSSL下有没有对应证书文件 |
如果还不行,可加我微信,github用户名就是微信名 |
docker 启动名命令如下
docker run -d --name etcdmanage -p 10280:10280 -v /etc/etcdmanage/cfg.toml:/app/config/cfg.toml -v /etc/kubernetes/pki/etcd/:/etc/etcd/etcdSSL/ -v /tmp/etcdmanagelog:/app/logs shiguanghuxian/etcd-manage
/etc/kubernetes/pki/etcd/ 目录是K8S 的etcd相关证书
启动后报错
[root@master1 ~]# docker logs d6bf58683228 2019/09/18 08:06:59 main.go:18: line 27: field corresponding to
server' is not defined in config.Config`
cfg.toml 的配置内容为
The text was updated successfully, but these errors were encountered: