原文:the connection to the server 6443 was refused - did you specify the right host or port? 問題的解決方法

問題產生 k s 虛擬機重啟之后,使用 kubectl get nodes 命令報出如下錯誤: 解決方法: . 編輯 etc profile vim etc profile . 在里面添加: export KUBECONFIG etc kubernetes admin.conf . 使生效 source etc profile . 關機重啟一下 ...

2021-09-18 08:59 0 198 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM