def create_cluster(self, name, location=None):
        request = {
            'metadata': {
                'name': name
            }
        }
        result = self.connection.request(ROOT_URL + "v1/namespaces",
                                         method='POST',
                                         data=json.dumps(request)).object
        return self._to_cluster(result)
Create a container cluster (a namespace)
dataset/ETHPy150Open apache/libcloud/libcloud/container/drivers/kubernetes.py/KubernetesContainerDriver.create_cluster