error uploading crisocket: timed out waiting for the conditionswapoff -a # will turn off the swap


緣由:用騰訊雲服務器作爲kubernets的master初始化後會得到內網IP,我這裏將騰訊雲服務器作爲邊緣節點解決問題。

但是還是出現超時的問題。

解決方案:

swapoff -a    # will turn off the swap 
kubeadm reset
systemctl daemon-reload
systemctl restart kubelet
iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X  # will reset iptables

最後連接成功!

 

參考:https://stackoverflow.com/questions/53525975/kubernetes-error-uploading-crisocket-timed-out-waiting-for-the-condition

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章