You can call this operation to bind an SLB instance to an application in 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/k8s/acs/k8s_slb_binding HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes bd-****-****-a286-781659d9f54c

The ID of the application.

ClusterId String Yes 712082c3-f554****a947b5cde6ee

The ID of the target cluster.

Port String Yes 800

Frontend port range: 1 to 65535.

SlbProtocol String Yes TCP

The SLB protocol. Currently, TCP, HTTP, and HTTPS protocols are supported.

TargetPort String Yes 8080

The backend port is the service port of an application, valid values: 1 to 65535.

Type String Yes internet

Set the SLB type. Parameters include internet and intranet. (Internal network) .

SlbId String No lb-2ze1quax9t****iz82bjt

SLB ID. If it is not configured, EDAS automatically purchases new SLB instances for you.

ServicePortInfos String No 8080

Service port information

Response parameters

Parameter Type Example Description
ChangeOrderId String b4b37 bde-a125-****-****-741f7f4a9ae3

Change process ID

Code Integer 2,000


Message String Success

The returned message.

RequestId String 4823-bhjf-23u4-eiufh

The ID of the request.


Sample requests

POST /pop/v5/k8s/acs/k8s_slb_binding HTTP/1.1
Common request header
  "AppId": "5a166fbd-****-****-a286-781659d9f54c"
  "ClusterId": "712082c3-f554-****-****-a947b5cde6ee"
  "Port": "80"
  "SlbProtocol": "TCP"
  "TargetPort": "8080"
  "Type": "internet"

Sample success responses

XML format


JSON format

    "Message": "success",
    "ChangeOrderId": "b4b37bde-a125-43fc-****-741f7f4a****",
    "Code": 200

Error codes

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