首页 > 其他 > 详细

Istio

时间:2021-03-06 10:34:32      阅读:19      评论:0      收藏:0      [点我收藏+]

What is Istio

Istio is a implementation of service mesh. It design to provide L

a) traffic route option between services

b) monitor the traffics go through different serivce  for different metrics e.g http return code . request per sec ; latency etc

c) act as load balancer to route traffic to backend pod with configured ratio ;

d) support TLS between services in same clusder 

e) visuliase the connection , tracing the request between the services (Kiali; tracing; jaeger)

Implementation 

It not need change application yaml file, it will create new namespace called istio, and run a envoy sidecar container in the everypd .

 

Setup 

The applications in a namespace need to be labled.

kubectl lable namespace <namespace> istio-injection=enabled 

The pods need restart after that. 

To install addon , apply the yaml in  istio-1.9.1/samples/addons; 

Promethuse etc will be created as new pod in namespace of istio. 

The only requirment in app yaml is add a lable named with app

 

Vitural Serice 

Implement retry, traffic split,  carnary deployment etc. 

https://istio.io/latest/docs/reference/config/networking/virtual-service/

Istio

原文:https://www.cnblogs.com/anyu686/p/14489328.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!