解决 kubectl 命令执行异常 The connection to the server was refused
解决 kubectl 命令执行异常 The connection to the server was refused问题描述kubectl get node异常信息The connection to the server 192.168.100.10:6443 was refused - did you specify the right host or port?分析原因证书已经设置允许了,因为开启了RBAC,所以可能是权限被拦截了解决方法证书生成参考 kubernetes 自签