surapureddy ajay:
Hi Again
While testing nslookup
from test pod , sometimes getting output and sometimes getting timeout error.
controlplane $ kubectl run test --image busybox:1.28 --rm -it -- nslookup 10-244-1-7.default.pod
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs:
Server: 10.96.0.10
Address 1: 10.96.0.10 kube-dns.kube-system.svc.cluster.local
Name: 10-244-1-7.default.pod
Address 1: 10.244.1.7 10-244-1-7.nginx-resolver-service.default.svc.cluster.local
pod "test" deleted
controlplane $ kubectl run test --image busybox:1.28 --rm -it -- nslookup 10-244-1-7.default.pod > /root/CKA/nginx.pod
error: timed out waiting for the condition
controlplane $
May I know what is the reason. Is this something with bandwidth or pod issue?