Skip to content

Commit 7f3e885

Browse files
authored
Merge pull request #28155 from zhiguo-lu/zh-trans-task-enabling-topology-aware-hints
[zh] translate tasks/Enabling Topology Aware Hints
2 parents e10fada + 11bc6b4 commit 7f3e885

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: 启用拓扑感知提示
3+
content_type: task
4+
min-kubernetes-server-version: 1.21
5+
---
6+
<!--
7+
---
8+
reviewers:
9+
- robscott
10+
title: Enabling Topology Aware Hints
11+
content_type: task
12+
min-kubernetes-server-version: 1.21
13+
---
14+
-->
15+
16+
<!-- overview -->
17+
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
18+
19+
<!--
20+
_Topology Aware Hints_ enable topology aware routing with topology hints
21+
included in {{< glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}}.
22+
This approach tries to keep traffic close to where it originated from;
23+
you might do this to reduce costs, or to improve network performance.
24+
-->
25+
_拓扑感知提示_ 启用具有拓扑感知能力的路由,其中拓扑感知信息包含在
26+
{{< glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}} 中。
27+
此功能尽量将流量限制在它的发起区域附近;
28+
可以降低成本,或者提高网络性能。
29+
30+
## {{% heading "prerequisites" %}}
31+
32+
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
33+
34+
<!--
35+
The following prerequisite is needed in order to enable topology aware hints:
36+
37+
* Configure the {{< glossary_tooltip text="kube-proxy" term_id="kube-proxy" >}} to run in
38+
iptables mode or IPVS mode
39+
* Ensure that you have not disabled EndpointSlices
40+
-->
41+
为了启用拓扑感知提示,先要满足以下先决条件:
42+
43+
* 配置 {{< glossary_tooltip text="kube-proxy" term_id="kube-proxy" >}}
44+
以 iptables 或 IPVS 模式运行
45+
* 确保未禁用 EndpointSlices
46+
47+
<!--
48+
## Enable Topology Aware Hints
49+
-->
50+
## 启动拓扑感知提示 {#enable-topology-aware-hints}
51+
52+
<!--
53+
To enable service topology hints, enable the `TopologyAwareHints` [feature
54+
gate](/docs/reference/command-line-tools-reference/feature-gates/) for the
55+
kube-apiserver, kube-controller-manager, and kube-proxy:
56+
-->
57+
要启用服务拓扑感知,请启用 kube-apiserver、kube-controller-manager、和 kube-proxy 的
58+
[特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/)
59+
`TopologyAwareHints`
60+
61+
```
62+
--feature-gates="TopologyAwareHints=true"
63+
```
64+
65+
## {{% heading "whatsnext" %}}
66+
67+
<!--
68+
* Read about [Topology Aware Hints](/docs/concepts/services-networking/topology-aware-hints) for Services
69+
* Read [Connecting Applications with Services](/docs/concepts/services-networking/connect-applications-service/)
70+
-->
71+
* 参阅面向服务的[拓扑感知提示](/zh/docs/concepts/services-networking/topology-aware-hints)
72+
* 参阅[用服务连通应用](/zh/docs/concepts/services-networking/connect-applications-service/)

0 commit comments

Comments
 (0)