api_response = api_instance.read_namespaced_pod(name='pod-name',namespace='namespace-name') #But to get specifically the name of those, use something like this: for i in api_response.items: print("%s" %(i.metadata.name))