【问题标题】:Bootkube API server unable to startBootkube API 服务器无法启动
【发布时间】:2017-10-28 18:05:48
【问题描述】:

我正在关注 self-hosted Kubernetes 的 CoreOS 教程,但我在使用 Bootkube API 服务器时遇到了一些问题。使用 recommended repository 中的 Bootkube 示例,我只更改了节点 1,2 和 3 中的 ssh_authorized_keys 元数据字段。所有其他设置与存储库中的相同。但是,在node1 上通过systemctl 运行bootkube-start 后,我使用ssh core@node1.example.com '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。有谁知道调试此类问题的最佳方法?

【问题讨论】:

    标签: kubernetes coreos coreos-ignition


    【解决方案1】:

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

    您应该能够ssh core@node1.example.com,然后通过sudo journalctl -u bootkube 获取完整的bootkube 日志。

    【讨论】:

      猜你喜欢
      • 2019-08-29
      • 1970-01-01
      • 2017-10-13
      • 2019-03-28
      • 2019-07-20
      • 2023-04-05
      • 2011-08-05
      • 1970-01-01
      • 2013-12-08
      相关资源
      最近更新 更多