From 43ec1effcdd99709ec27eca9aafd90ad44685d36 Mon Sep 17 00:00:00 2001 From: Zuul Date: Tue, 19 Mar 2019 22:16:15 +0000 Subject: [PATCH] Update git submodules * Update magnum from branch 'master' - Merge "Support /actions/resize API" - Support /actions/resize API Now an OpenStack driver for Kubernetes Cluster Autoscaler is being proposed to support autoscaling when running k8s cluster on top of OpenStack. However, currently there is no way in Magnum to let the external consumer to control which node will be removed. The alternative option is calling Heat API directly but obviously it is not the best solution and it's confusing k8s community. So with this patch, we're going to add a new API: POST /actions/resize And the post body will be: { "node_count": 3, "nodes_to_remove": ["dd9cc5ed-3a2b-11e9-9233-fa163e46bcc2"], "nodegroup": "production_group" } The API will be working in a declarative way. For example, there are 3 nodes in the cluser now, user can propose an API request like above. Magnum will call Heat to remove the node dd9cc5ed-3a2b-11e9-9233-fa163e46bcc2 firstly, then bring the node count back to 3 again. Task: 29563 Story: 2005052 Change-Id: I7e36ce82c3f442976cc498153950b19c56a1759f --- magnum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnum b/magnum index 13e8c11f78..0cd35dbcca 160000 --- a/magnum +++ b/magnum @@ -1 +1 @@ -Subproject commit 13e8c11f784dc4e274e1322dc64a0dab5c38b632 +Subproject commit 0cd35dbcca7a8d032a9275cc2ebfb37d8b99af6a