From f13d49340288e221e2114cbd0cc7aa0903e874cf Mon Sep 17 00:00:00 2001 From: Bruce Wang Date: Tue, 17 Sep 2019 13:11:18 +0800 Subject: [PATCH 1/5] tutorial added --- TUTORIAL.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 TUTORIAL.md diff --git a/TUTORIAL.md b/TUTORIAL.md new file mode 100644 index 000000000000..09fb709513af --- /dev/null +++ b/TUTORIAL.md @@ -0,0 +1,12 @@ +# 教程 +请根据阿里巴巴易立工程师的[教程](https://yq.aliyun.com/articles/221687)操作,直到minikube start部分。 + +如果你需要gcr.io的镜像资源,那么你就来对了地方了。首先,阿里云的minikube不提供gcr.io的镜像。你需要一个http的代理。 + +运行: + +```bash +minikube start --docker-env HTTP_PROXY=http://ip:port --docker-env HTTPS_PROXY=http://port:ip --docker-env no_proxy=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24 +``` + +我们可以继续[hello-minikube](https://kubernetes.io/docs/tutorials/hello-minikube/)的教程了。 From d18964690c185755c25c81d521e89b339a93118d Mon Sep 17 00:00:00 2001 From: Bruce Wang Date: Tue, 17 Sep 2019 13:16:11 +0800 Subject: [PATCH 2/5] added tutorial link to README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3057bfa60d77..ab83ae2c9e5a 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ minikube logo +准备教程:[TUTORIAL.md](./TUTORIAL.md) + minikube implements a local Kubernetes cluster on macOS, Linux, and Windows. minikube's [primary goals](https://minikube.sigs.k8s.io/docs/concepts/principles/) are to be the best tool for local Kubernetes application development and to support all Kubernetes features that fit. screenshot From eadc4a1128a615ad21181ddb4ca9d8715e2e6517 Mon Sep 17 00:00:00 2001 From: Bruce Wang Date: Tue, 17 Sep 2019 14:22:23 +0800 Subject: [PATCH 3/5] Update TUTORIAL.md --- TUTORIAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 09fb709513af..edc61f3fee05 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -6,7 +6,7 @@ 运行: ```bash -minikube start --docker-env HTTP_PROXY=http://ip:port --docker-env HTTPS_PROXY=http://port:ip --docker-env no_proxy=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24 +minikube start --docker-env HTTP_PROXY= --docker-env HTTPS_PROXY= --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' --iso-url='https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.3.0.iso' --registry-mirror=https://t0pp2aci.mirror.aliyuncs.com ``` 我们可以继续[hello-minikube](https://kubernetes.io/docs/tutorials/hello-minikube/)的教程了。 From b7ce44d7a3aad224d51a43937b2ea07cd5d4bee3 Mon Sep 17 00:00:00 2001 From: Bruce Wang Date: Tue, 17 Sep 2019 14:23:03 +0800 Subject: [PATCH 4/5] Update TUTORIAL.md --- TUTORIAL.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index edc61f3fee05..7bd29836d8b8 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -1,8 +1,6 @@ # 教程 请根据阿里巴巴易立工程师的[教程](https://yq.aliyun.com/articles/221687)操作,直到minikube start部分。 -如果你需要gcr.io的镜像资源,那么你就来对了地方了。首先,阿里云的minikube不提供gcr.io的镜像。你需要一个http的代理。 - 运行: ```bash From c4c658355d0800d3816a74539e8161e9eb7664da Mon Sep 17 00:00:00 2001 From: Bruce Wang Date: Tue, 17 Sep 2019 14:28:03 +0800 Subject: [PATCH 5/5] Update TUTORIAL.md --- TUTORIAL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 7bd29836d8b8..00d95b1069c9 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -1,10 +1,11 @@ # 教程 请根据阿里巴巴易立工程师的[教程](https://yq.aliyun.com/articles/221687)操作,直到minikube start部分。 +根据这个[教程](https://yq.aliyun.com/articles/29941)申请一个阿里云镜像加速地址。比如说是https://t1ch2dci.mirror.aliyuncs.com 运行: ```bash -minikube start --docker-env HTTP_PROXY= --docker-env HTTPS_PROXY= --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' --iso-url='https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.3.0.iso' --registry-mirror=https://t0pp2aci.mirror.aliyuncs.com +minikube start --docker-env HTTP_PROXY= --docker-env HTTPS_PROXY= --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' --iso-url='https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.3.0.iso' --registry-mirror=ttps://t1ch2dci.mirror.aliyuncs.com ``` 我们可以继续[hello-minikube](https://kubernetes.io/docs/tutorials/hello-minikube/)的教程了。