api_response = api_instance.list_namespaced_pod(namespace, pretty=pretty, timeout_seconds=timeout_seconds, watch=watch) for i in api_response.items: print(i.metadata.name + " " + i.status.phase)