云容器实例 CCI-查询指定namespace下的Endpoints:响应示例

时间:2023-12-01 17:06:47

响应示例

状态码: 200

OK

{
  "apiVersion" : "v1",
  "items" : [ {
    "metadata" : {
      "creationTimestamp" : "2018-01-13T08:40:21Z",
      "name" : "kubernetes",
      "namespace" : "default",
      "resourceVersion" : "49",
      "selfLink" : "/api/v1/namespaces/default/endpoints/kubernetes",
      "uid" : "64593b5d-f83d-11e7-9c3c-fa163eb8ad1a"
    },
    "subsets" : [ {
      "addresses" : [ {
        "ip" : "192.168.0.64"
      } ],
      "ports" : [ {
        "name" : "https",
        "port" : 5444,
        "protocol" : "TCP"
      } ]
    } ]
  } ],
  "kind" : "EndpointsList",
  "metadata" : {
    "resourceVersion" : "598704",
    "selfLink" : "/api/v1/namespaces/default/endpoints"
  }
}
support.huaweicloud.com/api-cci/listCoreV1NamespacedEndpoints.html