Kubernetes - The connection to the server 10.0.2.15:6443 was refused - did you specify the right host or port?

时间:2020-09-23 21:01:20   收藏:0   阅读:799

scnzzh@ZUBT1:~$ kubectl get nodes
The connection to the server 10.0.2.15:6443 was refused - did you specify the right host or port?

 

How to fix:

  1. sudo swapoff -a
  2. exit
  3. strace -eopenat kubectl version

原文:https://www.cnblogs.com/zhangzhihui/p/13720248.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!