Preface#
Attention
This is a work-in-progress book, and it’s only at the draft stage. The title of the book is “Istio & Envoy Insider”, and the Chinese name is “Istio & Envoy 内幕”.
This English version is under translation from the Chinese version. So, you may see there are some Chinese parts here.
There is Chinese(中文版本) version too: https://istio-insider.mygraphql.com/zh_CN/latest/
Book overview#
What this book is not#
This book is not a manual. Not from the user’s point of view, teaching how to learn Istio in simple terms. It won’t preach how powerful Istio is, let alone teach how to use Istio. There are already too many excellent books, articles, and documents on the Internet.
🤷 : Yet, another Istio User Guide?
🙅 : No!
What is this book#
In this book, I try to think systematically as much as possible from the perspective of design and implementation:
Why is Istio the way it is?
The truth behind those magic configs: Linux + Envoy
How traffic is intercepted to Envoy using Linux’s netfilter technology
How istiod programmed Envoy to implement
service mesh
traffic policy
What Istio might look like in the future
What the book says is just my thinking and recording after researching and using Istio for a period of time. I just checked some Istio/Envoy related functions and performance issues, browsed and debugged some Istio/Envoy codes.
In the process of researching Istio. There is a lot of valuable information on the Internet. However, either it is mainly based on the user, and the implementation mechanism is not mentioned; or the mechanism is said, and it is well said, but the content is less systematic and coherent.
Reader#
This book mainly talks about the design and implementation mechanism of Istio/Envoy. It is assumed that the reader already has some experience with Istio. and are interested in further research on its realization mechanism
Book access address#
Involved in the preparation#
If you are also interested in writing this book, please contact me. The starting point of this book is not to brush a resume, nor does it have this ability. Moreover, such non-short and fast
and TL;DR
books are destined to be a niche product.
Dedication 💞#
First, to my dear parents, for showing me how to live a happy and productive life. To my dear wife and our amazing kid – thanks for all your love and patience.
Copyleft Statement#
Whether it is text or pictures, if reproduced or modified, please indicate the original source.
Feedback#
Since it claims to be an interactive book, reader feedback is of course very important. If you find an error in the book, or have a better suggestion, feel free to file an Issue here: labilezhu/istio-insider#issues
Table of contents#
directory
- INTERACTIVE BOOK READING
- Istio 组件架构
- Envoy Proxy
- Control Panel(未开始)
- Istio 如何编程 Envoy(未开始)
- Troubleshooting
- TCP Proxy half-closed connection leak for 1 hour in some scenarios
- App outbound connecting timed out because App selected a ephemeral port which collisions with the existing socket on 15001(outbound) listener
- Remote debugging an Envoy sidecar running in an Istio mesh by lldb at C++ source code level