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
https://github.com/golang-standards/project-layout
https://www.jianshu.com/p/4726b9ac5fb1
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