diff --git a/docs/12-dns-addon.md b/docs/12-dns-addon.md index b7ad32a..59285e5 100644 --- a/docs/12-dns-addon.md +++ b/docs/12-dns-addon.md @@ -56,10 +56,16 @@ busybox-2125412808-mt2vb 1/1 Running 0 15s Retrieve the full name of the `busybox` pod: +#### Linux & OS X ``` POD_NAME=$(kubectl get pods -l run=busybox -o jsonpath="{.items[0].metadata.name}") ``` +#### Windows +``` +$POD_NAME=$(kubectl get pods -l run=busybox -o jsonpath="{.items[0].metadata.name}") +``` + Execute a DNS lookup for the `kubernetes` service inside the `busybox` pod: ```