kubectl run nginx --image=nginx
##########
kubectl expose pod nginx --name=nginx-svc --port 8080 --target-port 8080
########
kubectl run busybox --image=busybox:1.28 -it – nslookup nginx-svc ![]()
#############
kubectl run busybox --image=busybox:1.28 -it – nslookup {podip(10-9-2-10.default.pod} ![]()
here i’m not able to nslookup in this
pls help and correct me whre im wrong