Queries application services that are deployed in a 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 headers

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

Request syntax

GET /pop/v5/k8s/acs/k8s_service HTTPS|HTTP

Request parameters

Parameter Type Position Required Example Description
AppId String Query Yes 5a166fbd-****-****-a286-781659d9f54c

The ID of the application.

Response parameters

Parameter Type Example Description
Code Integer 200

The ID of the change process.

Message String success

The additional information.

RequestId String 4823-bhjf-23u4-eiufh

The ID of the request.

Services Array of Services

A list of services in Kubernetes.

ClusterIP String 104.23.xx.xx

The IP address of the service in Kubernetes.

Name String service-http

The name of the service.

ServicePorts Array of ServicePorts

The mapping of service ports.

NodePort Integer 0

The node port.

Port Integer 80

The frontend service port.

Protocol String TCP

The protocol used by the service.

TargetPort String 8080

The backend container port.

Type String ClusterIP

The type of the service.


Sample requests

GET /pop/v5/k8s/acs/k8s_service HTTP/1.1
Common request parameters
"AppId": "5a166fbd-****-****-a286-781659d9f54c"

Sample success responses

XML format


JSON format

    "Services": [
            "ClusterIP": "104.23.xx.xx",
            "Type": "ClusterIP",
            "Name": "service-http"
            "ServicePorts": {
                "NodePort": 0,
                "TargetPort": 8080,
                "Protocol": "TCP",
                "Port": 80
    "RequestId": "4823-bhjf-23u4-eiufh",
    "Message": "success",
    "Code": 200

Error codes

HttpCode Error code Error message Description
500 Edas.errorcode.PermissionDenied.message You are not authorized to perform the operation. The error message returned because you are not authorized to perform the operation.

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