@@ -15,7 +15,7 @@ weight: 45
15
15
16
16
<!-- overview -->
17
17
18
- {{< feature-state for_k8s_version="v1.21 " state="alpha " >}}
18
+ {{< feature-state for_k8s_version="v1.23 " state="beta " >}}
19
19
20
20
<!--
21
21
_Service Internal Traffic Policy_ enables internal traffic restrictions to only route
@@ -35,16 +35,16 @@ _服务内部流量策略_ 开启了内部流量限制,只路由内部流量
35
35
## 使用服务内部流量策略 {#using-service-internal-traffic-policy}
36
36
37
37
<!--
38
- Once you have enabled the `ServiceInternalTrafficPolicy`
39
- [feature gate](/docs/reference/command-line-tools-reference/ feature-gates/),
40
- you can enable an internal-only traffic policy for a
38
+ The `ServiceInternalTrafficPolicy` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
39
+ is a Beta feature and enabled by default.
40
+ When the feature is enabled, you can enable the internal-only traffic policy for a
41
41
{{< glossary_tooltip text="Services" term_id="service" >}}, by setting its
42
42
`.spec.internalTrafficPolicy` to `Local`.
43
43
This tells kube-proxy to only use node local endpoints for cluster internal traffic.
44
44
-->
45
- 一旦你启用了 ` ServiceInternalTrafficPolicy ` 这个
46
- [ 特性门控] ( /zh/docs/reference/command-line-tools-reference/feature-gates/ ) ,
47
- 你就可以通过将 {{< glossary_tooltip text="Services" term_id="service" >}} 的
45
+ ` ServiceInternalTrafficPolicy `
46
+ [ 特性门控] ( /zh/docs/reference/command-line-tools-reference/feature-gates/ ) 是 Beta 功能,默认启用。
47
+ 启用该功能后, 你就可以通过将 {{< glossary_tooltip text="Services" term_id="service" >}} 的
48
48
` .spec.internalTrafficPolicy ` 项设置为 ` Local ` ,
49
49
来为它指定一个内部专用的流量策略。
50
50
此设置就相当于告诉 kube-proxy 对于集群内部流量只能使用本地的服务端口。
0 commit comments