下载地址: http://pwittrock.github.io/docs/tasks/tools/install-kubectl/#install-with-chocolatey-on-windows
$HOME/.kube/config windows
如下,,只需要将$HOME/.kube/config
拷贝到windows当前用户.kube
路径下稍加修改。.kube
是自动生成的,没有自己创建kubectl.exe config get-contexts
ctrl + shift + p 然后输入kubernetes 找到kubenetes: set kubeconfig
Add new kubeconfig
编辑config 文件
刷新下图所示圆圈即可加载远程k8s集群资源