UpdateNodePool
処理概要
ノードプールの設定を変更します。
リクエストURL
PUT /v1/clusters/{ClusterName}/nodePools/{NodePoolName}指定するパラメーター
パスパラメーター
パラメーター | 型 | 説明 | 必須 |
---|---|---|---|
ClusterName | string |
設定変更対象のクラスター名 |
○ |
NodePoolName | string |
設定変更対象のノードプール名 |
○ |
リクエストボディ
パラメーター | 型 | 説明 | 必須 |
---|---|---|---|
nodePool | object |
|
|
␣tags[] | object[] |
|
|
␣␣key | string |
タグキー 使用可能文字: UTF-8で全角半角128文字以内 |
|
␣␣value | string |
タグ値 使用可能文字: UTF-8で全角半角256文字以内 |
応答フィールド
フィールド (項目) | 型 | 説明 |
---|---|---|
nodePool | object |
|
␣name | string |
ノードプール名 |
␣instanceType | string |
ノードプール内のノードのサーバータイプ |
␣nodeCount | integer |
ノードプール内の現在のノード数 |
␣initialNodeCount | integer |
ノードプール作成時に設定したノードプール内のノード数 |
␣status | string |
ノードプールのステータス 値:
|
␣nodes[] | object[] |
|
␣␣name | string |
ノード名 |
␣␣availabilityZone | string |
ノードのゾーン情報 |
␣␣publicIpAddress | string |
グローバルIPアドレス |
␣␣privateIpAddress | string |
プライベートIPアドレス |
␣␣status | string |
ノードのステータス 値:
|
␣nrn | string |
NRN |
␣tags[] | object[] |
|
␣␣id | string |
タグID |
␣␣key | string |
タグキー |
␣␣value | string |
タグ値 |
リクエストサンプル
curl -XPUT https://jp-east-1.hatoba.api.nifcloud.com/v1/clusters/cluster01/nodePools/nodepool01
-H "X-Amz-Date: 20190724T000000Z"
-H "Authorization: AWS4-HMAC-SHA256 ..."
-d {
"tags": []
}
応答サンプル
{
"nodePool": {
"name": "nodepool01",
"instanceType": "medium",
"nodeCount": 1,
"initialNodeCount": 1,
"status": "RUNNING",
"nodes": [
{
"name": "nodepool01-5jton1",
"availabilityZone": "east-11",
"publicIpAddress": "x.x.x.x",
"privateIpAddress": "x.x.x.x",
"status": "RUNNING"
},
],
"nrn": "nrn:nifcloud:hatoba:jp-east-1:xxxxxxxx:node-pool:c22fa663-0502-45cc-894d-dccfdcd3c20d",
"tags": []
}
}