Skip to content

Commit

Permalink
Update content/en/docs/tasks/network/validate-dual-stack.md
Browse files Browse the repository at this point in the history
Use set instead of env

Co-Authored-By: Khaled Henidak (Kal) <[email protected]>
  • Loading branch information
lachie83 and khenidak authored Nov 22, 2019
1 parent 4d303fe commit f62820a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions content/en/docs/tasks/network/validate-dual-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You can also validate Pod IPs using the Downward API via the `status.podIPs` fie

The following command prints the value of the `MY_POD_IPS` environment variable from within a container. The value is a comma separated list that corresponds to the Pod's IPv4 and IPv6 addresses.
```shell
kubectl exec -it pod01 -- env | grep MY_POD_IPS
kubectl exec -it pod01 -- set | grep MY_POD_IPS
```
```
MY_POD_IPS=10.244.1.4,a00:100::4
Expand Down Expand Up @@ -158,4 +158,3 @@ my-service ClusterIP fe80:20d::d06b 2001:db8:f100:4002::9d37:c0d7 80:318
{{% /capture %}}

0 comments on commit f62820a

Please sign in to comment.