IOT边缘 IOTEDGE-查询集群的节点列表:响应示例

时间:2024-01-04 13:02:13

响应示例

状态码: 200

OK

{
  "nodes" : [ {
    "name" : "string",
    "internal_ip" : "string",
    "hostname" : "string",
    "allocatable" : {
      "cpu" : 0,
      "memory" : 0,
      "storage" : 0,
      "pods" : 0
    },
    "capacity" : {
      "cpu" : 0,
      "memory" : 0,
      "storage" : 0,
      "pods" : 0
    },
    "allocated_resources" : {
      "request" : {
        "cpu" : 0,
        "memory" : 0,
        "storage" : 0,
        "pods" : 0
      },
      "limit" : {
        "cpu" : 0,
        "memory" : 0,
        "storage" : 0,
        "pods" : 0
      }
    },
    "status" : "string",
    "architecture" : "string",
    "labels" : { },
    "node_type" : "string",
    "kernel_version" : "string",
    "os_image" : "string",
    "container_runtime_version" : "string",
    "kubernetes_version" : "string",
    "create_time" : "string"
  } ]
}
support.huaweicloud.com/api-iotedge/ListClusterNodesV3.html