adding windows commands

Signed-off-by: Mike Stevenson <Mike.Stevenson@us.logicalis.com>
pull/252/head
Mike Stevenson 2017-10-24 16:33:07 -07:00
parent 197fc5029c
commit 2ca33ac451
1 changed files with 6 additions and 0 deletions

View File

@ -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:
```