Skip to content

Commit 6d83af2

Browse files
[Doc] Updates to dual-stack section (#621)
Signed-off-by: Sridhar Gaddam <[email protected]>
1 parent 14dcddb commit 6d83af2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ Kubernetes supports dual-stack networking as a stable feature starting from
17331733
[v1.23](https://kubernetes.io/docs/concepts/services-networking/dual-stack/), allowing clusters to handle both
17341734
IPv4 and IPv6 traffic. With many cloud providers also beginning to offer dual-stack Kubernetes clusters, it's easier
17351735
than ever to run services that function across both address types. Istio introduced dual-stack as an experimental
1736-
feature in version 1.17, and it's expected to be promoted to [Alpha](https://github.com/istio/istio/issues/47998) in
1736+
feature in version 1.17, and promoted it to [Alpha](https://istio.io/latest/news/releases/1.24.x/announcing-1.24/change-notes/) in
17371737
version 1.24. With Istio in dual-stack mode, services can communicate over both IPv4 and IPv6 endpoints, which helps
17381738
organizations transition to IPv6 while still maintaining compatibility with their existing IPv4 infrastructure.
17391739

@@ -1834,13 +1834,7 @@ Note: If you installed the KinD cluster using the command above, install the [Sa
18341834
kubectl label --overwrite namespace sleep istio-injection=enabled
18351835
```
18361836

1837-
3. Ensure that the tcp-echo service in the dual-stack namespace is configured with `ipFamilyPolicy` of RequireDualStack.
1838-
```console
1839-
kubectl get service tcp-echo -n dual-stack -o=jsonpath='{.spec.ipFamilyPolicy}'
1840-
RequireDualStack
1841-
```
1842-
1843-
4. Deploy the pods and services in their respective namespaces.
1837+
3. Deploy the pods and services in their respective namespaces.
18441838
```sh
18451839
kubectl apply -n dual-stack -f https://raw.githubusercontent.com/istio/istio/release-1.23/samples/tcp-echo/tcp-echo-dual-stack.yaml
18461840
kubectl apply -n ipv4 -f https://raw.githubusercontent.com/istio/istio/release-1.23/samples/tcp-echo/tcp-echo-ipv4.yaml
@@ -1849,6 +1843,12 @@ Note: If you installed the KinD cluster using the command above, install the [Sa
18491843
kubectl wait --for=condition=Ready pod -n sleep -l app=sleep --timeout=60s
18501844
```
18511845

1846+
4. Ensure that the tcp-echo service in the dual-stack namespace is configured with `ipFamilyPolicy` of RequireDualStack.
1847+
```console
1848+
kubectl get service tcp-echo -n dual-stack -o=jsonpath='{.spec.ipFamilyPolicy}'
1849+
RequireDualStack
1850+
```
1851+
18521852
5. Verify that sleep pod is able to reach the dual-stack pods.
18531853
```console
18541854
kubectl exec -n sleep "$(kubectl get pod -n sleep -l app=sleep -o jsonpath='{.items[0].metadata.name}')" -- sh -c "echo dualstack | nc tcp-echo.dual-stack 9000"

0 commit comments

Comments
 (0)