2017-05-28 89 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日誌。