原文: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

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