To add an existing ENS instance to an ECK cluster as a worker node or re-add a node to a node pool, call the DescribeClusterAttachScripts operation to get the required script.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the ECK cluster. |
eck-11111111 |
| NodepoolId |
string |
Yes |
The ID of the node pool to which the node will be added. |
np68mi5y1dd748ky37ojo2kqdrz |
| Options |
string |
No |
Optional parameters for the script, provided as a JSON string. |
{\"key1\":\"val1\"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Script |
string |
The cluster attachment script, Base64-encoded. |
Y2QgWnhiU0o= |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Script": "Y2QgWnhiU0o="
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.