Bump up MacOS RAM requirement to 8GB

As discussed in https://github.com/kubernetes/kubernetes/issues/11852#issuecomment-387868165

We need at least 8 GB RAM assigned to Docker for Mac. Otherwise
the build will likely fail.
Bumping this requirement saves time people who assigns 4.5 GB
RAM and fails.

Signed-off-by: Robin Cernin <cerninr@gmail.com>
This commit is contained in:
Robin Cernin 2020-05-29 00:20:04 +10:00
parent 56ad0cefbd
commit f41cc12d35

View File

@ -6,7 +6,7 @@ Building Kubernetes is easy if you take advantage of the containerized build env
1. Docker, using one of the following configurations:
* **macOS** You can either use Docker for Mac or docker-machine. See installation instructions [here](https://docs.docker.com/docker-for-mac/).
**Note**: You will want to set the Docker VM to have at least 4.5GB of initial memory or building will likely fail. (See: [#11852]( http://issue.k8s.io/11852)).
**Note**: You will want to set the Docker VM to have at least 8GB of initial memory or building will likely fail. (See: [#11852]( http://issue.k8s.io/11852)).
* **Linux with local Docker** Install Docker according to the [instructions](https://docs.docker.com/installation/#installation) for your OS.
* **Windows with Docker Desktop WSL2 backend** Install Docker according to the [instructions](https://docs.docker.com/docker-for-windows/wsl-tech-preview/). Be sure to store your sources in the local Linux file system, not the Windows remote mount at `/mnt/c`.
* **Remote Docker engine** Use a big machine in the cloud to build faster. This is a little trickier so look at the section later on.