Merge pull request #37443 from YunWZ/patch-4

[zh] Fix typos in IPv4/IPv6 Dual Stack concept (IPv4/IPv6 双协议栈)
This commit is contained in:
Kubernetes Prow Robot 2022-11-06 01:48:14 -08:00 committed by GitHub
commit 185b882378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -8,7 +8,7 @@ feature:
description: >
为 Pod 和 Service 分配 IPv4 和 IPv6 地址
content_type: concept
weight: 70
weight: 90
---
<!--
@ -27,7 +27,7 @@ reviewers:
- khenidak
- aramase
- bridgetkromhout
weight: 70
weight: 90
-->
<!-- overview -->
@ -251,7 +251,7 @@ These examples demonstrate the behavior of various dual-stack Service configurat
will behave in this same way.)
-->
1. 此服务规约中没有显式设定 `.spec.ipFamilyPolicy`。当你创建此服务时Kubernetes
从所配置的第一个 `service-cluster-ip-range` 种为服务分配一个集群IP并设置
从所配置的第一个 `service-cluster-ip-range` 中为服务分配一个集群 IP并设置
`.spec.ipFamilyPolicy``SingleStack`
[无选择算符的服务](/zh-cn/docs/concepts/services-networking/service/#services-without-selectors)
和[无头服务](/zh-cn/docs/concepts/services-networking/service/#headless-services)的行为方式
@ -364,8 +364,8 @@ dual-stack.)
<!--
1. When dual-stack is enabled on a cluster, existing
[headless Services](/docs/concepts/services-networking/service/#headless-services) with selectors
are configured by the control plane to set `.spec.ipFamilyPolicy` to `SingleStack` and set
[headless Services](/docs/concepts/services-networking/service/#headless-services) with selectors are
configured by the control plane to set `.spec.ipFamilyPolicy` to `SingleStack` and set
`.spec.ipFamilies` to the address family of the first service cluster IP range (configured via the
`--service-cluster-ip-range` flag to the kube-apiserver) even though `.spec.ClusterIP` is set to
`None`.
@ -473,8 +473,8 @@ Services can be changed from single-stack to dual-stack and from dual-stack to s
<!--
For [Headless Services without selectors](/docs/concepts/services-networking/service/#without-selectors)
and without `.spec.ipFamilyPolicy` explicitly set, the `.spec.ipFamilyPolicy` field defaults
to `RequireDualStack`.
and without `.spec.ipFamilyPolicy` explicitly set, the `.spec.ipFamilyPolicy` field defaults to
`RequireDualStack`.
-->
对于[不带选择算符的无头服务](/zh-cn/docs/concepts/services-networking/service/#without-selectors)
若没有显式设置 `.spec.ipFamilyPolicy`,则 `.spec.ipFamilyPolicy`