All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeNodesInstanceType

Last Updated:Mar 05, 2024

Queries the instance types of nodes on the data plane and whether the instance types support Multi-Buffer acceleration.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

cb8963379255149cb98c8686f274x****

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

InstanceTypesobject []

The instance types of the nodes.

NodeTypestring

The instance type of the node.

ecs.g7.xlarge
MultiBufferEnabledboolean

Indicates whether the instance type supports Multi-Buffer acceleration. Valid values:

  • true
  • false
true
Keystring

The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by this field and its value equals with the value field)

feature.node.kubernetes.io/mb-feature-enable
Valuestring

The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by the key field and its value equals with this field)

true
RequestIdstring

The request ID.

BD65C0AD-D3C6-48D3-8D93-38D2015C****

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError message
500ERR500An internal server error occurred.

For a list of error codes, visit the Service error codes.