istio.io/archive/v1.1/zh/help/glossary/index.html

59 lines
29 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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.1/zh/help/glossary/><meta property=og:image content=/v1.1/img/istio-whitelogo-bluebackground-framed.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.1 / 术语表</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><link rel=alternate type=application/rss+xml title="Istio Blog" href=/v1.1/feed.xml><link rel="shortcut icon" href=/v1.1/favicons/favicon.ico><link rel=apple-touch-icon href=/v1.1/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/v1.1/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/v1.1/favicons/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=/v1.1/favicons/android-36x36.png sizes=36x36><link rel=icon type=image/png href=/v1.1/favicons/android-48x48.png sizes=48x48><link rel=icon type=image/png href=/v1.1/favicons/android-72x72.png sizes=72x72><link rel=icon type=image/png href=/v1.1/favicons/android-96x96.png sizes=96xW96><link rel=icon type=image/png href=/v1.1/favicons/android-144x144.png sizes=144x144><link rel=icon type=image/png href=/v1.1/favicons/android-192x192.png sizes=192x192><link rel=manifest href=/v1.1/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=Work+Sans:400|Chivo:400|Work+Sans:500,300,600,300italic,400italic,500italic,600italic|Chivo:500,300,600,300italic,400italic,500italic,600italic"><link rel=stylesheet href=/v1.1/css/all.css></head><body class="language-unknown archive-site"><script src=/v1.1/js/themes_init.min.js></script><script>const branchName="release-1.1";const docTitle="术语表";const iconFile="\/v1.1/img/icons.svg";const buttonCopy='复制到剪切板';const buttonPrint='打印';const buttonDownload='下载';</script><script src="https://www.google.com/cse/brand?form=search-form" defer></script><script src=/v1.1/js/all.min.js data-manual defer></script><header><nav><a id=brand href=/v1.1/zh/><span class=logo><svg viewBox="0 0 300 300"><circle cx="150" cy="150" r="146" stroke-width="2" /><path d="M65 240H225L125 270z"/><path d="M65 230l60-10V110z"/><path d="M135 220l90 10L135 30z"/></svg></span><span class=name>Istioldie 1.1</span></a><div id=hamburger><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#hamburger"/></svg></div><div id=header-links><a title="了解如何部署、使用和运维 Istio。" href=/v1.1/zh/docs/>文档</a>
<a title="关于使用 Istio 的博客文章。" href=/v1.1/zh/blog/2019/root-transition/>博客</a>
<span title="一堆帮助您部署、配置和使用 Istio 的资源。">帮助</span>
<a title=关于Istio的说明。 href=/v1.1/zh/about/>关于</a><div class=menu><button id=gearDropdownButton class=menu-trigger title=选项和设置 aria-label="Options and Settings" aria-controls=gearDropdownContent><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#gear"/></svg></button><div id=gearDropdownContent class=menu-content aria-labelledby=gearDropdownButton role=menu><a tabindex=-1 role=menuitem lang=en id=switch-lang-en>English</a>
<a tabindex=-1 role=menuitem lang=zh id=switch-lang-zh class=active>中文</a><div role=separator></div><a tabindex=-1 role=menuitem class=active id=light-theme-item>亮主题</a>
<a tabindex=-1 role=menuitem id=dark-theme-item>暗主题</a><div role=separator></div><a tabindex=-1 role=menuitem id=syntax-coloring-item>代码高亮</a><div role=separator></div><h6>本站的其它版本</h6><a tabindex=-1 role=menuitem onclick="navigateToUrlOrRoot('https://istio.io/help\/glossary\/');return false;">当前版本</a>
<a tabindex=-1 role=menuitem onclick="navigateToUrlOrRoot('https://preliminary.istio.io/help\/glossary\/');return false;">下个版本</a>
<a tabindex=-1 role=menuitem href=https://archive.istio.io>旧版本</a></div></div><button id=search-show title=搜索istio.io aria-label=Search><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#magnifier"/></svg></button></div><form id=search-form name=cse 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.1/search.html>
<input id=search-textbox class=form-control name=q type=search aria-label=搜索istio.io>
<button id=search-close title="Cancel search" type=reset aria-label="Cancel search"><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#cancel-x"/></svg></button></form></nav></header><main class="primary notoc"><div id=sidebar-container class="sidebar-container sidebar-offcanvas"><nav id=sidebar aria-label="Section Navigation"><div class=directory><div class=card><div id=header0 class=header title="一堆帮助您部署、配置和使用 Istio 的资源。"><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#help"/></svg>需要帮助吗?</div><div class="body default" aria-labelledby=header0><ul role=tree aria-expanded=true aria-labelledby=header0><li role=treeitem aria-label=运维指南><button aria-hidden=true></button><a title="关于运行 Istio 网格的提示、技巧和窍门。" href=/v1.1/zh/help/ops/>运维指南</a><ul role=group aria-expanded=false><li role=none><a role=treeitem title=描述如何使用组件日志来深入了解运行组件的行为。 href=/v1.1/zh/help/ops/component-logging/>组件日志</a></li><li role=none><a role=treeitem title="描述如何使用 ControlZ 检测查看单个组件的运行状态。" href=/v1.1/zh/help/ops/controlz/>组件内检</a></li><li role=none><a role=treeitem title="如何从底层调试 Istio 组件。" href=/v1.1/zh/help/ops/component-debugging/>组件调试</a></li><li role=treeitem aria-label=流量管理><button aria-hidden=true></button><a title=帮助管理服务网格中的网络。 href=/v1.1/zh/help/ops/traffic-management/>流量管理</a><ul role=group aria-expanded=false class=leaf-section><li role=none><a role=treeitem title="介绍 Istio 网络操作方面知识。" href=/v1.1/zh/help/ops/traffic-management/introduction/>网络运维介绍</a></li><li role=none><a role=treeitem title=提供特定的部署和配置指南。 href=/v1.1/zh/help/ops/traffic-management/deploy-guidelines/>部署和配置指南</a></li><li role=none><a role=treeitem title=常见网络相关问题的识别和处理。 href=/v1.1/zh/help/ops/traffic-management/troubleshooting/>网络问题排查</a></li><li role=none><a role=treeitem title=有关如何启用和理解本地负载均衡的信息。 href=/v1.1/zh/help/ops/traffic-management/locality-load-balancing/>本地负载均衡</a></li><li role=none><a role=treeitem title="用于对流量管理方面的 Envoy 配置问题进行检测的工具和技术。" href=/v1.1/zh/help/ops/traffic-management/proxy-cmd/>调试 Envoy 和 Pilot</a></li><li role=none><a role=treeitem title=介绍一些工具和技术,用来针对流量管理方面的配置问题进行诊断。 href=/v1.1/zh/help/ops/traffic-management/observing/>配置问题诊断</a></li></ul></li><li role=treeitem aria-label=安全><button aria-hidden=true></button><a title=帮助你管理运行中的网格的安全性方面问题。 href=/v1.1/zh/help/ops/security/>安全</a><ul role=group aria-expanded=false class=leaf-section><li role=none><a role=treeitem title=展示授权功能的调试过程。 href=/v1.1/zh/help/ops/security/debugging-authorization/>调试授权</a></li><li role=none><a role=treeitem title="如果 Citadel 表现不正常该怎么办。" href=/v1.1/zh/help/ops/security/repairing-citadel/>修复 Citadel</a></li><li role=none><a role=treeitem title="如果您怀疑 Istio 密钥和证书有问题该怎么办。" href=/v1.1/zh/help/ops/security/keys-and-certs/>密钥和证书</a></li><li role=none><a role=treeitem title="如何处理 TLS 认证的失效问题。" href=/v1.1/zh/help/ops/security/mutual-tls/>双向 TLS</a></li><li role=none><a role=treeitem title="如何在启用双向 TLS 的情况下运行健康检查。" href=/v1.1/zh/help/ops/security/health-checks-and-mtls/>健康检查和双向 TLS</a></li><li role=none><a role=treeitem title=已经启用了授权,但是无论如何请求还是会通过。 href=/v1.1/zh/help/ops/security/authorization-permissive/>授权太过宽松</a></li><li role=none><a role=treeitem title=启用了授权然后任何请求都无法到达服务。 href=/v1.1/zh/help/ops/security/authorization-restrictive/>授权过于严格</a></li><li role=none><a role=treeitem title=如果终端用户身份验证不起作用,该怎么办。 href=/v1.1/zh/help/ops/security/end-user-auth/>终端用户身份验证</a></li><li role=none><a role=treeitem title="学习如何延长 Istio 自签发根证书的有效期。" href=/v1.1/zh/help/ops/security/root-transition/>延长自签发证书的有效期</a></li></ul></li><li role=treeitem aria-label=遥测><button aria-hidden=true></button><a title=帮助您在一个运行的服务网格中管理遥测数据的采集和可视化。 href=/v1.1/zh/help/ops/telemetry/>遥测</a><ul role=group aria-expanded=false class=leaf-section><li role=none><a role=treeitem href=/v1.1/zh/help/ops/telemetry/missing-metrics/>查看不到指标</a></li><li role=none><a role=treeitem title="处理 Grafana 相关问题。" href=/v1.1/zh/help/ops/telemetry/grafana/>Grafana</a></li><li role=none><a role=treeitem title="Envoy 统计数据的细粒度控制。" href=/v1.1/zh/help/ops/telemetry/envoy-stats/>Envoy 统计数据</a></li></ul></li><li role=treeitem aria-label=安装和设置><button aria-hidden=true></button><a title="帮助诊断和修复 Isto 安装问题。" href=/v1.1/zh/help/ops/setup/>安装和设置</a><ul role=group aria-expanded=false class=leaf-section><li role=none><a role=treeitem title="概述了 Istio 使用 Kubernetes Webhook 及可能出现的相关问题。" href=/v1.1/zh/help/ops/setup/webhook/>动态准入 Webhook 概述</a></li><li role=none><a role=treeitem title="Istio 使用 Kubernetes webhook 进行服务器端配置验证的方式。" href=/v1.1/zh/help/ops/setup/validation/>配置验证 Webhook</a></li><li role=none><a role=treeitem title="描述了 Istio 如何使用 Kubernetes webhooks 进行自动 sidecar 注入。" href=/v1.1/zh/help/ops/setup/injection/>Sidecar 注入 Webhook</a></li><li role=none><a role=treeitem title="如何检查 Pod 中被许可的功能。" href=/v1.1/zh/help/ops/setup/required-pod-capabilities/>Pod 的必要功能</a></li><li role=none><a role=treeitem title="展示如何对 Istio service 进行健康检查。" href=/v1.1/zh/help/ops/setup/app-health-check/>Istio Service 健康检查</a></li></ul></li><li role=none><a role=treeitem title="关于解决 Istio 常见问题的建议。" href=/v1.1/zh/help/ops/misc/>杂项</a></li></ul></li><li role=treeitem aria-label=FAQ><button aria-hidden=true></button><a title=关于Istio的常见问题。 href=/v1.1/zh/help/faq/>FAQ</a><ul role=group aria-expanded=false class=leaf-section><li role=none><a role=treeitem title=常见问题。 href=/v1.1/zh/help/faq/general/>常见问题</a></li><li role=none><a role=treeitem title="安装 Q &amp; A。" href=/v1.1/zh/help/faq/setup/>安装</a></li><li role=none><a role=treeitem title=安全方面的常见问题。 href=/v1.1/zh/help/faq/security/>安全</a></li><li role=none><a role=treeitem title="Mixer Q &amp; A。" href=/v1.1/zh/help/faq/mixer/>Mixer</a></li><li role=none><a role=treeitem title=度量和日志的常见问题。 href=/v1.1/zh/help/faq/metrics-and-logs/>度量和日志</a></li><li role=none><a role=treeitem title="遥测 Q &amp; A." href=/v1.1/zh/help/faq/telemetry/>遥测</a></li><li role=none><a role=treeitem title=分布式追踪问答。 href=/v1.1/zh/help/faq/distributed-tracing/>分布式追踪</a></li><li role=none><a role=treeitem title="流量管理 Q &amp; A。" href=/v1.1/zh/help/faq/traffic-management/>流量管理</a></li></ul></li><li role=none><span role=treeitem class=current title="Istio 常见的术语表。">术语表</span></li></ul></div></div></div></nav></div><div class=article-container><button tabindex=-1 id=sidebar-toggler title=折叠导航栏><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#pull"/></svg></button><nav aria-label=Breadcrumb><ol><li><a href=/v1.1/zh/>Istio</a></li><li><a href=/v1.1/zh/help/ title="一堆帮助您部署、配置和使用 Istio 的资源。">帮助</a></li><li>术语表</li></ol></nav><article aria-labelledby=title><div class=title-area><i class=title-icon><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#glossary"/></svg></i><div><h1 id=title>术语表</h1></div></div><div class=glossary><div class=trampolines><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><div id=E class=letter><h4>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></div><div id=M class=letter><h4>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.1/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></div><div id=P class=letter><h4>P</h4><dl><dt id=pilot>Pilot</dt><dd aria-labelledby=pilot><p>Pilot 是 Istio 里的一个组件,它控制 <a href=#envoy>Envoy</a> 代理,负责服务发现、负载均衡和路由分发。</p></dd></dl></div><div id=T class=letter><h4>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></div><div id= class=letter><h4></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.1/zh/docs/concepts/security/#双向-tls-认证>双向 TLS 身份验证</a></p></dd></dl></div><div id= class=letter><h4></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></div><div id= class=letter><h4></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 data-expandlinks=true>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.1/zh/docs/concepts/policies-and-telemetry/>策略与遥测</a>特性里面会用到。</p></dd></dl></div><div id= class=letter><h4></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></div><div id= class=letter><h4></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></div><div id= class=letter><h4></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 自动加入到服务注册表里的而且这反映了底层平台Kubernetes, Consul, plain DNS的已发现的服务。 还有就是,可以使用 <a href=/v1.1/zh/docs/concepts/traffic-management/#service-entry><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></div><div id= class=letter><h4></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></div><div id= class=letter><h4></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></div><div id= class=letter><h4></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.1/zh/docs/concepts/policies-and-telemetry/>策略与遥测</a>组件: Mixer 里的插件。适配器使 Mixer 可以通过接口使用开放式基础设施后端服务,去为 Istio 提供核心功能比如日志、监控、配额、ACL 检查,等等。</p><p>运行时确切生效的适配器是通过配置指定的,而且适配器很容易进行扩展来适配一个新的或者自定义的基础设施后端服务。</p><p><a href=/v1.1/zh/docs/concepts/policies-and-telemetry/#适配器>了解更多关于适配器</a></p></dd></dl></div></div></div></article><div id=endnotes-container aria-hidden=true><h2>链接</h2><ol id=endnotes></ol></div></div></main><footer><div class=user-links><a class=channel title="Go download Istio 1.1.9 now" href=https://github.com/istio/istio/releases/tag/1.1.9 aria-label="Download Istio"><span>download</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#download"/></svg>
</a><a class=channel title="加入 Istio discussion board 参与讨论获取帮助" href=https://discuss.istio.io aria-label="Istio discussion board"><span>discuss</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#discourse"/></svg></a>
<a class=channel title="Stack Overflow 中列举了针对实际问题以及部署、配置和使用 Istio 的各项回答" href=https://stackoverflow.com/questions/tagged/istio aria-label="Stack Overflow"><span>stack overflow</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#stackoverflow"/></svg></a>
<a class=channel title="关注我们的 Twitter 来获取最新信息" href=https://twitter.com/IstioMesh aria-label=Twitter><span>twitter</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#twitter"/></svg></a><div class=tag>对于用户</div></div><div class=info><p class=copyright>中文内容由 ServiceMesher 社区维护,部分文档可能稍微滞后于英文版本,同步工作持续进行中<br>Istio 归档
1.1.9<br>&copy; 2019 Istio Authors, <a href=https://policies.google.com/privacy>隐私政策</a><br>归档于 2019年6月18日</p></div><div class=dev-links><a class=channel title="Istio 的代码在 GitHub 上开发" href=https://github.com/istio/community aria-label=GitHub><span>github</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#github"/></svg></a>
<a class=channel title="在 Slack 上与 Istio 社区交互讨论开发问题(仅限邀请)" href=https://istio.slack.com aria-label=slack><span>slack</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#slack"/></svg></a>
<a class=channel title="如果您想深入了解 Istio 的技术细节,请查看我们日益完善的设计文档" href=https://groups.google.com/forum/#!forum/istio-team-drive-access aria-label="team drive"><span>drive</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#drive"/></svg></a>
<a class=channel title="如果您想为 Istio 项目做出贡献,请考虑加入我们的工作组" href=https://github.com/istio/community/blob/master/WORKING-GROUPS.md aria-label="working groups"><span>working groups</span><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#working-groups"/></svg></a><div class=tag>对于开发者</div></div></footer><div id=scroll-to-top-container aria-hidden=true><button id=scroll-to-top title=回到顶部><svg class="icon"><use xlink:href="/v1.1/img/icons.svg#top"/></svg></button></div></body></html>