magnum/magnum/api/controllers
Spyros Trigazis (strigazi) 9b1bd5da54 Add cluster upgrade to the API
To enable the rolling upgrade ability of Kubernetes Cluster, this
patch is proposing a new API /upgrade to support upgrade the
base operating system of nodes and the version of Kubernetes, even
add-ons running on the k8s cluster:

POST <ClusterID>/actions/upgrade

And the post body will be:

{
    "cluster_template": 'dd9cc5ed-3a2b-11e9-9233-fa163e46bcc2',
    "max_batch_size": 1,
    "nodegroup": "production_group"
}

Co-Authored-By: Feilong Wang <flwang@catalyst.net.nz>

Task: 30168
Story: 2002210

Change-Id: Ia168877778aa0d473383eb06b1c8a16dc06b0576
2019-06-07 12:01:10 +12:00
..
v1 Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
base.py Rename Bay DB, Object, and internal usage to Cluster 2016-09-08 13:01:12 -07:00
link.py Bay to Cluster api cleanup 2016-08-23 15:55:22 -07:00
root.py Rename Bay to Cluster in api 2016-08-17 22:24:45 +00:00
versions.py Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00