'Get a list of namespaces that pods can be deployed into
:param  location: The location to search in
:type   location: :class:`libcloud.container.base.ClusterLocation`
:rtype: ``list`` of :class:`libcloud.container.base.ContainerCluster`'

def list_clusters(self):

    try:
        result = self.connection.request((ROOT_URL + 'v1/namespaces/')).object
    except Exception as exc:
        errno = getattr(exc, 'errno', None)
        if (errno == 111):
            raise KubernetesException(errno, 'Make    sure    kube    host    is    accessibleand    the    API    port    is    correct')
        raise
    clusters = [self._to_cluster(value) for value in result['items']]
    return clusters
