adding windows commands

Signed-off-by: Mike Stevenson <Mike.Stevenson@us.logicalis.com>
This commit is contained in:
Mike Stevenson
2017-10-24 16:33:07 -07:00
parent 197fc5029c
commit 2ca33ac451

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