Feilong Wang 15ecdb8033 Support <ClusterID>/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 <ClusterID>/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
2019-03-19 20:13:17 +00:00
2017-08-21 12:27:52 +00:00
2019-02-11 11:18:08 +01:00
2019-02-11 11:18:08 +01:00
2019-02-11 11:18:08 +01:00
2018-02-13 13:40:34 +00:00
2018-12-18 19:47:56 -05:00
2016-08-28 21:11:07 +01:00
2018-07-13 13:05:52 +07:00
2014-11-18 09:23:37 -05:00
2018-07-13 13:05:52 +07:00
2016-03-04 07:41:12 -05:00
2019-02-10 17:31:17 -08:00
2018-04-20 14:40:19 -04:00
2014-11-18 09:23:37 -05:00
2018-12-08 17:31:44 +00:00
2017-03-07 01:58:36 +00:00
2018-07-13 13:05:52 +07:00
2019-01-15 02:54:28 +00:00

Team and repository tags

image

Magnum

Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.

For more information, please refer to the following resources:

Description
Container Infrastructure Management Service for OpenStack
Readme 94 MiB
Languages
Python 73%
Shell 26.7%
Dockerfile 0.3%