Aditya Pratap Bhuyan:
There is some issue with question # 7 for Mock Exam 2 in CKA.
Create an nginx pod called
nginx-resolver using image
nginx, expose it internally with a service called
nginx-resolver-service. Test that you are able to look up the service and pod names from within the cluster. Use the image: busybox:1.28 for dns lookup. Record results in
For this when I am running the command to divert nslookup output the pod is timing out without showing the output
k run --generator=run-pod/v1 ns-test-pod --image=busybox:1.28.0 --rm -it -- nslookup nginx-resolver-service
When I am logging into the pod and using nslookup it is working fine.