Five months of persistence will live up to the years

Time:2022-1-20

Since the last blogMy go language learning experienceFive months have passed. To be honest, this period of time is very painful. Learning is tortuous (very difficult) and intermittent (almost giving up), but I still stick to it and benefit a lot.
Five months of persistence will live up to the years

So what’s the main thing this time? Now listen to me:

Kubernetes (k8s) learning, source code breakthrough

Five months of persistence will live up to the years
K8s has a large amount of code and is relatively complex, so it is not too much to be called the largest open source software in golang. Here is a screenshot:

Five months of persistence will live up to the years

Five months of persistence will live up to the years

Five months of persistence will live up to the years

Here, if you want to study k8s in depth, please introduce some books:
The first, needless to say, is the k8s authoritative guide, which is the shoulder of the k8s world. You must read this book:

Five months of persistence will live up to the years

The second book is “k8s source code analysis”. The analysis of k8s in this book is not comprehensive, because it only analyzes several components, but the highlight of this book is to explain to you what the basic design of k8s is like, what basic data structures and objects are used
Five months of persistence will live up to the years

Container (container, runc, libcontainer), source code breakthrough

Some people may ask why they don’t learn docker. This is because k8s will abandon docker in the future. The reason is that docker contains most functions that k8s doesn’t need. One is that docker doesn’t comply with OCI specification. As for what this specification is, please Google and pay attention not to use Baidu
Container D and runc take more time to learn than k8s, because it involves too much knowledge of Linux system:

Container source code list

Five months of persistence will live up to the years

Five months of persistence will live up to the years

Five months of persistence will live up to the years

Runc, libcontroller source code list

Five months of persistence will live up to the years

Five months of persistence will live up to the years

Experience

If your heart is not cruel enough, you will do nothing

This work adoptsCC agreement, reprint must indicate the author and the link to this article

If you don’t understand something, you can add my QQ: 1174332406 or wechat: togetherforever JS