how to list the all pod implement service my-service under namespace production
struggling to find the answer and required the help as i am new to these technology
Regards
Vijayendra
how to list the all pod implement service my-service under namespace production
struggling to find the answer and required the help as i am new to these technology
Regards
Vijayendra
You can try this : kubectl get pods -n production -l {my-service_selectors_list}
{my-service_selectors_list} like environment=production,tier=frontend …
not working i want to list the pod which associated with particular nodeport service in namespace production
Use a selector of nodeport service with above commands. Definitely you will get.
Service Describe status
final outcome
if the multiple container associated with the nodeport service then i can use the app=redis ,app=nginx if i am not wrong
hi i have the kuberentes real test question can we work on it
thanks
Yes, you can use for all pods associated with this nodeport service.