mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
Merge pull request #14033 from gosharplite/patch-8
nslookup in different namespace
This commit is contained in:
commit
943d7160d5
@ -142,7 +142,7 @@ busybox 1/1 Running 0 <some-time>
|
|||||||
### 3 Validate DNS works
|
### 3 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
|
kubectl exec busybox -- nslookup kubernetes.default
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see something like:
|
You should see something like:
|
||||||
@ -150,7 +150,7 @@ 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
|
||||||
|
|
||||||
Name: kubernetes
|
Name: kubernetes.default
|
||||||
Address 1: 10.0.0.1
|
Address 1: 10.0.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user