Mac Kubernetes 報 The connection to the server localhost:6443 was refused

原文:https://github.com/kubernetes/kubernetes/issues/23726

 

Deleted the old config from ~/.kube and then restarted docker (for macos) and it rebuilt the config folder.

All good now when I do 'kubectl get nodes'.

 

1. rm -rf ~/.kube

2. 重啓 docker 和 k8s

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章