Skip to content

Commit c47f47b

Browse files
authored
Merge pull request #46587 from robert-cronin/improve-dual-stack-docs
Clarify PreferDualStack and RequireDualStack in dual-stack documentation
2 parents 47dd59a + b075163 commit c47f47b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ set the `.spec.ipFamilyPolicy` field to one of the following values:
9191

9292
* `SingleStack`: Single-stack service. The control plane allocates a cluster IP for the Service,
9393
using the first configured service cluster IP range.
94-
* `PreferDualStack`:
95-
* Allocates IPv4 and IPv6 cluster IPs for the Service.
96-
* `RequireDualStack`: Allocates Service `.spec.ClusterIPs` from both IPv4 and IPv6 address ranges.
94+
* `PreferDualStack`: Allocates both IPv4 and IPv6 cluster IPs for the Service when dual-stack is enabled. If dual-stack is not enabled or supported, it falls back to single-stack behavior.
95+
* `RequireDualStack`: Allocates Service `.spec.clusterIPs` from both IPv4 and IPv6 address ranges when dual-stack is enabled. If dual-stack is not enabled or supported, the Service API object creation fails.
9796
* Selects the `.spec.ClusterIP` from the list of `.spec.ClusterIPs` based on the address family
9897
of the first element in the `.spec.ipFamilies` array.
9998

0 commit comments

Comments
 (0)