UpgradeAnthosServiceMeshVersion
処理概要
Cloud Service Meshバージョンをアップグレードします。
リクエストURL
POST /v1/resource-groups/{ResourceGroupName}/anthos/clusters/{ClusterName}/anthos-service-mesh:upgrade指定するパラメーター
パスパラメーター
| パラメーター | 型 | 説明 | 必須 |
|---|---|---|---|
| ResourceGroupName | string |
アップグレード対象のクラスターが属しているリソースグループ名 |
○ |
| ClusterName | string |
アップグレード対象のクラスター名 |
○ |
リクエストボディ
| パラメーター | 型 | 説明 | 必須 |
|---|---|---|---|
| version | string |
Cloud Service Meshバージョン |
○ |
応答フィールド
| フィールド (項目) | 型 | 説明 |
|---|---|---|
| name | string |
クラスター名 |
| version | string |
Anthos(GKE Enterprise) バージョン |
| keyName | string |
SSHキー名 |
| initialAccountingType | string |
初期料金プラン 値:
|
| anthosServiceMeshConfig | object |
|
| ␣enabled | boolean |
Cloud Service Meshの有効・無効 |
| ␣version | string |
Cloud Service Meshのバージョン 指定可能な値はGetAnthosServerConfigで確認可能 Cloud Service Meshが有効かつ指定されていない場合はGetAnthosServerConfigのdefaultConfig.serviceMeshVersionの値が入る |
| cloudControllerManagerConfig | object |
|
| ␣useExternalCloudProvider | boolean |
Cloud Controller Manager用クラスター設定の有効・無効 |
| controlPlaneLoadBalancer | object |
|
| ␣type | string |
タイプ 値:
|
| ␣vip | string |
ロードバランサー仮想IPアドレス |
| ␣systemIpAddresses | string[] |
システムIPアドレス typeがelastic-load-balancerのときのみ返却 |
| ␣elasticLoadBalancer | object |
|
| ␣␣region | string |
リージョン |
| ␣␣availabilityZone | string |
ゾーン |
| ␣␣id | string |
ユニークID |
| ␣␣name | string |
マルチロードバランサー名 |
| ␣␣dnsName | string |
VIPネットワーク IPアドレス |
| ␣␣networkInterfaces[] | object[] |
|
| ␣␣␣networkId | string |
ネットワークID |
| ␣␣␣ipAddress | string |
IPアドレス |
| ␣␣␣isVipNetwork | boolean |
VIPネットワークフラグ 待ち受けポートが設定されるネットワーク |
| ␣␣␣systemIpAddresses | string[] |
システムIPアドレス |
| controlPlane | object |
|
| ␣name | string |
ノードプール名 |
| ␣region | string |
リージョン |
| ␣availabilityZone | string |
ゾーン |
| ␣instanceType | string |
サーバータイプ 値:
|
| ␣volumeType | string |
ディスクタイプ 値:
|
| ␣volumeSize | integer |
ディスクサイズ 値:
|
| ␣nodeCount | integer |
ノード数 |
| ␣instances[] | object[] |
|
| ␣␣region | string |
リージョン |
| ␣␣availabilityZone | string |
ゾーン |
| ␣␣instanceId | string |
サーバー名 |
| ␣␣instanceUniqueId | string |
ユニークID |
| ␣␣instanceType | string |
サーバータイプ |
| ␣␣securityGroupName | string |
ファイアウォールグループ名 |
| ␣␣networkInterfaces[] | object[] |
|
| ␣␣␣networkId | string |
ネットワークID |
| ␣␣␣ipAddress | string |
IPアドレス |
| ␣␣volumes[] | object[] |
|
| ␣␣␣region | string |
リージョン |
| ␣␣␣availabilityZone | string |
ゾーン |
| ␣␣␣volumeId | string |
ディスク名 |
| ␣␣␣volumeUniqueId | string |
ユニークID |
| ␣␣␣type | string |
ディスクタイプ |
| ␣␣␣size | integer |
ディスクサイズ |
| nodePools[] | object[] |
|
| ␣name | string |
ノードプール名 |
| ␣region | string |
リージョン |
| ␣availabilityZone | string |
ゾーン |
| ␣instanceType | string |
サーバータイプ 値:
|
| ␣volumeType | string |
ディスクタイプ 値:
|
| ␣volumeSize | integer |
ディスクサイズ 値:
|
| ␣nodeCount | integer |
ノード数 |
| ␣instances[] | object[] |
|
| ␣␣region | string |
リージョン |
| ␣␣availabilityZone | string |
ゾーン |
| ␣␣instanceId | string |
サーバー名 |
| ␣␣instanceUniqueId | string |
ユニークID |
| ␣␣instanceType | string |
サーバータイプ |
| ␣␣securityGroupName | string |
ファイアウォールグループ名 |
| ␣␣networkInterfaces[] | object[] |
|
| ␣␣␣networkId | string |
ネットワークID |
| ␣␣␣ipAddress | string |
IPアドレス |
| ␣␣volumes[] | object[] |
|
| ␣␣␣region | string |
リージョン |
| ␣␣␣availabilityZone | string |
ゾーン |
| ␣␣␣volumeId | string |
ディスク名 |
| ␣␣␣volumeUniqueId | string |
ユニークID |
| ␣␣␣type | string |
ディスクタイプ |
| ␣␣␣size | integer |
ディスクサイズ |
| status | string |
ステータス 値:
|
リクエストサンプル
curl -XPOST https://catalog.api.nifcloud.com/v1/resource-groups/my-resource-group/anthos/clusters/my-cluster/anthos-service-mesh:upgrade
-H 'X-Amz-Date: 20230401T000000Z'
-H 'Authorization: AWS4-HMAC-SHA256 ...'
-H 'content-type:application/json'
-d '
{
"version": "1.20.6-asm.0"
}
'
応答サンプル
{
"name": "my-cluster",
"version": "1.28.200-gke.118",
"keyName": "sshkey",
"initialAccountingType": "pay-per-use",
"anthosServiceMeshConfig": {
"enabled": true,
"version": "1.19.6-asm.2"
},
"cloudControllerManagerConfig": {
"useExternalCloudProvider": false
},
"controlPlaneLoadBalancer": {
"type": "elastic-load-balancer",
"vip": "",
"systemIpAddresses": [],
"elasticLoadBalancer": {
"region": "east-1",
"availabilityZone": "east-11",
"id": "elb-xxxxxxxx",
"name": "mycplbxxxxx",
"dnsName": "192.0.2.3",
"networkInterfaces": [
{
"networkId": "net-COMMON_PRIVATE",
"ipAddress": "192.0.2.3",
"isVipNetwork": true,
"systemIpAddresses": []
}
]
}
},
"controlPlane": {
"name": "my-cluster",
"region": "east-1",
"availabilityZone": "east-11",
"instanceType": "h2-large16",
"volumeType": "standard-flash-storage-a",
"volumeSize": 100,
"nodeCount": 1,
"instances": [
{
"region": "east-1",
"availabilityZone": "east-11",
"instanceId": "mycpsvxxxxx",
"instanceUniqueId": "i-xxxxxxxx",
"instanceType": "h2-large16",
"securityGroupName": "mycpfwxxxxx",
"networkInterfaces": [
{
"networkId": "net-COMMON_GLOBAL",
"ipAddress": "192.0.2.4"
},
{
"networkId": "net-COMMON_PRIVATE",
"ipAddress": "192.0.2.5"
}
],
"volumes": [
{
"region": "east-1",
"availabilityZone": "east-11",
"volumeId": "mycpdkxxxxx",
"volumeUniqueId": "vol-xxxxxxxx",
"type": "standard-flash-storage-a",
"size": 100
}
]
}
]
},
"nodePools": [
{
"name": "pool01",
"region": "east-1",
"availabilityZone": "east-11",
"instanceType": "h2-large16",
"volumeType": "standard-flash-storage-a",
"volumeSize": 100,
"nodeCount": 1,
"instances": [
{
"region": "east-1",
"availabilityZone": "east-11",
"instanceId": "mywksvxxxxx",
"instanceUniqueId": "i-xxxxxxxx",
"instanceType": "h2-large16",
"securityGroupName": "mywkfwxxxxx",
"networkInterfaces": [
{
"networkId": "net-COMMON_GLOBAL",
"ipAddress": "192.0.2.6"
},
{
"networkId": "net-COMMON_PRIVATE",
"ipAddress": "192.0.2.7"
}
],
"volumes": [
{
"region": "east-1",
"availabilityZone": "east-11",
"volumeId": "mywkdkxxxxx",
"volumeUniqueId": "vol-xxxxxxxx",
"type": "standard-flash-storage-a",
"size": 100
}
]
}
]
}
],
"status": "configuring"
}
