Mock-Exam 2 Problem 7/ After createing service I am getting time out

Hi,

As per question 7, i have created successfully pods and service but I am stuck with the nslookup part of the question. Solution video doesn’t work for me I am getting time out.Can someone please advise?

kubectl run testing --image=busybox:1.28 exec -it – nslookup nginx-resolver-service

error: timed out waiting for the condition
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 443/TCP 67m
nginx-resolver-service ClusterIP 10.107.130.44 80/TCP 17m
controlplane $ kubectl run testing --image=busybox:1.28 exec -it – nslookup nginx-resolver-service

Plz try --restart=Never option… kubectl run testing --image=busybox:1.28 --restart=Never exec -it – nslookup nginx-resolver-service