def get_pods(kube, namespace):
    """Return a list of pods in a namespace"""

    return kube.list_pod_for_all_namespaces(field_selector='metadata.namespace=%s' % namespace,
                                            include_uninitialized=False,
                                            watch=False)