Bookinfo+OAM架构图
2021-03-08 11:06:00 2 举报
OAM描述istio bookinfo
作者其他创作
大纲/内容
productpage-(DestinationRule)
工作负载:
reviews-v1(Deployment)
reviews(Virtualservice)
应用视角:
reviews(DestinationRule)
bookinfo-(Virtualservice)
rating(webserver)
Gateway(istio crd)
webservice = deployment
服务视角:
productpage(Service)
DestinationRule.spec.host
bookinfo(Gateway)
Service
details(Deployment)
rating(Virtualservice)
reviews-v3(Deployment)
reviews-v2(webservice)
reviews(Service)
productpage(webserver)
运维特征:
服务(service) = 1 * 工作负载(workload)+ 运维特征(traits)* N【N >= 0】
details(Service)
bookinfo = productpage + reviews + details + rating
reviews-v1(webserver)
Ingress、Hpa、VirtualService、DestinationRule、PromethusRuleServiceMonitor、Canary
k8s资源视角:
DestinationRule.spec.subsets.labels
rating(Service)
reviews-v2(Deployment)
reviews-v3(webservice)
Deployment
rating(Deployment)
webserver = deployment + service
productpage(Virtualservice)
代码(pod)里写死的服务地址
VirtualService(Istio crd)
DestinationRule(Istio crd)
details(webserver)
rating(DestinationRule)
VirtualService.spec.http.route.destination
productpage(Deployment)
0 条评论
下一页