英文:
kubectl with Docker Desktop - how to connect
问题
我之前在Docker Desktop中使用kubectl - 一切都正常。
我想我是通过命令行登录到Openshift,kubectl似乎指向了OC集群。
然后我登出了Openshift,现在kubectl似乎没有指向任何东西?我怎样才能让它再次指向Docker Desktop?
英文:
I was using kubectl with Docker Desktop - everything was fine
I think logged into Openshift via the Command line and kubectl seemed to point to OC cluster
I then logged out of Openshift and now kubectl doesn't seem to point at anything? How do I get to point it at docker desktop again?
答案1
得分: 1
sorted - kubectl config use-context docker-desktop
英文:
sorted - kubectl config use-context docker-desktop
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论