Fix code fencing for DNS validation example

This commit is contained in:
Robert Ross 2016-10-10 19:39:14 -04:00 committed by GitHub
parent 2928804b6e
commit ced57785df
1 changed files with 3 additions and 0 deletions

View File

@ -166,12 +166,15 @@ busybox 1/1 Running 0 <some-time>
``` ```
### Validate DNS works ### Validate DNS works
Once that pod is running, you can exec nslookup in that environment: Once that pod is running, you can exec nslookup in that environment:
``` ```
kubectl exec busybox -- nslookup kubernetes.default kubectl exec busybox -- nslookup kubernetes.default
``` ```
You should see something like: You should see something like:
``` ```
Server: 10.0.0.10 Server: 10.0.0.10
Address 1: 10.0.0.10 Address 1: 10.0.0.10