From 2ca33ac451744917d8b7316cd5b5d87ecc10100f Mon Sep 17 00:00:00 2001 From: Mike Stevenson Date: Tue, 24 Oct 2017 16:33:07 -0700 Subject: [PATCH] adding windows commands Signed-off-by: Mike Stevenson --- docs/12-dns-addon.md | 6 ++++++ 1 file changed, 6 insertions(+) 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: ```