Queries a list of the pods in a specified namespace of a Kubernetes cluster that is added to a Service Mesh (ASM) instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ASM instance ID. | c78d60f98fa43403ab6e0701b2678**** |
GuestClusterID | string | Yes | The ID of the Kubernetes cluster that is added to the ASM instance. | c49ad2169d5a04f2d89dfc4b6bcu**** |
Namespace | string | Yes | The namespace. | default |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1",
"PodList": [
"sleep-5axqt-*****"
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
404 | ERR404 | Not found |
For a list of error codes, visit the Service error codes.