diff --git a/src/mist/api/clouds/controllers/compute/controllers.py b/src/mist/api/clouds/controllers/compute/controllers.py index 5c7b94267..c385ce4cf 100644 --- a/src/mist/api/clouds/controllers/compute/controllers.py +++ b/src/mist/api/clouds/controllers/compute/controllers.py @@ -5818,6 +5818,9 @@ def _list_sizes__get_cpu(self, size): cpu = 1 return cpu + def _list_sizes__fetch_sizes(self): + return [] + class KubernetesComputeController(_KubernetesBaseComputeController): def _connect(self, **kwargs): diff --git a/src/mist/api/config.py b/src/mist/api/config.py index 1028f2864..b0a6db473 100755 --- a/src/mist/api/config.py +++ b/src/mist/api/config.py @@ -2056,6 +2056,31 @@ def dirname(path, num=1): 'storage': False, } }, + 'kubernetes': { + 'name': 'Kubernetes', + 'aliases': [], + 'driver': 'kubernetes', + 'category': 'container host', + 'features': { + 'compute': True, + 'console': False, + 'container': { + 'container-service': True, + }, + 'provision': { + 'location': True, + 'custom_size': True, + 'key': False, + 'custom_image': True, + 'restrictions': { + 'size-image-restriction': False, + 'location-size-restriction': False, + 'location-image-restriction': False, + }, + }, + 'storage': True, + } + }, 'kubevirt': { 'name': 'KubeVirt', 'aliases': [],