tom@tom:~$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
example-prod NodePort 10.102.119.57 80:30008/TCP 128m
kubernetes ClusterIP 10.96.0.1 443/TCP 144m
Hi @robi050993,
Sorry, I don’t get your point. Can you please share more details? What do you mean by “pod is working but not working in cluster”?
What do I have to do with the service YAML file? Please share the Pod defnition file, also.
Thank you Tej,I started to learning kubernetes now,thats only i am not able to clear my issue.
my ngnix pod is working fine.I loged in ngnix pod and ab;e to access port inside pod,But not able to access outside pod.How to get access it through nodeport service.