Add a new API of get_by_pod_name for pod object

In k8s, pod name cannot be duplicated and some end users want to
get pod by name.

Change-Id: Ic8b6273de914949e4799446e68e5e2d51bfab8b9
Merge "Add a new API of get_by_pod_name for pod object"