How to compile kubernetes source code

Kubernetes source code is located in

The code structure looks very complex, but actually there are traces to follow. It conforms to the code specification of golang language. For these two specifications, please refer to

Cloc results are as follows

Then let’s try to build

Then you can get_ output

In addition, there is another way to quickly get the docker image of each component of kubernetes

make quick-release

The compilation results are almost the same, but this will generate images

Send a Message