知识卡片

普通读书笔记卡 · 3243.b

网格路由与目标策略分离

理解等级:中级

服务网格路由规则决定请求去哪里;目标服务策略决定选中服务后的负载均衡、连接池和异常实例剔除。将二者分开配置,有助于区分版本流量分配与目标健康治理。具体资源名称和语法取决于网格实现与版本。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      A VirtualService defines a set of traffic routing rules to apply when a host is addressed—e.g., http://sessions. A DestinationRule defines policies that apply to traffic intended for a service after routing has occurred. These rules specify configuration for load balancing, connection pool size from the sidecar, and outlier detection settings to detect and evict unhealthy hosts from the load balancing pool.

    参考来源

    - 位置:《Mastering API Architecture》第4章《Service Mesh: Service-to-Service Traffic Management》之《Routing with Istio》(源文件:_epub-src/OEBPS/ch04.xhtml) - 结论依据:原文以 Istio VirtualService 定义路由、DestinationRule 定义目标服务路由后的策略,并列出负载均衡和异常检测。 - 原始内容:A VirtualService defines a set of traffic routing rules to apply when a host is addressed—e.g., http://sessions . A DestinationRule defines policies that apply to traffic intended for a service after routing has occurred. These rules specify configuration for load balancing, connection pool size from the sidecar, and outlier detection settings to detect and evict unhealthy hosts from the load balancing pool.