The DescribeGuestClusterPods operation retrieves the pods in a specified namespace of a Kubernetes cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DescribeGuestClusterPods |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The service mesh ID. |
c78d60f98fa43403ab6e0701b2678**** |
| GuestClusterID |
string |
Yes |
The ID of the Kubernetes cluster that is added to the service mesh. |
c49ad2169d5a04f2d89dfc4b6bcu**** |
| Namespace |
string |
Yes |
The namespace. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters. |
||
| RequestId |
string |
The request ID. |
EDDC0D86-2FC3-56FB-9213-96EB0A3523F1 |
| PodList |
array |
The list of pod names in the Kubernetes cluster. |
|
|
string |
The pod name. |
sleep-5axqt-***** |
Examples
Success response
JSON format
{
"RequestId": "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1",
"PodList": [
"sleep-5axqt-*****"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ERR404 | Not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.