From d103b70447c12fd53b9467d46e3fa47919d6f837 Mon Sep 17 00:00:00 2001 From: Thomas George Hartland Date: Wed, 7 Apr 2021 16:36:17 +0200 Subject: [PATCH] Enable magnum provider scale to zero Now supported by magnum. https://review.opendev.org/c/openstack/magnum/+/737580/ If using node group autodiscovery, older versions of magnum will still forbid scaling to zero or setting the minimum node count to zero. --- cluster-autoscaler/cloudprovider/magnum/magnum_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/cloudprovider/magnum/magnum_util.go b/cluster-autoscaler/cloudprovider/magnum/magnum_util.go index 7e4bfa3224f6..688154cfead6 100644 --- a/cluster-autoscaler/cloudprovider/magnum/magnum_util.go +++ b/cluster-autoscaler/cloudprovider/magnum/magnum_util.go @@ -24,7 +24,7 @@ import ( ) const ( - scaleToZeroSupported = false + scaleToZeroSupported = true ) // NodeRef stores the name, systemUUID and providerID of a node.