first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#### 原生service方案
负载均衡,缺乏熔断、限流、灰度
#### service meshistio
pod中运行一个从container叫做istio-proxy
a、从其他container发送的流量会被pod中的iptables拦截给istio-proxy进程
b、istio进程解析http的请求获取Header的host字段
c、istio-proxy了解到host应该转发给那些pod直接把流量转发给随机目标pod
#### 原生service方案
源pod -> service(ip) -> 目标pod
#### service meshistio
源pod -> 解析service ip -> iptables redirect流量拦截 -> istio proxy -> pod
#### istio怎么到pod中
1、修改deployment yaml把istio-proxy container、init container配置进去
通过istio-injector命令行修改yaml
2、istio通过webhook自动修改yaml