You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/services-networking/dual-stack.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,28 +40,24 @@ The following prerequisites are needed in order to utilize IPv4/IPv6 dual-stack
40
40
* Kubernetes 1.16 or later
41
41
* Provider support for dual-stack networking (Cloud provider or otherwise must be able to provide Kubernetes nodes with routable IPv4/IPv6 network interfaces)
42
42
* A network plugin that supports dual-stack (such as Kubenet or Calico)
43
-
* Kube-proxy running in mode IPVS
44
43
45
44
## Enable IPv4/IPv6 dual-stack
46
45
47
46
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:
*`--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6` defaults to /24 for IPv4 and /64 for IPv6
54
55
* kubelet:
55
56
*`--feature-gates="IPv6DualStack=true"`
56
57
* kube-proxy:
57
-
*`--proxy-mode=ipvs`
58
58
*`--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
59
59
*`--feature-gates="IPv6DualStack=true"`
60
60
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
-
65
61
## Services
66
62
67
63
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