kubectl get 報錯:Unable to connect to the server: dial tcp 10.20.2.224:6443: connect: no route to host

具體輸出以下: 場景:高可用集羣兩個 master 節點,當我執行:kubectl get nodes,出現以下錯誤: Unable to connect to the server: dial tcp 10.20.2.224:6443: connect: no route to host 緣由加入第二個 Master 節點時比較急,並無執行:node $ mkdir -p $HOME/.kube
相關文章
相關標籤/搜索