magnum/magnum/api
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
..
controllers Add cluster upgrade to the API 2019-06-07 12:01:10 +12:00
middleware Use oslo_serialization instead of the json module directly 2019-01-21 16:28:03 -08:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
app.py Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
app.wsgi Add app.wsgi to target of pep8 2017-11-18 01:27:34 -08:00
attr_validator.py Use oslo_serialization instead of the json module directly 2019-01-21 16:28:03 -08:00
config.py Fix api access with public acl routes 2016-02-29 13:59:20 +08:00
expose.py Drop XML support in Magnum 2015-07-13 20:03:23 -05:00
hooks.py Add support for www_authenticate_uri in ContextHook 2018-12-06 20:07:23 +00:00
http_error.py Use oslo_serialization instead of the json module directly 2019-01-21 16:28:03 -08:00
rest_api_version_history.rst Add microversion and release notes for quotas API 2017-02-09 10:47:07 -06:00
servicegroup.py Remove the usage of MagnumObjectDictCompat from magnum_service 2017-01-06 03:25:28 +00:00
utils.py Add missing ws separator between words 2018-11-21 14:24:53 +08:00
validation.py Devicemapper storage driver need specified volume 2018-06-05 11:00:05 +08:00
versioned_method.py Fix some typos 2017-02-16 00:20:01 -08:00