mirror of https://github.com/istio/istio.io.git
60 lines
34 KiB
HTML
60 lines
34 KiB
HTML
<!doctype html><html lang=zh itemscope itemtype=https://schema.org/WebPage><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=theme-color content="#466BB0"><meta name=title content="术语表"><meta name=description content="Istio 常见的术语表。"><meta name=keywords content="microservices,services,mesh"><meta property="og:title" content="术语表"><meta property="og:type" content="website"><meta property="og:description" content="Istio 常见的术语表。"><meta property="og:url" content="/v1.0/zh/help/glossary/"><meta property="og:image" content="/v1.0/img/istio-logo-blue-background.svg"><meta property="og:image:alt" content="Istio Logo"><meta property="og:image:width" content="112"><meta property="og:image:height" content="150"><meta property="og:site_name" content="Istio"><meta name=twitter:card content="summary"><meta name=twitter:site content="@IstioMesh"><title>Istioldie 1.0 / 术语表</title><script async src="https://www.googletagmanager.com/gtag/js?id=UA-98480406-2"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
|
||
gtag('js',new Date());gtag('config','UA-98480406-2');</script><script>var branchName="release-1.0";var docTitle="术语表";</script><link rel=alternate type=application/rss+xml title="Istio Blog" href=/v1.0/feed.xml><link rel="shortcut icon" href=/v1.0/favicons/favicon.ico><link rel=apple-touch-icon href=/v1.0/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/v1.0/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/v1.0/favicons/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=/v1.0/favicons/android-36x36.png sizes=36x36><link rel=icon type=image/png href=/v1.0/favicons/android-48x48.png sizes=48x48><link rel=icon type=image/png href=/v1.0/favicons/android-72x72.png sizes=72x72><link rel=icon type=image/png href=/v1.0/favicons/android-96x196.png sizes=96x196><link rel=icon type=image/png href=/v1.0/favicons/android-144x144.png sizes=144x144><link rel=icon type=image/png href=/v1.0/favicons/android-192x192.png sizes=192x192><link rel=manifest href=/v1.0/manifest.json><meta name=apple-mobile-web-app-title content="Istio"><meta name=application-name content="Istio"><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Chivo:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic"><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Work Sans:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic"><link rel=stylesheet href=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css integrity=sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm crossorigin=anonymous><link rel=stylesheet href=https://use.fontawesome.com/releases/v5.0.6/css/all.css><link rel=stylesheet href=/v1.0/css/light_theme_archive.css title=light><link rel="alternate stylesheet" href=/v1.0/css/dark_theme_archive.css title=dark><script src=/v1.0/js/styleSwitcher.min.js></script></head><body class=language-unknown><header><nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark justify-content-between"><a class=navbar-brand href=/v1.0/zh/><span class=logo><svg viewBox="0 0 300 300"><circle cx="150" cy="150" r="150" stroke-width="2" /><polygon points="65,240 225,240 125,270"/><polygon points="65,230 125,220 125,110"/><polygon points="135,220 225,230 135,30"/></svg></span><span class=brand-name>Istioldie 1.0</span></a>
|
||
<button class=navbar-toggler type=button data-toggle=collapse data-target=#navbarCollapse aria-controls=navbarCollapse aria-expanded=false aria-label="Toggle navigation">
|
||
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse justify-content-end" id=navbarCollapse><ul id=navbar-links class="navbar-nav active"><li class=nav-item><a class=nav-link title="了解如何部署、使用和运维 Istio。" href=/v1.0/zh/docs/>文档</a></li><li class=nav-item><a class=nav-link title="关于使用 Istio 的博客文章。" href=/v1.0/zh/blog/2018/announcing-1.0/>博客</a></li><li class=nav-item><a class="nav-link active" title="一堆帮助您部署、配置和使用 Istio 的资源。" href=/v1.0/zh/help/>帮助</a></li><li class=nav-item><a class=nav-link title=关于Istio的说明。 href=/v1.0/zh/about/>关于</a></li><li class="nav-item dropdown" id=gearDropdown style=white-space:nowrap><a title=选项和设置 href class=nav-link data-toggle=dropdown aria-label=Tools aria-haspopup=true aria-expanded=false><i style=width:1em class="fa fa-lg fa-cog"></i></a><div class="dropdown-menu dropdown-menu-right" aria-labelledby=gearDropdown><a class=dropdown-item id=light-theme-item href onclick="setActiveStyleSheet('light');return false;">亮主题</a>
|
||
<a class=dropdown-item id=dark-theme-item href onclick="setActiveStyleSheet('dark');return false;">暗主题</a><div class=dropdown-divider></div><h6 class=dropdown-header>本站的其它版本</h6><a href=https://istio.io class=dropdown-item>当前版本</a>
|
||
<a href=https://preliminary.istio.io class=dropdown-item>下个版本</a>
|
||
<a href=https://archive.istio.io class=dropdown-item>旧版本</a></div></li><li class=nav-item><a id=search_show class=nav-link href title=搜索istio.io aria-label=Search><i style=width:1em class="fa fa-lg fa-search"></i></a></li></ul><form name=cse id=search_form class="form-inline mr-sm-2" role=search><input type=hidden name=cx value=013699703217164175118:iwwf17ikgf4>
|
||
<input type=hidden name=ie value=utf-8>
|
||
<input type=hidden name=hl value=en>
|
||
<input type=hidden id=search_page_url value=/v1.0/search.html>
|
||
<input id=search_textbox class=form-control name=q type=text aria-label="Search this site">
|
||
<button id=search_close type=reset aria-label="Cancel Search"><i class="far fa-lg fa-times-circle"></i></button></form></div></nav></header><div class=container-fluid><div class="row row-offcanvas"><div class="col-0 col-md-3 col-xl-2 sidebar-offcanvas"><nav class="sidebar d-print-none"><div class=spacer></div><div class=directory role=tablist><div class=card><div class=card-header role=tab><div title="一堆帮助您部署、配置和使用 Istio 的资源。"><img src=/v1.0/img/help.svg alt=Icon class=page_icon>
|
||
需要帮助吗?</div></div><div role=tabpanel aria-labelledby=header0><div class=card-body><ul class=tree><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title="关于运行 Istio 网格的提示、技巧和窍门。" href=/v1.0/zh/help/ops/>运维指南</a></label><ul class="tree collapse"><li><a title=描述如何使用组件日志来深入了解运行组件的行为。 href=/v1.0/zh/help/ops/component-logging/>组件日志</a></li><li><a title="描述如何使用 ControlZ 检测查看单个组件的运行状态。" href=/v1.0/zh/help/ops/controlz/>组件内检</a></li><li><a title="如何从底层调试 Istio 组件。" href=/v1.0/zh/help/ops/component-debugging/>组件调试</a></li><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title=帮助管理服务网格中的网络。 href=/v1.0/zh/help/ops/traffic-management/>流量管理</a></label><ul class="tree collapse"><li><a title=描述观测流量管理或相关问题的工具和技术。 href=/v1.0/zh/help/ops/traffic-management/observing/>流量管理观测</a></li><li><a title="介绍 Istio 网络操作方面知识。" href=/v1.0/zh/help/ops/traffic-management/introduction/>网络运维介绍</a></li><li><a title=描述用于从根源解决问题的工具和技术。 href=/v1.0/zh/help/ops/traffic-management/troubleshooting/>网络问题排查</a></li><li><a title="描述如何调试 Pilot 和 Envoy。" href=/v1.0/zh/help/ops/traffic-management/proxy-cmd/>调试 Envoy 和 Pilot</a></li><li><a title=提供特定的部署和配置指南。 href=/v1.0/zh/help/ops/traffic-management/deploy-guidelines/>部署和配置指南</a></li></ul></li><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title=帮助你管理运行中的网格的安全性方面问题。 href=/v1.0/zh/help/ops/security/>安全</a></label><ul class="tree collapse"><li><a title=展示如何调试授权功能。 href=/v1.0/zh/help/ops/security/debugging-authorization/>调试授权</a></li><li><a title=已经启用了授权,但是无论如何请求还是会通过。 href=/v1.0/zh/help/ops/security/authorization-permissive/>授权太过宽松</a></li><li><a title=启用了授权然后任何请求都无法到达服务。 href=/v1.0/zh/help/ops/security/authorization-restrictive/>授权过于严格</a></li></ul></li><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title=帮助您在一个运行的服务网格中管理遥测数据的采集和可视化。 href=/v1.0/zh/help/ops/telemetry/>遥测</a></label><ul class="tree collapse"><li><a href=/v1.0/zh/help/ops/telemetry/missing-metrics/>查看不到指标</a></li><li><a title="处理 Grafana 相关问题。" href=/v1.0/zh/help/ops/telemetry/grafana/>Grafana</a></li></ul></li><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title="帮助诊断和修复 Isto 安装问题。" href=/v1.0/zh/help/ops/setup/>安装和设置</a></label><ul class="tree collapse"><li><a title="概述了 Istio 使用 Kubernetes webhook 及可能出现的相关问题。" href=/v1.0/zh/help/ops/setup/webhook/>动态准入 Webhooks 概述</a></li><li><a title="描述 Istio 使用 Kubernetes webhook 进行服务器端配置验证。" href=/v1.0/zh/help/ops/setup/validation/>配置验证 Webhook</a></li><li><a title="描述了 Istio 如何使用 Kubernetes webhooks 进行自动 sidecar 注入。" href=/v1.0/zh/help/ops/setup/injection/>Sidecar 注入 Webhook</a></li></ul></li><li><a title="关于解决 Istio 常见问题的建议。" href=/v1.0/zh/help/ops/misc/>杂项</a></li></ul></li><li class=sublist><label class=tree-toggle><i class="fa fa-lg fa-caret-right"></i><a title=关于Istio的常见问题。 href=/v1.0/zh/help/faq/>FAQ</a></label><ul class="tree collapse"><li><a title=常见问题。 href=/v1.0/zh/help/faq/general/>常见问题</a></li><li><a title="安装 Q & A。" href=/v1.0/zh/help/faq/setup/>安装</a></li><li><a title=安全方面的常见问题。 href=/v1.0/zh/help/faq/security/>安全</a></li><li><a title="Mixer 的常见问题。" href=/v1.0/zh/help/faq/mixer/>Mixer</a></li><li><a title="Telemetry Q & A." href=/v1.0/zh/help/faq/telemetry/>Telemetry</a></li><li><a title="流量管理 Q & A。" href=/v1.0/zh/help/faq/traffic-management/>流量管理</a></li></ul></li><li><span class=current title="Istio 常见的术语表。">术语表</span></li></ul></div></div></div></div></nav></div><div class="col-12 col-md-9 col-xl-10"><p class=d-md-none><label class=sidebar-toggler data-toggle=offcanvas><i class="fa fa-sign-out-alt"></i></label></p><main aria-labelledby=title><div class=pagenav><p><a href=/v1.0/zh/help/ title="一堆帮助您部署、配置和使用 Istio 的资源。"><i style=transform:scaleX(-1) class="fa fa-level-up-alt"></i> 需要帮助吗?</a></p></div><h1 id=title><img src=/v1.0/img/glossary.svg alt=Icon class=page_icon>
|
||
术语表</h1><div class=glossary><div class="trampolines d-print-none"><a href=#E aria-label="Words starting with the letter E">E</a>
|
||
|
|
||
<a href=#M aria-label="Words starting with the letter M">M</a>
|
||
|
|
||
<a href=#P aria-label="Words starting with the letter P">P</a>
|
||
|
|
||
<a href=#T aria-label="Words starting with the letter T">T</a>
|
||
|
|
||
<a href=#%e5%8f%8c aria-label="Words starting with the letter 双">双</a>
|
||
|
|
||
<a href=#%e5%ae%89 aria-label="Words starting with the letter 安">安</a>
|
||
|
|
||
<a href=#%e5%b1%9e aria-label="Words starting with the letter 属">属</a>
|
||
|
|
||
<a href=#%e5%b7%a5 aria-label="Words starting with the letter 工">工</a>
|
||
|
|
||
<a href=#%e5%be%ae aria-label="Words starting with the letter 微">微</a>
|
||
|
|
||
<a href=#%e6%9c%8d aria-label="Words starting with the letter 服">服</a>
|
||
|
|
||
<a href=#%e6%ba%90 aria-label="Words starting with the letter 源">源</a>
|
||
|
|
||
<a href=#%e7%9b%ae aria-label="Words starting with the letter 目">目</a>
|
||
|
|
||
<a href=#%e9%80%82 aria-label="Words starting with the letter 适">适</a></div><div class=entries><h4 id=E>E</h4><dl><dt id=envoy>Envoy</dt><dd aria-labelledby=envoy><p>Envoy 是在 Istio 里使用的高性能代理,用于为所有<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里的<a href=#%E6%9C%8D%E5%8A%A1>服务</a>调度进出的流量。
|
||
<a href=https://envoyproxy.github.io/envoy/>了解更多关于 Envoy</a>。</p></dd></dl><h4 id=M>M</h4><dl><dt id=mixer>Mixer</dt><dd aria-labelledby=mixer><p>Mixer 是 Istio 里的一个组件,它负载加强<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里的访问控制和使用策略。它还负责收集来自 <a href=#envoy>envoy</a> 和其他服务的遥测数据。
|
||
<a href=/v1.0/zh/docs/concepts/policies-and-telemetry/>了解更多关于 Mixer</a></p></dd><dt id=mixer-handler>Mixer Handler</dt><dd aria-labelledby=mixer-handler><p>Mixer handler 相当于配置完备的 mixer 适配器。一个适配器二进制文件可以被不同配置使用,这些配置也可以称为 handler。在 mixer 运行时,mixer 将 <a href=#mixer-instance>mixer instance</a> 路由到一个或多个 handler。</p></dd><dt id=mixer-instance>Mixer Instance</dt><dd aria-labelledby=mixer-instance><p>一个 mixer instance 代表一组 mixer 数据,这些数据通过检查一组请求的<a href=#%E5%B1%9E%E6%80%A7>属性</a>和应用操作者提配置产生。Mixer instance 会被发送到对应的 <a href=#mixer-handler>mixer handler</a>,并随之发送到基础设施后端服务。</p></dd></dl><h4 id=P>P</h4><dl><dt id=pilot>Pilot</dt><dd aria-labelledby=pilot><p>Pilot 是 istio 里的一个组件,它控制 <a href=#envoy>envoy</a> 代理,负责服务发现、负载均衡和路由分发。</p></dd></dl><h4 id=T>T</h4><dl><dt id=tls-%E6%BA%90>TLS 源</dt><dd aria-labelledby=tls-%E6%BA%90><p>TLS 源 (TLS origination) 出现在:当 Istio 代理(sidecar 或出口网关)配置为接受未加密的内部 HTTP 连接,加密请求,然后将它们转发到使用简单或相互 TLS 保护的 HTTPS 服务器时。 这与 <a href=https://en.wikipedia.org/wiki/TLS_termination_proxy>TLS 终止</a>相反,TLS 终止出现在一个入口代理接受 TLS 连接,解密这个连接,并将未加密的请求传递给内部网格服务。</p></dd></dl><h4 id=双>双</h4><dl><dt id=%E5%8F%8C%E5%90%91-tls-%E8%AE%A4%E8%AF%81>双向 TLS 认证</dt><dd aria-labelledby=%E5%8F%8C%E5%90%91-tls-%E8%AE%A4%E8%AF%81><p>双向 TLS 通过内置身份和凭证管理,提供强大的服务到服务身份验证。
|
||
了解更多关于<a href=/v1.0/zh/docs/concepts/security/#%E5%8F%8C%E5%90%91-tls-%E8%AE%A4%E8%AF%81>双向 TLS 身份验证</a>。</p></dd></dl><h4 id=安>安</h4><dl><dt id=%E5%AE%89%E5%85%A8%E5%91%BD%E5%90%8D>安全命名</dt><dd aria-labelledby=%E5%AE%89%E5%85%A8%E5%91%BD%E5%90%8D><p>安全命名提供一个<a href=#%E6%9C%8D%E5%8A%A1%E5%90%8D>服务名</a>到<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B%E4%B8%BB%E4%BD%93>工作负载实例主体</a>的映射,这个工作负载实例被授权运行一个<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B>工作负载实例</a>,实现一个<a href=#%E6%9C%8D%E5%8A%A1>服务</a>。</p></dd></dl><h4 id=属>属</h4><dl><dt id=%E5%B1%9E%E6%80%A7>属性</dt><dd aria-labelledby=%E5%B1%9E%E6%80%A7><p>属性控制着在网格里面运行的服务的运行时行为。属性是一堆有名字的、有类型的元数据,它们描述着入口和出口流量,以及这些流量存在的环境。一个 Istio 属性承载着一些特点的信息,比如 API 请求的错误码,或者一个 API 请求的耗时,又或者一个 TCP 连接的源 IP 地址,如下:</p><pre><code class=language-yaml>request.path: xyz/abc
|
||
request.size: 234
|
||
request.time: 12:34:56.789 04/17/2017
|
||
source.ip: 192.168.0.1
|
||
destination.workload.name: example</code></pre><p>属性在 Istio 的 <a href=/v1.0/zh/docs/concepts/policies-and-telemetry/>策略与遥测</a>特性里面会用到。</p></dd></dl><h4 id=工>工</h4><dl><dt id=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD>工作负载</dt><dd aria-labelledby=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD><p>工作负载是通过操作部署的二进制文件,用于在 Istio 里提供某种功能。工作负载有名字,命名空间和唯一的 id。工作负载的属性可以通过下面这些<a href=#%E5%B1%9E%E6%80%A7>属性</a>在策略和遥测配置功能里获取:</p><ul><li><code>source.workload.name</code>, <code>source.workload.namespace</code>, <code>source.workload.uid</code></li><li><code>destination.workload.name</code>, <code>destination.workload.namespace</code>, <code>destination.workload.uid</code></li></ul><p>在 Kubernetes里,一个工作负载通常对应一个 Kubernetes 的 deployment,然后一个工作负载的实例对应一个 deployment 管理的其中一个 pod。</p></dd><dt id=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B>工作负载实例</dt><dd aria-labelledby=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B><p>工作负载实例是工作负载的一个二进制实例化对象。一个工作负载实例可以开放零个或多个<a href=#%E6%9C%8D%E5%8A%A1-endpoint>服务 endpoint</a>,也可以消费零个或多个<a href=#%E6%9C%8D%E5%8A%A1>服务</a>。</p><p>工作负载实例具有许多属性:</p><ul><li>名称和命名空间</li><li>唯一的 ID</li><li>IP 地址</li><li>标签</li><li>主体</li></ul><p>通过访问 [<code>source.*</code> 和 <code>destination.*</code> 下面的属性],在 Istio 的策略和遥测配置功能中,可以用到这些属性。</p></dd><dt id=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B%E4%B8%BB%E4%BD%93>工作负载实例主体</dt><dd aria-labelledby=%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B%E4%B8%BB%E4%BD%93><p>工作负载实例名是<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B>工作负载实例</a>的可验证权限。Istio 的服务到服务身份验证用于生成工作负载名。在默认情况下,工作负载名符合 SPIFFE ID 格式。</p><p>通过访问 <code>source.principal</code> 和 <code>destination.principal</code> <a href=#%E5%B1%9E%E6%80%A7>属性</a>,在策略和遥测配置中可以使用工作负载实例主体。</p></dd></dl><h4 id=微>微</h4><dl><dt id=%E5%BE%AE%E5%88%86%E6%AE%B5>微分段</dt><dd aria-labelledby=%E5%BE%AE%E5%88%86%E6%AE%B5><p>微分段是一种安全性技术,它通过在云部署里面创建安全区,使组织之间可以将工作负载彼此隔离,保证组织之间的安全性。</p></dd></dl><h4 id=服>服</h4><dl><dt id=%E6%9C%8D%E5%8A%A1>服务</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1><p>服务是在<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里划定的一个行为相似的组。服务通过<a href=#%E6%9C%8D%E5%8A%A1%E5%90%8D>服务名</a>进行标识,而且服务名在 Istio 的策略里(如负载均衡、路由等)会应用到。
|
||
一个服务通常有一个或多个<a href=#%E6%9C%8D%E5%8A%A1-endpoint>服务 endpoint</a> 实现,且会存在多个<a href=#%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC>服务版本</a>。</p></dd><dt id=%E6%9C%8D%E5%8A%A1-endpoint>服务 Endpoint</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1-endpoint><p>服务 endpoint 是一个<a href=#%E6%9C%8D%E5%8A%A1>服务</a>的网络可达表现形式。服务 endpoint 由<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B>工作负载实例</a>暴露。并不是所有的服务都有服务 endpoint。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E5%90%8D>服务名</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E5%90%8D><p>服务名是<a href=#%E6%9C%8D%E5%8A%A1>服务</a>唯一的名字,是服务在<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里的唯一标识。
|
||
一个服务不应该被重命名,或者维护他的标识,每一个服务名都是唯一的。
|
||
一个服务有多个<a href=#%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC>版本</a>,但是服务名是与版本独立的。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E6%93%8D%E4%BD%9C%E8%80%85>服务操作者</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E6%93%8D%E4%BD%9C%E8%80%85><p>服务操作者是在<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里管理<a href=#%E6%9C%8D%E5%8A%A1>服务</a>的代理,它们通过操纵配置状态并通过各种仪表板监视服务的运行状况来管理这些服务。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E6%B3%A8%E5%86%8C%E8%A1%A8>服务注册表</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E6%B3%A8%E5%86%8C%E8%A1%A8><p>Istio 维护了一个内部服务注册表 (service registry),它包含在服务网格中运行的一组<a href=#%E6%9C%8D%E5%8A%A1>服务</a>及其相应的<a href=#%E6%9C%8D%E5%8A%A1-endpoint>服务 endpoint</a>。 Istio 使用服务注册表生成 <a href=#envoy>envoy</a> 配置。
|
||
Istio 不提供<a href=https://en.wikipedia.org/wiki/Service_discovery>服务发现</a>,尽管大多数服务都是通过 pilot adapter 自动加入到服务注册表里的,而且这反映了底层平台(k8s/consul/plain DNS)的已发现的服务。 还有就是,可以使用 <a href=/v1.0/zh/docs/concepts/traffic-management/#service-entries><code>ServiceEntry</code></a> 配置手动进行注册。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E6%B6%88%E8%B4%B9%E8%80%85>服务消费者</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E6%B6%88%E8%B4%B9%E8%80%85><p>服务消费者是使用<a href=#%E6%9C%8D%E5%8A%A1>服务</a>的代理。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC>服务版本</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC><p>服务版本区分<a href=#%E6%9C%8D%E5%8A%A1>服务</a>的不同变形,通常由一个<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD>工作负载</a>的不同版本支持。
|
||
多个<a href=#%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC>服务版本</a>使用的场景通常有 A/B 测试、金丝雀滚动发布,等等。每一个服务都有一个默认的版本。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E7%94%9F%E4%BA%A7%E8%80%85>服务生产者</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E7%94%9F%E4%BA%A7%E8%80%85><p>创建<a href=#%E6%9C%8D%E5%8A%A1>服务</a>的代理。</p></dd><dt id=%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</dt><dd aria-labelledby=%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC><p>服务网格是一套共享的名称和标识,它们让通用策略实施和遥测收集成为可能。<a href=#%E6%9C%8D%E5%8A%A1%E5%90%8D>服务名</a>和<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD%E5%AE%9E%E4%BE%8B%E4%B8%BB%E4%BD%93>工作负载实例主体</a>在服务网格里是唯一的。</p></dd></dl><h4 id=源>源</h4><dl><dt id=%E6%BA%90%E6%9C%8D%E5%8A%A1>源服务</dt><dd aria-labelledby=%E6%BA%90%E6%9C%8D%E5%8A%A1><p>源服务 (source) 是 <a href=#envoy>envoy</a> 代理的下游客户端。
|
||
在<a href=#%E6%9C%8D%E5%8A%A1%E7%BD%91%E6%A0%BC>服务网格</a>里,一个源服务通常是一个<a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD>工作负载</a>,但是入口流量的源服务有可能包含其他客户端,例如浏览器,或者一个移动应用。</p></dd></dl><h4 id=目>目</h4><dl><dt id=%E7%9B%AE%E6%A0%87%E6%9C%8D%E5%8A%A1>目标服务</dt><dd aria-labelledby=%E7%9B%AE%E6%A0%87%E6%9C%8D%E5%8A%A1><p>目标服务 (destination) 是 <a href=#envoy>envoy</a> 代表一个<a href=#%E6%BA%90%E6%9C%8D%E5%8A%A1>源服务</a><a href=#%E5%B7%A5%E4%BD%9C%E8%B4%9F%E8%BD%BD>工作负载</a>与之打交道的远程上游服务。这些上游服务可以有多个<a href=#%E6%9C%8D%E5%8A%A1%E7%89%88%E6%9C%AC>服务版本</a>,envoy 根据路由选择对应的版本。</p></dd></dl><h4 id=适>适</h4><dl><dt id=%E9%80%82%E9%85%8D%E5%99%A8>适配器</dt><dd aria-labelledby=%E9%80%82%E9%85%8D%E5%99%A8><p>适配器(adapter)是 Istio 的<a href=/v1.0/zh/docs/concepts/policies-and-telemetry/>策略与遥测</a>组件: Mixer 里的插件。适配器使 Mixer 可以通过接口使用开放式基础设施后端服务,去为 Istio 提供核心功能,比如日志、监控、配额、ACL 检查,等等。</p><p>运行时确切生效的适配器是通过配置指定的,而且适配器很容易进行扩展来适配一个新的或者自定义的基础设施后端服务。</p><p><a href=/v1.0/zh/docs/concepts/policies-and-telemetry/#%E9%80%82%E9%85%8D%E5%99%A8>了解更多关于适配器</a></p></dd></dl></div></div></main><div class="d-none d-print-block" aria-hidden=true><h2>Links</h2><ol id=endnotes></ol></div></div></div></div><footer class="d-print-none container-fluid"><div class=row><div class="col-5 col-lg-4" role=navigation><div class=container-fluid><div class=row><div class=icon><span>discuss</span>
|
||
<a title="Join the Istio discussion board to participate in discussions and get help troubleshooting problems" href=https://discuss.istio.io aria-label="Istio discussion board"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M225.9 32C103.3 32 0 130.5.0 252.1.0 256 .1 480 .1 480l225.8-.2c122.7.0 222.1-102.3 222.1-223.9S348.6 32 225.9 32zM224 384c-19.4.0-37.9-4.3-54.4-12.1L88.5 392l22.9-75c-9.8-18.1-15.4-38.9-15.4-61 0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128z" /></svg></a></div><div class=icon><span>slack</span>
|
||
<a title="在 Slack 上与 Istio 社区交互讨论开发问题(仅限邀请)" href=https://istio.slack.com aria-label=slack><svg viewBox="0 0 31.444 31.443"><path d="M31.202 16.369c-.62-1.388-2.249-2.011-3.637-1.391l-1.325.594-3.396-7.591 1.325-.592c1.388-.622 2.01-2.25 1.389-3.637-.62-1.389-2.248-2.012-3.637-1.39l-1.324.593-.593-1.326c-.621-1.388-2.249-2.009-3.637-1.388-1.388.62-2.009 2.247-1.389 3.637l.593 1.325L7.98 8.598 7.388 7.273c-.621-1.39-2.249-2.009-3.637-1.39C2.363 6.504 1.742 8.132 2.362 9.52l.592 1.324L1.63 11.438c-1.388.621-2.01 2.247-1.389 3.636.62 1.388 2.249 2.01 3.637 1.39l1.325-.594 3.394 7.592-1.325.592c-1.388.621-2.009 2.25-1.389 3.637.621 1.389 2.249 2.011 3.637 1.391l1.324-.593.593 1.325c.621 1.389 2.249 2.01 3.637 1.389 1.387-.62 2.009-2.248 1.388-3.636l-.591-1.326 7.591-3.394.592 1.321c.621 1.391 2.248 2.013 3.637 1.392 1.388-.619 2.01-2.248 1.389-3.637l-.592-1.324 1.323-.594C31.201 19.384 31.823 17.757 31.202 16.369zM13.623 21.215l-3.395-7.593 7.591-3.394 3.395 7.591L13.623 21.215z"/></svg></a></div><div class=icon><span>twitter</span>
|
||
<a title="关注我们的 Twitter 来获最新信息" href=https://twitter.com/IstioMesh aria-label=Twitter><svg viewBox="0 0 310 310"><path d="M302.973 57.388c-4.87 2.16-9.877 3.983-14.993 5.463 6.057-6.85 10.675-14.91 13.494-23.73.632-1.977-.023-4.141-1.648-5.434-1.623-1.294-3.878-1.449-5.665-.39-10.865 6.444-22.587 11.075-34.878 13.783-12.381-12.098-29.197-18.983-46.581-18.983-36.695.0-66.549 29.853-66.549 66.547.0 2.89.183 5.764.545 8.598C101.163 99.244 58.83 76.863 29.76 41.204c-1.036-1.271-2.632-1.956-4.266-1.825-1.635.128-3.104 1.05-3.93 2.467-5.896 10.117-9.013 21.688-9.013 33.461.0 16.035 5.725 31.249 15.838 43.137-3.075-1.065-6.059-2.396-8.907-3.977-1.529-.851-3.395-.838-4.914.033-1.52.871-2.473 2.473-2.513 4.224-.007.295-.007.59-.007.889.0 23.935 12.882 45.484 32.577 57.229-1.692-.169-3.383-.414-5.063-.735-1.732-.331-3.513.276-4.681 1.597-1.17 1.32-1.557 3.16-1.018 4.84 7.29 22.76 26.059 39.501 48.749 44.605-18.819 11.787-40.34 17.961-62.932 17.961-4.714.0-9.455-.277-14.095-.826-2.305-.274-4.509 1.087-5.294 3.279-.785 2.193.047 4.638 2.008 5.895 29.023 18.609 62.582 28.445 97.047 28.445 67.754.0 110.139-31.95 133.764-58.753 29.46-33.421 46.356-77.658 46.356-121.367.0-1.826-.028-3.67-.084-5.508 11.623-8.757 21.63-19.355 29.773-31.536 1.237-1.85 1.103-4.295-.33-5.998C307.394 57.037 305.009 56.486 302.973 57.388z"/></svg></a></div><div class=icon><span>stack overflow</span>
|
||
<a title="Stack Overflow 中列举了针对实际问题以及部署、配置和使用 Istio 的各项回答" href=https://stackoverflow.com/questions/tagged/istio aria-label="Stack Overflow"><svg viewBox="0 0 120 120"><polygon points="84.4,93.8 84.4,70.6 92.1,70.6 92.1,101.5 22.6,101.5 22.6,70.6 30.3,70.6 30.3,93.8"/><path d="M38.8 68.4l37.8 7.9 1.6-7.6-37.8-7.9L38.8 68.4zM43.8 50.4l35 16.3 3.2-7-35-16.4L43.8 50.4zM53.5 33.2l29.7 24.7 4.9-5.9L58.4 27.3 53.5 33.2zM72.7 14.9l-6.2 4.6 23 31 6.2-4.6-23-31zM38 86h38.6v-7.7H38V86z"/></svg></a></div></div><div class="tag row d-none d-lg-flex">对于用户</div></div></div><div class="col-7 col-lg-4"><p class="text-center copyright" role=contentinfo>Istio
|
||
Archive
|
||
1.0<br>© 2019 Istio Authors, <a href=https://policies.google.com/privacy>Privacy Policy</a><br>Archived on March 19, 2019</p></div><div class="col-6 col-lg-4 d-none d-lg-flex" role=navigation><div class=container-fluid><div class="row justify-content-end"><div class=icon><span>github</span>
|
||
<a title="Istio 的代码在 GitHub 上开发" href=https://github.com/istio/community aria-label=GitHub><svg viewBox="0 0 478.165 478.165"><path d="M349.22 55.768c6.136 14.046 10.241 37.556 4.224 54.69 24.426 20.999 33.073 71.904 21.079 113.704 35.006 2.73 76.666-1.235 103.642 9.484-25.183-3.248-59.651-9.563-91.987-7.431-6.136.458-15.361-.239-14.903 8.408 37.735 3.008 75.092 6.117 105.894 15.779-30.702-4.981-67.74-12.552-105.894-13.668-15.54 30.921-47.239 46.262-90.991 49.49 4.682 10.261 13.847 14.066 15.879 30.702 3.267 24.406-4.881 60.328 3.208 76.686 4.064 7.89 10.579 8.009 14.863 14.604-10.699 12.871-37.257-1.395-40.186-14.604-5.14-22.852 7.89-58.256-6.415-73.737.996 24.865-5.718 59.85.996 82.145 2.789 8.806 10.659 12.113 8.647 20.063-49.809 5.08-28.989-64.373-37.177-105.356-7.471.697-4.204 11.197-4.224 15.76-.199 40.106 8.189 94.836-34.846 89.556-1.315-8.348 5.838-11.217 8.467-19.007 7.91-22.434-1.454-56.045 2.112-83.161-16.417 12.512 1.793 55.666-8.428 77.961-5.838 12.671-24.785 18.27-39.19 12.651 1.873-9.464 11.695-7.989 15.879-16.875 5.818-12.452.02-30.244 2.092-48.494-30.423 6.097-53.993-.877-65.608-20.023-5.12-8.507-6.356-18.708-12.632-26.219-6.117-7.551-16.098-8.507-19.087-18.808 37.755-9.185 39.17 38.771 73.06 39.807 10.44.418 15.799-2.909 25.402-5.16 2.749-12.113 8.428-21.039 16.875-27.494-42.078-5.658-76.865-18.788-93.023-50.466-38.293 1.893-73.339 7.013-105.894 14.843 29.547-10.679 65.807-14.604 104.778-15.819-2.351-13.807-22.434-10.022-34.866-9.543C47.677 227.17 18.449 230.138.0 233.645c26.817-9.543 64.233-8.348 100.454-8.428-11.038-34.767-7.232-90.014 17.015-110.615-6.854-17.254-4.722-45.346 4.184-58.834 27.036 1.175 43.374 12.891 60.388 24.247 21.019-6.017 43.035-9.045 71.904-7.451 12.133.677 24.705 6.097 33.731 5.32 8.906-.877 18.728-10.898 27.534-14.843C326.507 58.099 336.17 56.206 349.22 55.768z"/></svg></a></div><div class=icon><span>drive</span>
|
||
<a title="如果您想深入了解 Istio 的技术细节,请查看我们日益完善的设计文档" href=https://groups.google.com/forum/#!forum/istio-team-drive-access aria-label="team drive"><svg viewBox="0 0 207.027 207.027"><path d="M69.866 15.557.0 138.919l28.732 52.552 143.288-.029 35.008-59.588L136.39 15.735 69.866 15.557zM17.166 139.046 74.268 38.205 91.21 67.783 33.24 168.447 17.166 139.046zM99.841 82.851l23.805 41.558-47.732-.006L99.841 82.851zM163.434 176.443l-117.332.024 21.53-37.065 64.606.008.067.119 52.865-.085L163.434 176.443zM140.932 124.411 90.157 35.767l-2.966-5.178 40.751.121 57.003 93.706L140.932 124.411z"/></svg></a></div><div class=icon><span>working groups</span>
|
||
<a title="如果您想为 Istio 项目做出贡献,请考虑加入我们的工作组" href=https://github.com/istio/community/blob/master/WORKING-GROUPS.md aria-label="working groups"><svg viewBox="0 -45 439.833 439.833"><polygon points="246.048,195.833 299.966,235.085 319.497,227.296 276.278,195.833"/><polygon points="193.786,195.833 163.556,195.833 120.33,227.3 139.862,235.089"/><path d="M219.927 11.558c-23.854.0-37.057 12.362-36.814 36.182.348 32.623 14.211 52.414 36.814 52.068.0.0 36.802 1.492 36.802-52.068C256.729 23.918 244.294 11.558 219.927 11.558z"/><path d="M285.017 124.567l-36.77-14.659-8.608-7.256c-2.274-1.922-5.636-1.78-7.741.317l-11.973 11.904-12.008-11.907c-2.109-2.094-5.465-2.229-7.736-.313l-8.611 7.256-36.77 14.661c-11.842 4.715-11.83 46.647-12.848 50.497h155.93C296.866 171.228 296.862 129.28 285.017 124.567z"/><path d="M77.976 228.568s36.801 1.492 36.801-52.068c0-23.82-12.434-36.182-36.801-36.182-23.854.0-37.057 12.362-36.814 36.182C41.509 209.124 55.372 228.915 77.976 228.568z"/><path d="M143.065 253.329l-36.77-14.658-8.609-7.256c-2.275-1.923-5.635-1.781-7.742.315l-11.971 11.904-12.008-11.908c-2.109-2.094-5.465-2.229-7.736-.312l-8.611 7.256-36.77 14.66C1.006 258.045 1.018 299.977.0 303.827h155.93C154.915 299.988 154.911 258.042 143.065 253.329z"/><path d="M361.878 228.568s36.801 1.492 36.801-52.068c0-23.82-12.434-36.182-36.801-36.182-23.854.0-37.057 12.362-36.812 36.182C325.411 209.124 339.274 228.915 361.878 228.568z"/><path d="M426.968 253.329l-36.77-14.658-8.609-7.256c-2.273-1.923-5.635-1.781-7.742.315l-11.971 11.904-12.008-11.908c-2.109-2.094-5.465-2.229-7.736-.312l-8.61 7.256-36.771 14.66c-11.842 4.715-11.83 46.646-12.848 50.497h155.93C438.817 299.988 438.812 258.042 426.968 253.329z"/></svg></a></div></div><div class="tag row justify-content-end text-right">对于开发者</div></div></div></div></footer><div class="d-xl-none d-print-none"><button id=scroll-to-top aria-hidden=true onclick=scrollToTop() title="Back to top"><i class="fa fa-lg fa-arrow-up"></i></button></div><script src=https://code.jquery.com/jquery-3.2.1.slim.min.js integrity=sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN crossorigin=anonymous></script><script src=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js integrity=sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js></script><script src="https://www.google.com/cse/brand?form=search_form"></script><script src=/v1.0/js/all.min.js data-manual></script></body></html> |