华为HiLens-查询应用实例列表:响应示例

时间:2025-02-12 15:03:28

响应示例

状态码: 200

请求成功

{  "count" : 1,  "pods" : [ {    "configs" : {      "migration" : false,      "host_network" : false,      "host_pid" : false,      "restart_policy" : "Always",      "toleration_seconds" : 0    },    "reason" : "open /home/hilens/apps/test-rpm-hilens-41f6382c44b94d8abaea5129a54121b0/packages/base64_decoder.toml: no such file or directory",    "host_ip" : "192.168.2.111",    "created_at" : "2021-12-08 19:09:27 GMT+08:00",    "cluster_id" : null,    "updated_at" : "2021-12-08 20:26:20 GMT+08:00",    "project_id" : "fff47e1722f94c4e98531bae56821372",    "name" : "12312312313_test-rpm_0",    "id" : "hilens-12312312313_test-rpm_0",    "deployment_id" : "hilens-413a558214814d249d43988cc1f788b6",    "affinity" : null,    "apps" : [ {      "name" : "test-rpm",      "args" : [ ],      "command" : [ ],      "resources" : {        "limits" : {          "cpu" : "0.25",          "memory" : "128"        },        "requests" : { }      },      "envs" : [ ],      "msgs" : [ ],      "ports" : [ ],      "privileged" : false,      "version" : "1.0.0",      "volumes" : [ ],      "app_url" : "xxx",      "app_order_id" : "702786922fc74954818e549383306d30",      "is_modelbox" : false    } ],    "node_id" : "hilens-8977fd2811464c1bb19eeb1939142841",    "status" : "Failed"  } ]}
support.huaweicloud.com/api-hilens/getDeploymentPodListUsingGET.html