Update content

This commit is contained in:
OpenTelekomCloud Proposal Bot 2023-03-14 16:45:32 +00:00
parent d51fe3213e
commit 1bd1baa658
18 changed files with 980 additions and 180 deletions

View File

@ -44,15 +44,19 @@ Request Parameters
.. table:: **Table 3** Request body parameters
+------------+-----------+-----------------------------------------------------------------------------------------+--------------------------------------------+
| Parameter | Mandatory | Type | Description |
+============+===========+=========================================================================================+============================================+
| apiVersion | Yes | String | API version. The value is fixed at **v3**. |
+------------+-----------+-----------------------------------------------------------------------------------------+--------------------------------------------+
| kind | Yes | String | API type. The value is fixed at **List**. |
+------------+-----------+-----------------------------------------------------------------------------------------+--------------------------------------------+
| nodeList | Yes | Array of :ref:`AddNode <addnode__en-us_topic_0000001417516392_request_addnode>` objects | List of the nodes to be accepted. |
+------------+-----------+-----------------------------------------------------------------------------------------+--------------------------------------------+
+-----------------+-----------------+-----------------------------------------------------------------------------------------+-----------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+=================+=================+=========================================================================================+=================================================================+
| apiVersion | Yes | String | API version. The value is fixed at **v3**. |
+-----------------+-----------------+-----------------------------------------------------------------------------------------+-----------------------------------------------------------------+
| kind | Yes | String | API type. The value is fixed at **List**. |
+-----------------+-----------------+-----------------------------------------------------------------------------------------+-----------------------------------------------------------------+
| nodeList | Yes | Array of :ref:`AddNode <addnode__en-us_topic_0000001417516392_request_addnode>` objects | List of the nodes to be accepted. |
| | | | |
| | | | .. note:: |
| | | | |
| | | | Nodes must have 2-core or higher CPU, 4 GB or larger memory. |
+-----------------+-----------------+-----------------------------------------------------------------------------------------+-----------------------------------------------------------------+
.. _addnode__en-us_topic_0000001417516392_request_addnode:

View File

@ -13,7 +13,7 @@ This API is used to create an empty cluster, which has only master nodes but do
.. note::
- The URL for cluster management is in the format of **https://Endpoint/uri**. In the URL, **uri** indicates the resource path, that is, the path for API access.
- Info collect agent (ICAgent) is an O&M data collection agent used by Application Performance Management (APM) service. It runs on each server to collect data from probes in real time. When this API is called to create a cluster, ICAgent is not installed by default. To automatically install ICAgent during cluster creation, add **"cluster.install.addons.external/install": "[{\\"addonTemplateName\\":\\"icagent\\"}]"** to the **annotations** field in the request body.
- Info collect agent (ICAgent) is an O&M data collection agent. It runs on each server to collect data from probes in real time. When this API is called to create a cluster, ICAgent is not installed by default. To automatically install ICAgent during cluster creation, add **"cluster.install.addons.external/install": "[{\\"addonTemplateName\\":\\"icagent\\"}]"** to the **annotations** field in the request body.
- Before creating a cluster, :ref:`Creating a VPC and Subnet <cce_02_0100>`. If a VPC and subnet already exists, you do not need to create them again.
- By default, an account can create a maximum of five clusters in each region.

View File

