Skip to content

Commit c382c15

Browse files
authored
Merge pull request #20694 from lachie83/dualstack-1-18-fixes
Dualstack doc updates for 1.18
2 parents fedca0e + b176281 commit c382c15

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,24 @@ The following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack
4040
* Kubernetes 1.16 or later
4141
* Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)
4242
* A network plugin that supports dual-stack (such as Kubenet or Calico)
43-
* Kube-proxy running in mode IPVS
4443

4544
## Enable IPv4/IPv6 dual-stack
4645

4746
To enable IPv4/IPv6 dual-stack, enable the `IPv6DualStack` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the relevant components of your cluster, and set dual-stack cluster network assignments:
4847

48+
* kube-apiserver:
49+
* `--feature-gates="IPv6DualStack=true"`
4950
* kube-controller-manager:
5051
* `--feature-gates="IPv6DualStack=true"`
51-
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>` eg. `--cluster-cidr=10.244.0.0/16,fc00::/24`
52-
* `--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>`
52+
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>` eg. `--cluster-cidr=10.244.0.0/16,fc00::/48`
53+
* `--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>` eg. `--service-cluster-ip-range=10.0.0.0/16,fd00::/108`
5354
* `--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6` defaults to /24 for IPv4 and /64 for IPv6
5455
* kubelet:
5556
* `--feature-gates="IPv6DualStack=true"`
5657
* kube-proxy:
57-
* `--proxy-mode=ipvs`
5858
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
5959
* `--feature-gates="IPv6DualStack=true"`
6060

61-
{{< caution >}}
62-
If you specify an IPv6 address block larger than a /24 via `--cluster-cidr` on the command line, that assignment will fail.
63-
{{< /caution >}}
64-
6561
## Services
6662

6763
If your cluster has IPv4/IPv6 dual-stack networking enabled, you can create {{< glossary_tooltip text="Services" term_id="service" >}} with either an IPv4 or an IPv6 address. You can choose the address family for the Service's cluster IP by setting a field, `.spec.ipFamily`, on that Service.

0 commit comments

Comments
 (0)