Update dual-stack node.status

Add missing comment about node addresses and podIPs order:
https://github.com/kubernetes/kubernetes/pull/95239
https://github.com/kubernetes/kubernetes/pull/97979
This commit is contained in:
Antonio Ojea
2021-08-25 12:29:12 +02:00
committed by GitHub
parent 6e892c39bc
commit 4001b9cd7a
@@ -59,6 +59,10 @@ To configure IPv4/IPv6 dual-stack, 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
* kube-proxy:
* `--cluster-cidr=<IPv4 CIDR>,<IPv6 CIDR>`
* kubelet:
* when there is no `--cloud-provider` the administrator can pass a comma-separated pair of IPs via `--node-ip`
to manually configure dual-stack `node.status.addresses`. HostNetwork pods will report these IPs in `.status.podIPs`.
All `podIPs` in a node will match the IP family preference defined by the `node.status.addresses` on that node.
{{< note >}}
An example of an IPv4 CIDR: `10.244.0.0/16` (though you would supply your own address range)