Unable to build Kubernetes code on GCP VM

5/20/2020

I am trying to build Kubernetes code for the first time, just to play with it, and out of curiosity, but it is getting stuck at a point. I have created a free trial GCP account. I am trying to remain in the free trial so created a g1-small (1 vCPU, 1.7 GB memory) VM with CentOS 8 and 30 GB storage. In order to try and give it a bit of more memory swap space, I also created a 4 GB swap space from disk. Next I have been following the intructions from https://www.youtube.com/watch?v=Q91iZywBzew and http://ianchak.com/buildingk8s/3_BUILD_AND_PR.md.

I was able to get all the steps(i hope) working till before the "## Build Kubernetes" section, but when i finally run the "time make quick-release" step, it begins and then sort of gets stuck/remains at the "cluster/gce/gci/mounter" line. Here is the screenshot of where the build remains(i tried waiting for a few hours):

enter image description here

If I press ctrl+break to try and stop the execution, it shows the message :

enter image description here

-- Saurabh Kumar
google-cloud-platform
kubernetes

1 Answer

5/22/2020

As suggested by @acid_fuji, I changed the VM machine type to n1-standard-8. Build completed in 9 mins and 46 seconds!

-- Saurabh Kumar
Source: StackOverflow