def METHOD_NAME(api_client=None):
    """
    Return namespaces.
    This returns some namespace data
    """
    datanamespaces = []
    try:
        load_kubernetes_config()
        core_v1 = kubernetes.client.CoreV1Api(api_client=api_client)
        namespaces = core_v1.list_namespace().items
    except Exception as e:
        print("Cant connect to the cluster: %s" % (e))
        return []
    for namespace in namespaces:
        datanamespaces.append({'name': namespace.metadata.name,
                               'status': namespace.status.phase})
    return datanamespaces