Skip to content

Commit

Permalink
Make IP addressing consistent throughout the task
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Evenson <[email protected]>
  • Loading branch information
lachie83 committed Nov 16, 2019
1 parent 88abfd8 commit 9b02b93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/tasks/network/validate-dual-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The following command prints the value of the `MY_POD_IPS` environment variable
kubectl exec -it pod01 -- env | grep MY_POD_IPS
```
```
MY_POD_IPS=10.244.0.6,fd00::6
MY_POD_IPS=10.244.1.4,a00:100::4
```

The Pod's IP addresses will also be written to `/etc/hosts` within a container. The following command executes a cat on `/etc/hosts` on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.
Expand All @@ -89,8 +89,8 @@ fe00::0 ip6-localnet
fe00::0 ip6-mcastprefix
fe00::1 ip6-allnodes
fe00::2 ip6-allrouters
10.244.0.6 nginx-8bff7fdb7-xdzj6
fd00::6 nginx-8bff7fdb7-xdzj6
10.244.1.4 pod01
a00:100::4 pod01
```

## Validate Services
Expand Down

0 comments on commit 9b02b93

Please sign in to comment.