kubectl get node报Unable to connect to the server: x509: certificate signed by unknown authority。。。
程序员文章站
2022-05-01 09:38:35
...
报错信息如图所示
执行如下命令即可
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
显示结果如下