Difference between revisions of "Dnsutils"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
  Failed to load logs: container "dnsutils" in pod "dnsutils" is waiting to start: [[trying and failing to pull image]]
 
  Failed to load logs: container "dnsutils" in pod "dnsutils" is waiting to start: [[trying and failing to pull image]]
 
  Reason: BadRequest (400)
 
  Reason: BadRequest (400)
 +
 +
== See also ==
 +
* {{kubectl exec}}
 +
* {{kubectl}}
 +
 +
 +
 +
[[Category:Kubernetes]]
 +
[[Category:CKAD]]

Revision as of 15:23, 30 March 2023

kubectl run -i -t dnsutils --image=tutum/dnsutils  -- bash
If you don't see a command prompt, try pressing enter.
root@dnsutils:/#


root@dnsutils:/# nslookup redis-master.default
Server:		172.20.0.10
Address:	172.20.0.10#53

Name:	redis-master.default.svc.cluster.local
Address: 172.20.80.83


kubectl exec -i -t dnsutils -- nslookup redis-master.default
Error from server (NotFound): pods "dnsutils" not found
Failed to load logs: container "dnsutils" in pod "dnsutils" is waiting to start: trying and failing to pull image
Reason: BadRequest (400)

See also

Advertising: