Skip to content

Commit eca312f

Browse files
committed
update zh doc dual-stack for release-1.18; refer to #20694
1 parent 5985e38 commit eca312f

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

content/zh/docs/concepts/services-networking/dual-stack.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,10 @@ The following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack
7676
* Kubernetes 1.16 or later
7777
* Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)
7878
* A network plugin that supports dual-stack (such as Kubenet or Calico)
79-
* Kube-proxy running in mode IPVS
8079
-->
8180
* Kubernetes 1.16 版本及更高版本
8281
* 提供商支持双协议栈网络(云提供商或其他提供商必须能够为 Kubernetes 节点提供可路由的 IPv4/IPv6 网络接口)
8382
* 支持双协议栈的网络插件(如 Kubenet 或 Calico)
84-
* Kube-proxy 运行在 IPVS 模式
8583

8684
<!--
8785
## Enable IPv4/IPv6 dual-stack
@@ -93,25 +91,19 @@ To enable IPv4/IPv6 dual-stack, enable the `IPv6DualStack` [feature gate](/docs/
9391
-->
9492
要启用 IPv4/IPv6 双协议栈,为集群的相关组件启用 `IPv6DualStack` [特性门控](/docs/reference/command-line-tools-reference/feature-gates/),并且设置双协议栈的集群网络分配:
9593

94+
* kube-apiserver:
95+
* `--feature-gates="IPv6DualStack=true"`
9696
* kube-controller-manager:
9797
* `--feature-gates="IPv6DualStack=true"`
98-
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>` 例如 `--cluster-cidr=10.244.0.0/16,fc00::/24`
99-
* `--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>`
98+
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>` 例如 `--cluster-cidr=10.244.0.0/16,fc00::/48`
99+
* `--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>` 例如 `--service-cluster-ip-range=10.0.0.0/16,fd00::/108`
100100
* `--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6` 对于 IPv4 默认为 /24,对于 IPv6 默认为 /64
101101
* kubelet:
102102
* `--feature-gates="IPv6DualStack=true"`
103103
* kube-proxy:
104-
* `--proxy-mode=ipvs`
105104
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
106105
* `--feature-gates="IPv6DualStack=true"`
107106

108-
{{< caution >}}
109-
<!--
110-
If you specify an IPv6 address block larger than a /24 via `--cluster-cidr` on the command line, that assignment will fail.
111-
-->
112-
如果命令行的 `--cluster-cidr` 指定大于 /24 的 IPv6 地址块,地址分配将失败。
113-
{{< /caution >}}
114-
115107
<!--
116108
## Services
117109
-->

0 commit comments

Comments
 (0)