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

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

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

上一篇:实验 4:Open vSwitch 实验——Mininet 中使用 OVS 命令


下一篇:PHP事务是什么?