Merge pull request #21936 from Yiyiyimu/patch-2
[zh] Update install-minikube, add alibaba image
This commit is contained in:
@@ -402,8 +402,14 @@ For setting the `--vm-driver` with `minikube start`, enter the name of the hyper
|
|||||||
[指定 VM 驱动程序](/docs/setup/learning-environment/minikube/#specifying-the-vm-driver) 列举了 `--vm-driver` 值的完整列表。
|
[指定 VM 驱动程序](/docs/setup/learning-environment/minikube/#specifying-the-vm-driver) 列举了 `--vm-driver` 值的完整列表。
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
|
由于国内无法直接连接 k8s.gcr.io,推荐使用阿里云镜像仓库,在 `minikube start` 中添加 `--image-repository` 参数。
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
minikube start --vm-driver=<driver_name>
|
minikube start --vm-driver=<driver_name>
|
||||||
|
# Or when you need
|
||||||
|
minikube start --vm-driver=<driver_name> --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@@ -481,4 +487,3 @@ minikube delete
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
* [使用 Minikube 在本地运行 Kubernetes](/docs/setup/learning-environment/minikube/)
|
* [使用 Minikube 在本地运行 Kubernetes](/docs/setup/learning-environment/minikube/)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user