Skip to content

Commit b63f039

Browse files
committed
updte
1 parent e774566 commit b63f039

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README-cn.md

+7
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ vagrant box add CentOS-7-x86_64-Vagrant-1801_02.VirtualBox.box --name centos/7
8888

8989
`conf/admin.kubeconfig`文件放到`~/.kube/config`目录下即可在本地使用`kubectl`命令操作集群。
9090

91+
```bash
92+
mkdir -p ~/.kube
93+
cp conf/admin.kubeconfig ~/.kube/config
94+
```
95+
96+
我们推荐您使用这种方式。
97+
9198
**在虚拟机内部访问**
9299

93100
如果有任何问题可以登录到虚拟机内部调试:

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ There are 3 ways to access the kubernetes cluster.
8888

8989
Copy `conf/admin.kubeconfig` to `~/.kube/config`, using `kubectl` CLI to access the cluster.
9090

91+
```bash
92+
mkdir -p ~/.kube
93+
cp conf/admin.kubeconfig ~/.kube/config
94+
```
95+
9196
We recommend this way.
9297

9398
**VM**

0 commit comments

Comments
 (0)