From bd56c1e7c33f4c6971f15d992e34f5c2fbbb069e Mon Sep 17 00:00:00 2001 From: zeming wang Date: Mon, 15 Jan 2018 18:32:28 +0800 Subject: [PATCH 1/2] minikube detail update --- develop/minikube.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/develop/minikube.md b/develop/minikube.md index bacdf3d8e..84e57b705 100644 --- a/develop/minikube.md +++ b/develop/minikube.md @@ -24,14 +24,25 @@ chmod +x /usr/local/bin/minikube 参考[Install and Set Up kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/),直接使用二进制文件安装即可。 + + ```bash curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/darwin/amd64/kubectl +或者: +先访问https://storage.googleapis.com/kubernetes-release/release/stable.txt +得到返回值,假设为:v1.9.1,然后拼接网址,直接在浏览器访问: +https://storage.googleapis.com/kubernetes-release/release/v1.9.1/bin/darwin/amd64/kubectl +直接下载kubectl文件 ``` +若第一种方式访问多次超时,可以使用上述的第二种方式访问。 + ## 启动Minikube +假设使用xhyve-driver虚拟技术,则需要在minikube start加入参数 `--vm-driver=xhyve` + ```bash -minikube start +minikube start --vm-driver=xhyve Starting local Kubernetes v1.7.5 cluster... Starting VM... Downloading Minikube ISO From ca954072b326284a9d4638e3295011426fe48654 Mon Sep 17 00:00:00 2001 From: zeming wang Date: Mon, 15 Jan 2018 18:38:08 +0800 Subject: [PATCH 2/2] minikube something fix --- develop/minikube.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/develop/minikube.md b/develop/minikube.md index 84e57b705..7ee2a4913 100644 --- a/develop/minikube.md +++ b/develop/minikube.md @@ -24,22 +24,20 @@ chmod +x /usr/local/bin/minikube 参考[Install and Set Up kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/),直接使用二进制文件安装即可。 - - ```bash curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/darwin/amd64/kubectl 或者: 先访问https://storage.googleapis.com/kubernetes-release/release/stable.txt 得到返回值,假设为:v1.9.1,然后拼接网址,直接在浏览器访问: https://storage.googleapis.com/kubernetes-release/release/v1.9.1/bin/darwin/amd64/kubectl -直接下载kubectl文件 +直接下载kubectl文件。 ``` 若第一种方式访问多次超时,可以使用上述的第二种方式访问。 ## 启动Minikube -假设使用xhyve-driver虚拟技术,则需要在minikube start加入参数 `--vm-driver=xhyve` +假设使用xhyve-driver虚拟技术,则需要在minikube start加入参数 `--vm-driver=xhyve`。 ```bash minikube start --vm-driver=xhyve