Queries the pods in a specified namespace of a Kubernetes cluster that is added to an Alibaba Cloud Service Mesh (ASM) instance.


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 parameters

Parameter Type Required Example Description
Action String Yes DescribeGuestClusterPods

The operation that you want to perform. Set the value to DescribeGuestClusterPods.

ServiceMeshId String Yes c78d60f98fa43403ab6e0701b2678****

The ID of the ASM instance.

GuestClusterID String Yes c49ad2169d5a04f2d89dfc4b6bcu****

The ID of the Kubernetes cluster that is added to the ASM instance.

Namespace String Yes default

The name of the namespace.

Response parameters

Parameter Type Example Description
RequestId String EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

The ID of the request.

PodList Array of String sleep-5axqt-*****

The names of the queried pods.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1",
  "PodList" : "sleep-5axqt-*****"

Error codes

HTTP status code Error code Error message Description
404 ERR404 Not found The error message returned because the requested resource does not exist.

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