2017-05-28 38 views
1

我正在关注CoreOS教程self-hosted Kubernetes,我在Bootkube API服务器上遇到了一些问题。使用recommended repository中的Bootkube示例,我只更改了节点1,2和3中的ssh_authorized_keys元数据字段。所有其他设置与存储库中的相同。但是,运行bootkube-start后通过systemctlnode1我检查日志使用ssh [email protected] 'journalctl -f -u bootkube',我得到Unable to determine api-server readiness: Get https://node1.example.com:443/version: dial tcp 172.17.0.21:443: getsockopt: connection refused。有谁知道调试这种问题的最佳方法吗?Bootkube API服务器无法启动

回答

0

看起来api-server在启动时遇到问题,或者您有一些网络/防火墙/ dns问题。

您应该可以登录ssh [email protected],然后通过sudo journalctl -u bootkube获取完整的bootkube日志。