我對此有點困惑,因爲它工作了幾天沒有問題。kubeadm加入失敗。無法請求籤署的證書
我用來將節點加入到我的羣集中,但沒有問題。我會在主節點上運行如下:
kubeadm init .....
之後,它會產生一個連接命令和令牌發放到我要加入其他節點。這樣的事情:
kubeadm join --token 99385f.7b6e7e515416a041 192.168.122.100
我會在節點上運行這個,他們會加入沒有問題。第二天早上,突然停止工作。這是我所看到的,當我現在運行命令:
[kubeadm] WARNING: kubeadm is in alpha, please do not use it for
production clusters.
[preflight] Running pre-flight checks
[tokens] Validating provided token
[discovery] Created cluster info discovery client, requesting info from "http://192.168.122.100:9898/cluster-info/v1/?token-id=99385f"
[discovery] Cluster info object received, verifying signature using given token
[discovery] Cluster info signature and contents are valid, will use API endpoints [https://192.168.122.100:6443]
[bootstrap] Trying to connect to endpoint https://192.168.122.100:6443
[bootstrap] Detected server version: v1.6.0-rc.1
[bootstrap] Successfully established connection with endpoint "https://192.168.122.100:6443"
[csr] Created API client to obtain unique certificate for this node, generating keys and certificate signing request
failed to request signed certificate from the API server [cannot create certificate signing request: the server could not find the requested resource]
好像我試圖加入併成功連接到主節點上的API服務器的節點,但由於某些原因,它現在失敗申請證書。
有什麼想法?
在哪個節點,主人或工人? 對我來說,它沒有工作。 – SGG
主節點。正如我在編輯中指出的,這似乎只能工作一次。 –