@ -126,7 +126,8 @@ Request
| | | | |
| | | | .. note:: |
| | | | |
| | | | When adding a BMS node, check whether the flavor of the node to be added supports local disks. If local disks are not supported, add at least one 100 GB EVS disk. |
| | | | - When adding a BMS node, check whether the flavor of the node to be added supports local disks. If local disks are not supported, add at least one 100 GB EVS disk. |
| | | | - Nodes must have 2-core or higher CPU, 4 GB or larger memory. |
+-----------------+-----------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| az | Yes | String | AZ of the node. For details, see the description of the **availability_zone** parameter in `Creating an ECS <https://docs.otc.t-systems.com/en-us/api/ecs/en-us_topic_0020212668.html>`__. |
+-----------------+-----------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@ -592,7 +593,7 @@ CCE cluster:
}
},
"spec": {
"flavor": "s1.medium",
"flavor": "c4.large.2",
"az": "eu-de-01",
"login": {
"sshKey": "Keypair-demo"
@ -601,6 +602,10 @@ CCE cluster:
"size": 40,
"volumetype": "SAS"
},
"dataVolumes" : [ {
"size" : 100,
"volumetype" : "SAS"
} ],
"storage": {
"storageSelectors": [
{
@ -633,7 +638,6 @@ CCE cluster:
}
]
},
],
"userTags": [
{
"key": "tag1",
@ -1197,6 +1201,12 @@ Response
"volumetype": "SAS",
"size": 40
},
"dataVolumes": [
{
"volumetype": "SAS",
"size": 100
}
],
"storage": {
"storageSelectors": [
{
@ -1281,6 +1291,13 @@ CCE Turbo cluster:
"volumetype": "SAS",
"hw:passthrough": true
},
"dataVolumes": [
{
"size": 100,
"volumetype": "SAS",
"hw:passthrough": true
}
],
"storage": {
"storageSelectors": [
{

View File

@ -160,6 +160,38 @@ Response
"size": 100
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}

View File

@ -113,6 +113,38 @@ Response
"size": 100
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}

View File

@ -55,8 +55,6 @@ Request Parameters
+------------+-----------+-----------------------------------------------------------------------------------------------------+-------------------------------------------------------+
| spec | Yes | :ref:`MigrateNodesSpec <migratenode__en-us_topic_0000001467833433_request_migratenodesspec>` object | Configuration data. |
+------------+-----------+-----------------------------------------------------------------------------------------------------+-------------------------------------------------------+
| status | No | :ref:`TaskStatus <migratenode__en-us_topic_0000001467833433_request_taskstatus>` object | Job status. |
+------------+-----------+-----------------------------------------------------------------------------------------------------+-------------------------------------------------------+
.. _migratenode__en-us_topic_0000001467833433_request_migratenodesspec:
@ -143,22 +141,12 @@ Request Parameters
uid Yes String Node ID.
========= ========= ====== ===========
.. _migratenode__en-us_topic_0000001467833433_request_taskstatus:
.. table:: **Table 8** TaskStatus
+-----------+-----------+--------+----------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+===========+===========+========+================================================================+
| jobID | No | String | Job ID, which is used by the caller to query the job progress. |
+-----------+-----------+--------+----------------------------------------------------------------+
Response Parameters
-------------------
**Status code: 200**
.. table:: **Table 9** Response body parameters
.. table:: **Table 8** Response body parameters
+------------+------------------------------------------------------------------------------------------------------+-------------------------------------------------------+
| Parameter | Type | Description |
@ -174,7 +162,7 @@ Response Parameters
.. _migratenode__en-us_topic_0000001467833433_response_migratenodesspec:
.. table:: **Table 10** MigrateNodesSpec
.. table:: **Table 9** MigrateNodesSpec
+-------------+------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Parameter | Type | Description |
@ -190,7 +178,7 @@ Response Parameters
.. _migratenode__en-us_topic_0000001467833433_response_migratenodeextendparam:
.. table:: **Table 11** MigrateNodeExtendParam
.. table:: **Table 10** MigrateNodeExtendParam
+-------------------------+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Parameter | Type | Description |
@ -233,7 +221,7 @@ Response Parameters
.. _migratenode__en-us_topic_0000001467833433_response_login:
.. table:: **Table 12** Login
.. table:: **Table 11** Login
+-----------------------+-----------------------+---------------------------------------------------------+
| Parameter | Type | Description |
@ -249,7 +237,7 @@ Response Parameters
.. _migratenode__en-us_topic_0000001467833433_response_nodeitem:
.. table:: **Table 13** NodeItem
.. table:: **Table 12** NodeItem
========= ====== ===========
Parameter Type Description
@ -259,7 +247,7 @@ Response Parameters
.. _migratenode__en-us_topic_0000001467833433_response_taskstatus:
.. table:: **Table 14** TaskStatus
.. table:: **Table 13** TaskStatus
+-----------+--------+----------------------------------------------------------------+
| Parameter | Type | Description |

View File

@ -494,6 +494,38 @@ Response
"size": 100
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}

View File

@ -53,8 +53,6 @@ Request Parameters
+------------+-----------+--------------------------------------------------------------------------------------------------+------------------------------------------------------+
| spec | Yes | :ref:`RemoveNodesSpec <removenode__en-us_topic_0000001417833320_request_removenodesspec>` object | Configuration information. |
+------------+-----------+--------------------------------------------------------------------------------------------------+------------------------------------------------------+
| status | No | :ref:`TaskStatus <removenode__en-us_topic_0000001417833320_request_taskstatus>` object | Job status. |
+------------+-----------+--------------------------------------------------------------------------------------------------+------------------------------------------------------+
.. _removenode__en-us_topic_0000001417833320_request_removenodesspec:
@ -94,22 +92,12 @@ Request Parameters
uid Yes String Node ID.
========= ========= ====== ===========
.. _removenode__en-us_topic_0000001417833320_request_taskstatus:
.. table:: **Table 7** TaskStatus
+-----------+-----------+--------+----------------------------------------------------------------+
| Parameter | Mandatory | Type | Description |
+===========+===========+========+================================================================+
| jobID | No | String | Job ID, which is used by the caller to query the job progress. |
+-----------+-----------+--------+----------------------------------------------------------------+
Response Parameters
-------------------
**Status code: 200**
.. table:: **Table 8** Response body parameters
.. table:: **Table 7** Response body parameters
+------------+---------------------------------------------------------------------------------------------------+------------------------------------------------------+
| Parameter | Type | Description |
@ -125,7 +113,7 @@ Response Parameters
.. _removenode__en-us_topic_0000001417833320_response_removenodesspec:
.. table:: **Table 9** RemoveNodesSpec
.. table:: **Table 8** RemoveNodesSpec
+-----------+-----------------------------------------------------------------------------------------------+-------------------------------+
| Parameter | Type | Description |
@ -137,7 +125,7 @@ Response Parameters
.. _removenode__en-us_topic_0000001417833320_response_login:
.. table:: **Table 10** Login
.. table:: **Table 9** Login
+-----------------------+-----------------------+---------------------------------------------------------+
| Parameter | Type | Description |
@ -153,7 +141,7 @@ Response Parameters
.. _removenode__en-us_topic_0000001417833320_response_nodeitem:
.. table:: **Table 11** NodeItem
.. table:: **Table 10** NodeItem
========= ====== ===========
Parameter Type Description
@ -163,7 +151,7 @@ Response Parameters
.. _removenode__en-us_topic_0000001417833320_response_taskstatus:
.. table:: **Table 12** TaskStatus
.. table:: **Table 11** TaskStatus
+-----------+--------+----------------------------------------------------------------+
| Parameter | Type | Description |

View File

@ -123,6 +123,38 @@ For the description of the response parameters, see :ref:`Table 4 <cce_02_0243__
"diskSize": 100
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}

View File

@ -206,6 +206,38 @@ Request
}
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}
@ -262,7 +294,7 @@ Response
**Response parameters**:
:ref:`Table 18 <cce_02_0354__table835415466262>` describes the response parameters.
:ref:`Table 25 <cce_02_0354__table835415466262>` describes the response parameters.
**Response example**:
@ -299,6 +331,38 @@ Response
}
}
],
"storage": {
"storageSelectors": [
{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SAS",
"count": "1"
}
}
],
"storageGroups": [
{
"name": "vgpaas",
"selectorNames": [
"cceUse"
],
"cceManaged": true,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%"
},
{
"name": "kubernetes",
"size": "10%"
}
]
}
]
},
"publicIP": {
"eip": {
"bandwidth": {}

View File

@ -15,6 +15,7 @@ Appendix
- :ref:`API Permissions <cce_02_0272>`
- :ref:`Creating a VPC and Subnet <cce_02_0100>`
- :ref:`Creating a Key Pair <cce_02_0101>`
- :ref:`Attaching Disks to a Node <node_storage_example>`
.. toctree::
:maxdepth: 1
@ -30,3 +31,4 @@ Appendix
api_permissions
creating_a_vpc_and_subnet
creating_a_key_pair
attaching_disks_to_a_node

View File

@ -1,14 +0,0 @@
:original_name: cce_02_0237.html
.. _cce_02_0237:
Examples
========
- :ref:`Attaching Disks to a Node <node_storage_example>`
.. toctree::
:maxdepth: 1
:hidden:
attaching_disks_to_a_node

View File

@ -6,7 +6,6 @@ Cloud Container Engine - API Reference
:maxdepth: 1
api_usage_guidelines
examples/index
apis/index
kubernetes_apis/index
permissions_policies_and_supported_actions