mirror of https://github.com/istio/istio.io.git
21 lines
19 KiB
HTML
21 lines
19 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=FAQ><meta name=description content=关于Istio的常见问题。><meta name=keywords content=microservices,services,mesh><meta property=og:title content=FAQ><meta property=og:type content=website><meta property=og:description content=关于Istio的常见问题。><meta property=og:url content=/v1.2/zh/faq/><meta property=og:image content=/v1.2/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.2 / FAQ</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.2/feed.xml><link rel="shortcut icon" href=/v1.2/favicons/favicon.ico><link rel=apple-touch-icon href=/v1.2/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=icon type=image/png href=/v1.2/favicons/favicon-16x16.png sizes=16x16><link rel=icon type=image/png href=/v1.2/favicons/favicon-32x32.png sizes=32x32><link rel=icon type=image/png href=/v1.2/favicons/android-36x36.png sizes=36x36><link rel=icon type=image/png href=/v1.2/favicons/android-48x48.png sizes=48x48><link rel=icon type=image/png href=/v1.2/favicons/android-72x72.png sizes=72x72><link rel=icon type=image/png href=/v1.2/favicons/android-96x96.png sizes=96xW96><link rel=icon type=image/png href=/v1.2/favicons/android-144x144.png sizes=144x144><link rel=icon type=image/png href=/v1.2/favicons/android-192x192.png sizes=192x192><link rel=manifest href=/v1.2/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.2/css/all.css><script src=/v1.2/js/themes_init.min.js></script></head><body class="language-unknown archive-site"><script>const branchName="release-1.2";const docTitle="FAQ";const iconFile="\/v1.2/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.2/js/all.min.js data-manual defer></script><header><nav><a id=brand href=/v1.2/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.2</span></a><div id=hamburger><svg class="icon"><use xlink:href="/v1.2/img/icons.svg#hamburger"/></svg></div><div id=header-links><a title="了解如何部署、使用和运维 Istio。" href=/v1.2/zh/docs/>文档</a>
|
||
<a title="关于使用 Istio 的博客文章。" href=/v1.2/zh/blog/2019/announcing-1.1.3/>博客</a>
|
||
<span title=关于Istio的常见问题。>FAQ</span>
|
||
<a title=关于Istio的说明。 href=/v1.2/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.2/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/faq\/');return false;">当前版本</a>
|
||
<a tabindex=-1 role=menuitem onclick="navigateToUrlOrRoot('https://preliminary.istio.io/faq\/');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.2/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.2/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.2/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.2/img/icons.svg#faq"/></svg>FAQ</div><div class="body default" aria-labelledby=header0><ul role=tree aria-expanded=true class=leaf-section aria-labelledby=header0><li role=none><a role=treeitem title=常见问题。 href=/v1.2/zh/faq/general/>常见问题</a></li><li role=none><a role=treeitem title="安装 Q & A。" href=/v1.2/zh/faq/setup/>安装</a></li><li role=none><a role=treeitem title=安全方面的常见问题。 href=/v1.2/zh/faq/security/>安全</a></li><li role=none><a role=treeitem title="Mixer Q & A。" href=/v1.2/zh/faq/mixer/>Mixer</a></li><li role=none><a role=treeitem title=度量和日志的常见问题。 href=/v1.2/zh/faq/metrics-and-logs/>度量和日志</a></li><li role=none><a role=treeitem title="遥测 Q & A." href=/v1.2/zh/faq/telemetry/>遥测</a></li><li role=none><a role=treeitem title=分布式追踪问答。 href=/v1.2/zh/faq/distributed-tracing/>分布式追踪</a></li><li role=none><a role=treeitem title="流量管理 Q & A。" href=/v1.2/zh/faq/traffic-management/>流量管理</a></li></ul></div></div></div></nav></div><div class=article-container><nav aria-label=Breadcrumb><ol><li><a href=/v1.2/zh/>Istio</a></li><li>FAQ</li></ol></nav><article aria-labelledby=title><div class=title-area><i class=title-icon><svg class="icon"><use xlink:href="/v1.2/img/icons.svg#faq"/></svg></i><div><h1 id=title>FAQ</h1></div></div><p>你遇到问题了吗?我们有答案!</p><div class=faq-landing><div><div class=panel><div class=header>常见问题</div><nav class=body><ul aria-label=常见问题><li role=none><a href=/v1.2/zh/faq/general/#what-is-istio>Istio 是什么?</a></li><li role=none><a href=/v1.2/zh/faq/general/#why-use-istio>我为什么要使用 Istio ?</a></li><li role=none><a href=/v1.2/zh/faq/general/#how-do-i-get-started>我应该如何开始使用 Istio ?</a></li><li role=none><a href=/v1.2/zh/faq/general/#what-is-the-license>Istio 的许可证是什么?</a></li><li role=none><a href=/v1.2/zh/faq/general/#how-was-istio-started>Istio 是如何开始的?</a></li><li role=none><a href=/v1.2/zh/faq/general/#what-deployment-environment>支持哪些部署环境?</a></li><li role=none><a href=/v1.2/zh/faq/general/#how-do-i-contribute>如何做出贡献?</a></li><li role=none><a href=/v1.2/zh/faq/general/#istio-partners-and-vendors>如何发现有关合作伙伴和供应商机会的更多信息?</a></li><li role=none><a href=/v1.2/zh/faq/general/#where-is-the-documentation>文档在哪里?</a></li><li role=none><a href=/v1.2/zh/faq/general/#istio-doesnt-work>Istio 不工作了应该怎么做?</a></li><li role=none><a href=/v1.2/zh/faq/general/#roadmap>Istio 的路线图是什么?</a></li><li role=none><a href=/v1.2/zh/faq/general/#what-does-istio-mean>Istio 这个单词的意思是什么?</a></li><li role=none><a href=/v1.2/zh/faq/general/#how-to-join-slack>如何加入 Istio Slack 工作空间?</a></li></ul></nav></div></div><div><div class=panel><div class=header>安装</div><nav class=body><ul aria-label=安装><li role=none><a href=/v1.2/zh/faq/setup/#k8s-sidecar-injection-not-working>Kubernetes - 我该如何调试 sidecar 自动注入的问题?</a></li><li role=none><a href=/v1.2/zh/faq/setup/#k8s-migrating>Kubernetes - 我可以将已安装的 Istio 0.1.x 迁移到 0.2.x 吗?</a></li><li role=none><a href=/v1.2/zh/faq/setup/#consul-app-not-working>Consul - 我的应用程序无法正常工作,我该如何调试并解决问题?</a></li><li role=none><a href=/v1.2/zh/faq/setup/#consul-unset-context>Consul - 如何取消最后由 kubectl 更改的上下文?</a></li></ul></nav></div></div><div><div class=panel><div class=header>安全</div><nav class=body><ul aria-label=安全><li role=none><a href=/v1.2/zh/faq/security/#enabling-disabling-mtls>安装 Istio 之后如何启用或者禁用双向 TLS?</a></li><li role=none><a href=/v1.2/zh/faq/security/#check-policy>如何检查服务是否启动了双向 TLS?</a></li><li role=none><a href=/v1.2/zh/faq/security/#auth-mix-and-match>同一集群中是否可以仅对部分服务启用双向 TLS ?</a></li><li role=none><a href=/v1.2/zh/faq/security/#non-istio-to-istio>如果全局启用了双向 TLS,非 Istio 服务可以访问 Istio 服务吗?</a></li><li role=none><a href=/v1.2/zh/faq/security/#accessing-non-istio-services>如何使用 Istio 的服务访问非 Istio 服务?</a></li><li role=none><a href=/v1.2/zh/faq/security/#k8s-health-checks>当启用双向 TLS 认证时应该如何使用 Kubernetes liveness 和 readiness 对服务进行健康检查?</a></li><li role=none><a href=/v1.2/zh/faq/security/#cert-lifetime-config>如何配置 Istio 证书的有效期?</a></li><li role=none><a href=/v1.2/zh/faq/security/#does-istio-support-authorization>Istio 是否支持授权和鉴权?</a></li><li role=none><a href=/v1.2/zh/faq/security/#use-k8s-secrets>Istio 权限认证是否使用了 Kubernetes secrets?</a></li><li role=none><a href=/v1.2/zh/faq/security/#secret-encryption>工作负载中的密钥和证书是加密存储的么?</a></li><li role=none><a href=/v1.2/zh/faq/security/#secure-ingress>Istio 中如何配置 Ingress 令其仅接受 TLS 连接?</a></li><li role=none><a href=/v1.2/zh/faq/security/#https-overlay>我可以为 HTTPS 服务安装 Istio sidecar 吗?</a></li></ul></nav></div></div><div><div class=panel><div class=header>Mixer</div><nav class=body><ul aria-label=Mixer><li role=none><a href=/v1.2/zh/faq/mixer/#why-mixer>为什么 Istio 需要 Mixer?</a></li><li role=none><a href=/v1.2/zh/faq/mixer/#seeing-mixer-config>如何查看 Mixer 配置?</a></li><li role=none><a href=/v1.2/zh/faq/mixer/#attribute-expressions>Mixer 支持的全部属性表达式有哪些?</a></li><li role=none><a href=/v1.2/zh/faq/mixer/#mixer-self-monitoring>Mixer 是否提供内部监控?</a></li><li role=none><a href=/v1.2/zh/faq/mixer/#writing-custom-adapters>如何为 Mixer 编写自定义适配器?</a></li><li role=none><a href=/v1.2/zh/faq/mixer/#header-rules>为什么我的规则无法匹配?</a></li></ul></nav></div></div><div><div class=panel><div class=header>度量和日志</div><nav class=body><ul aria-label=度量和日志><li role=none><a href=/v1.2/zh/faq/metrics-and-logs/#accessing-telemetry-via-rest>可以通过 REST 方式访问 Istio 度量数据吗?</a></li><li role=none><a href=/v1.2/zh/faq/metrics-and-logs/#controlling-what-the-sidecar-reports>如何控制被 sidecar 报告的数据?</a></li><li role=none><a href=/v1.2/zh/faq/metrics-and-logs/#prometheus-for-non-k8s>Prometheus 适配器能在非 Kubernetes 环境下使用吗?</a></li><li role=none><a href=/v1.2/zh/faq/metrics-and-logs/#life-of-a-request>如何获知 Istio 中一个请求的生命周期?</a></li><li role=none><a href=/v1.2/zh/faq/metrics-and-logs/#prometheus-application-metrics>我能在 Istio 中使用 Prometheus 抓取应用指标么?</a></li></ul></nav></div></div><div><div class=panel><div class=header>遥测</div><nav class=body><ul aria-label=遥测><li role=none><a href=/v1.2/zh/faq/telemetry/#accessing-telemetry-via-rest>遥测数据可以通过 REST 接口查看吗?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#istio-copy-headers>为什么 Istio 不能取代应用程序来传播 header?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#controlling-what-the-sidecar-reports>如何控制由 sidecar 上报的数据?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#no-tracing>请求没有被追踪</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#prometheus-for-non-k8s>Prometheus 适配器可以用于非 Kubernetes 环境吗?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#vert.x>Istio 支持追踪 vert.x 事件总线消息吗?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#disabling-zipkin>如何禁用 Istio 发送追踪 span 至 Zipkin?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#external-zipkin>Istio 能将追踪信息发送到外部 ZipKin 实例吗?</a></li><li role=none><a href=/v1.2/zh/faq/telemetry/#zipkin-and-x-request-id>在 Istio 使用 ZipKin 功能时,是否可以返回 x-request-id?</a></li></ul></nav></div></div><div><div class=panel><div class=header>分布式追踪</div><nav class=body><ul aria-label=分布式追踪><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#how-distributed-tracing-works>如何使用 Istio 实现分布式追踪?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#how-to-support-tracing>使用 Istio 进行分布式追踪需要什么?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#how-envoy-based-tracing-works>基于 Envoy 的追踪是如何工作的?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#how-mixer-based-tracing-works>基于 Mixer 的追踪是如何工作的?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#minimal-requirements>分布式追踪所需的最小 Istio 配置是什么?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#initial-zipkin-header>初始的 Zipkin (B3) HTTP header 由谁生成?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#istio-copy-headers>为什么 Istio 不能取代应用程序来传播 header?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#no-tracing>为什么我的请求没有被追踪?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#control-sampling>如何控制追踪数量?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#disabling-tracing>如何禁用追踪?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#external-zipkin>Istio 可以将追踪信息发送到外部的 Zipkin 兼容实例后端吗?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#vert.x>Istio 支持请求跟踪 vert.x 事件总线消息吗?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#mixer-role>Mixer 在 Istio 的跟踪过程中起到了什么作用?</a></li><li role=none><a href=/v1.2/zh/faq/distributed-tracing/#why-mixer-spans>为什么我只在部分分布式追踪中看到 `istio-mixer` span ?</a></li></ul></nav></div></div><div><div class=panel><div class=header>流量管理</div><nav class=body><ul aria-label=流量管理><li role=none><a href=/v1.2/zh/faq/traffic-management/#viewing-current-rules>如何查看当前配置在 Istio 中的路由规则?</a></li><li role=none><a href=/v1.2/zh/faq/traffic-management/#ingress-with-no-route-rules>可以使用标准的 ingress 规范而不使用任何路由规则吗?</a></li><li role=none><a href=/v1.2/zh/faq/traffic-management/#naming-port-convention>程序部署文件中的端口命名约定是怎么样的?</a></li></ul></nav></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.2.5 now" href=https://github.com/istio/istio/releases/tag/1.2.5 aria-label="Download Istio"><span>download</span><svg class="icon"><use xlink:href="/v1.2/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.2/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.2/img/icons.svg#stackoverflow"/></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.2/img/icons.svg#slack"/></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.2/img/icons.svg#twitter"/></svg></a><div class=tag>对于用户</div></div><div class=info><p class=copyright>中文内容由 ServiceMesher 社区维护,部分文档可能稍微滞后于英文版本,同步工作持续进行中<br>Istio 归档
|
||
1.2.5<br>© 2019 Istio Authors, <a href=https://policies.google.com/privacy>隐私政策</a><br>归档于 2019年9月12日</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.2/img/icons.svg#github"/></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.2/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.2/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.2/img/icons.svg#top"/></svg></button></div></body></html> |