All Products
Search
Document Center

ENS:DescribeClusterAttachScripts

Last Updated:Apr 15, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.