Skip to content

Commit f3891c9

Browse files
authored
Merge pull request #20715 from bridgetkromhout/cluster-cidr-clarification
Clarification of formatting for IPv4/IPv6 CIDRs
2 parents 10c499f + 1c7dcfc commit f3891c9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,22 @@ To enable IPv4/IPv6 dual-stack, enable the `IPv6DualStack` [feature gate](/docs/
4949
* `--feature-gates="IPv6DualStack=true"`
5050
* kube-controller-manager:
5151
* `--feature-gates="IPv6DualStack=true"`
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`
52+
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
53+
* `--service-cluster-ip-range=<IPv4 CIDR>,<IPv6 CIDR>`
5454
* `--node-cidr-mask-size-ipv4|--node-cidr-mask-size-ipv6` defaults to /24 for IPv4 and /64 for IPv6
5555
* kubelet:
5656
* `--feature-gates="IPv6DualStack=true"`
5757
* kube-proxy:
5858
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
5959
* `--feature-gates="IPv6DualStack=true"`
6060

61+
{{< note >}}
62+
An example of an IPv4 CIDR: `10.244.0.0/16` (though you would supply your own address range)
63+
64+
An example of an IPv6 CIDR: `fdXY:IJKL:MNOP:15::/64` (this shows the format but is not a valid address - see [RFC 4193](https://tools.ietf.org/html/rfc4193))
65+
66+
{{< /note >}}
67+
6168
## Services
6269

6370
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)