云容器引擎 CCE-更新指定节点池:响应示例

时间:2023-11-01 16:20:05

响应示例

状态码: 200

表示更新指定节点池成功。

{  "kind" : "NodePool",  "apiVersion" : "v3",  "metadata" : {    "name" : "lc-it-nodepool-3",    "uid" : "1deef848-690d-11ea-a11b-0255ac1001b7"  },  "spec" : {    "initialNodeCount" : 1,    "type" : "vm",    "nodeTemplate" : {      "flavor" : "Sit3.xlarge.2",      "az" : "******",      "os" : "EulerOS 2.5",      "login" : {        "sshKey" : "KeyPair-001"      },      "rootVolume" : {        "volumetype" : "SAS",        "size" : 40      },      "dataVolumes" : [ {        "volumetype" : "SAS",        "size" : 100,        "extendParam" : {          "useType" : "docker"        }      } ],      "publicIP" : {        "eip" : {          "bandwidth" : { }        }      },      "nodeNicSpec" : {        "primaryNic" : {          "subnetId" : "7e767d10-7548-4df5-ad72-aeac1d08bd8a"        }      },      "billingMode" : 0,      "extendParam" : {        "maxPods" : 110      },      "k8sTags" : {        "cce.cloud.com/cce-nodepool" : "lc-it-nodepool-3"      }    },    "autoscaling" : { },    "nodeManagement" : { }  },  "status" : {    "phase" : ""  }}
support.huaweicloud.com/api-cce/cce_02_0356.html