You can call the DescribeNodesInstanceType operation to query the types of data plane nodes and determine whether MultiBuffer performance acceleration is supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DescribeNodesInstanceType |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The ID of the ASM instance. |
cb8963379255149cb98c8686f274x**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| InstanceTypes |
array<object> |
A list of node type information. |
|
|
object |
The node type information. |
||
| NodeType |
string |
The instance type of the node. |
ecs.g7.xlarge |
| MultiBufferEnabled |
boolean |
Indicates whether the MultiBuffer acceleration feature is supported. Valid values:
|
true |
| Key |
string |
The key of the node label that supports MultiBuffer optimization. If you specify this parameter, MultiBuffer optimization is enabled only when a pod is scheduled to a node that has this label key and a label value that matches the `Value` parameter. |
feature.node.kubernetes.io/mb-feature-enable |
| Value |
string |
The value of the node label that supports MultiBuffer optimization. If you specify this parameter, MultiBuffer optimization is enabled only when a pod is scheduled to a node that has the specified `Key` and a label value that matches this parameter. |
true |
| RequestId |
string |
The request ID. |
BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
Examples
Success response
JSON format
{
"InstanceTypes": [
{
"NodeType": "ecs.g7.xlarge",
"MultiBufferEnabled": true,
"Key": "feature.node.kubernetes.io/mb-feature-enable",
"Value": "true"
}
],
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ERR500 | An internal server error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.