You can call DescribeNodesInstanceType to query the instance types of data plane nodes to determine whether they support Multi-Buffer performance acceleration.
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 ASM instance ID. |
cb8963379255149cb98c8686f274x**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| InstanceTypes |
array<object> |
A list of node type information. |
|
|
object |
The information about the node type. |
||
| NodeType |
string |
The instance type of the node. |
ecs.g7.xlarge |
| MultiBufferEnabled |
boolean |
Indicates whether the Multi-Buffer acceleration feature is supported. Valid values:
|
true |
| Key |
string |
The key of the node tag that supports Multi-Buffer optimization. If this parameter is specified, Multi-Buffer optimization is enabled only when a pod is scheduled to a node that has this tag key and a tag value that matches the `Value` parameter. |
feature.node.kubernetes.io/mb-feature-enable |
| Value |
string |
The value of the node tag that supports Multi-Buffer optimization. If this parameter is specified, Multi-Buffer optimization is enabled only when a pod is scheduled to a node that has this tag value and a tag key that matches the `Key` 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.