Imports a container service Kubernetes cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request header

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/import_k8s_cluster HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
ClusterId String Yes 9 c28bbb9-other types *-44b3-b953-54ef8a2d0be2

The ID of the target cluster.

NamespaceId String No cn-beijing:"ns1"

The ID of the namespace.

Response parameters

Parameter Type Example Description
Code Integer 2,000


Data: data disk String ""


Message String Success

The returned message.

RequestId String a5281053-08e4-47a5-b2ab-5c0323de7b5a

The ID of the request.


Sample requests

POST /pop/v5/import_k8s_cluster HTTP/1.1
Common request header
  "ClusterId": "9c28bbb9-****-44b3-b953-54ef8a2d0be2"

Sample success responses

XML format


JSON format

    "Data": {},
    "Message": "Success",
    "Code": 200

Error codes

For a list of error codes, visit the API Error Center.