ListNodePools
処理概要
クラスターのノードプール情報一覧を取得します。 1回のリクエストで複数のノードプール情報を取得できます。
リクエストURL
GET /v1/clusters/{ClusterName}/nodePools指定するパラメーター
パスパラメーター
| パラメーター | 型 | 説明 | 必須 |
|---|---|---|---|
| ClusterName | string |
ノードプール一覧を取得したいクラスター名 |
○ |
クエリパラメーター
| パラメーター | 型 | 説明 | 必須 |
|---|---|---|---|
| filters | string |
取得対象のノードプールのフィルター。タグのキーと値の組み合わせによってフィルタリング可能。 |
応答フィールド
| フィールド (項目) | 型 | 説明 |
|---|---|---|
| nodePools[] | 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 https://jp-east-1.hatoba.api.nifcloud.com/v1/clusters/cluster01/nodePools
-H "X-Amz-Date: 20190724T000000Z"
-H "Authorization: AWS4-HMAC-SHA256 ..."
応答サンプル
{
"nodePools": [
{
"name": "nodepool01",
"instanceType": "e-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": [
{
"id": "31fac2be-013e-4702-b5ba-5d49b7d8e7b7",
"key": "key01",
"value": "value01"
}
]
}
]
}


