kubectlコマンドを使用してエラーを報告する
611 ワード
The connection to the server localhost:8080 was refused - did you specify the right host or port? (1)マスターノードで実行
そしてプロンプトに従ってyes(2)を入力してノードから実行する
scp -r /etc/kubernetes/admin.conf 10.170.39.10:/etc/kubernetes/admin.conf
そしてプロンプトに従ってyes(2)を入力してノードから実行する
echo export KUBECONFIG=/etc/kubernetes/admin.conf >> ~/.bash_profile
source ~/.bash_profile