My understanding is that a Kubernetes service identifies a set of pods.
I use kubectl get pods -n <namespace>
to list the pods in a namespace and this works fine.
How can I list the pods in a specific Kubernetes service? I'd like to find every pod running in a service within a namespace.