クラスター内のすべてのノードプールを照会します。
操作説明
-
ノードを削除する際は、この API または コンテナサービスコンソール を通じて標準化された操作を実行してください。
kubectl delete nodeを使用して手動でノードを削除しないでください。 -
ECS または ESS コンソール(または関連 API)で、ノードを直接リリースしたり、インスタンスを削除したり、サブスクリプションインスタンスの有効期限切れによりノードが受動的にリリースされたりしないようにしてください。これらの場合、ノードは直接停止され、コンテナサービスコンソールから自動的に削除されます。
-
ノードプールに希望するノード数が構成されている場合、ノードプールは対応する構成に基づいて他のインスタンスを自動的にスケールアウトし、ノード数を希望する数に維持します。
-
ノードの削除には Pod の移行が伴い、サービスに影響を与える可能性があります。この操作はオフピーク時に実行してください。操作中に予期せぬリスクが発生する可能性があります。事前に関連データのバックアップを取得してください。
-
ノードを削除する際、ACK はドレイン操作を実行します。クラスター内の他のノードに十分なリソースがあることを確認し、アプリケーションポッドがスケジューリングできなくなるのを避けてください。
-
削除対象のノード上の Pod のノードアフィニティルールとスケジューリングポリシーを確認し、ノード削除後に Pod がスケジューリング不可能な状態にならないようにしてください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cs:DescribeClusterNodePools |
get |
*Cluster
|
なし | なし |
リクエスト構文
GET /clusters/{ClusterId}/nodepools HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClusterId |
string |
必須 |
クラスターの ID。 |
cc0f87de0b8fb403f86e10e204f83**** |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| NodepoolName |
string |
任意 |
ノードプール名。 |
nodepool-test |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
ノードプールの詳細。 |
||
| nodepools |
array<object> |
ノードプールインスタンスのリスト。 |
|
|
array<object> |
ノードプールインスタンスの詳細。 |
||
| nodepool_info |
object |
ノードプール情報。 |
|
| nodepool_id |
string |
ノードプールの ID。 |
np615c0e0966124216a0412e10afe0**** |
| name |
string |
ノードプール名。 |
default-nodepool |
| type |
string |
ノードプールのタイプ。有効な値:
|
ess |
| is_default |
boolean |
これがデフォルトノードプールであるかどうかを示します。クラスターには通常、デフォルトノードプールが 1 つだけ存在します。有効な値:
|
true |
| resource_group_id |
string |
リソースグループの ID。 |
rg-acfmyvw3wjm**** |
| region_id |
string |
リージョン ID。 |
cn-beijing |
| created |
string |
ノードプールが作成された時間。 |
2025-04-15T16:33:29.362888807+08:00 |
| updated |
string |
ノードプールが最後に更新された時間。 |
2025-04-15T16:33:32.823+08:00 |
| status |
object |
ノードプールのステータス。 |
|
| state |
string |
ノードプールの状態。有効な値:
|
active |
| healthy_nodes |
integer |
正常なインスタンスの数。 |
3 |
| initial_nodes |
integer |
作成中のノードの数。 |
0 |
| failed_nodes |
integer |
失敗したインスタンスの数。 |
0 |
| offline_nodes |
integer |
オフラインノードの数。 |
0 |
| removing_nodes |
integer |
削除中のノードの数。 |
0 |
| serving_nodes |
integer |
サービス提供状態のノードの数。 |
3 |
| total_nodes |
integer |
ノードプール内のノードの総数。 |
3 |
| auto_scaling |
object |
auto scaling の構成。 |
|
| enable |
boolean |
auto scaling を有効にするかどうかを指定します。有効な値:
値が false の場合、 |
true |
| type |
string |
インスタンスタイプ別に分類された auto scaling タイプ。有効な値:
|
cpu |
| max_instances |
integer |
ノードプール内のスケーラブルなインスタンスの最大値 (既存のインスタンスを除く)。 |
10 |
| min_instances |
integer |
ノードプール内のスケーラブルなインスタンスの最小値 (既存のインスタンスを除く)。 |
2 |
| eip_internet_charge_type |
string |
EIP の課金タイプ。有効な値:
|
PayByBandwidth |
| is_bond_eip |
boolean |
EIP を関連付けるかどうかを指定します。有効な値:
|
true |
| eip_bandwidth |
integer |
EIP のピーク帯域幅。 有効値: [1,100]。単位: Mbit/s。 |
5 |
| management |
object |
マネージドノードプールの構成。この構成は、プロフェッショナルマネージドクラスターでのみ効果が有効です。 |
|
| enable |
boolean |
マネージドノードプールを有効にするかどうかを指定します。有効な値:
|
true |
| auto_repair |
boolean |
自動修復を有効にするかどうかを指定します。このパラメーターは
|
true |
| auto_repair_policy |
object |
自動修復ノードポリシー。 |
|
| restart_node |
boolean |
ノードの再起動を許可するかどうかを指定します。このパラメーターは
|
true |
| approval_required |
boolean |
ノード修復に手動承認が必須かどうかを示します。 |
false |
| auto_repair_policy_id |
string |
自動修復ポリシーの ID。 |
r-xxxxxxxxx |
| auto_vul_fix |
boolean |
自動 CVE 修正を有効にするかどうかを指定します。このパラメーターは
|
true |
| auto_vul_fix_policy |
object |
自動 CVE 修正ポリシー。 |
|
| restart_node |
boolean |
ノードの再起動を許可するかどうかを指定します。このパラメーターは
|
true |
| vul_level |
string |
自動修正が許可される脆弱性レベル (カンマ区切り)。
|
asap,nntf |
| exclude_packages |
string |
脆弱性修正中に除外するパッケージ。 |
kernel |
| auto_upgrade |
boolean |
ノードの自動スペックアップを有効にするかどうかを指定します。このパラメーターは
|
true |
| auto_upgrade_policy |
object |
自動スペックアップポリシー。 |
|
| auto_upgrade_kubelet |
boolean |
kubelet の自動スペックアップを許可するかどうかを指定します。このパラメーターは
|
true |
| upgrade_config |
object |
自動スペックアップの構成。このパラメーターは |
|
| auto_upgrade |
boolean |
自動スペックアップを有効にするかどうかを指定します。有効な値:
|
true |
| surge |
integer |
追加ノードの数。 |
5 |
| surge_percentage |
integer |
追加ノードの割合。 追加ノード数 = 追加ノード割合 × ノード数。たとえば、追加ノード割合が 50% で既存のノードが 6 つある場合、追加ノード数 = 50% × 6 = 3 となります。 |
50 |
| max_unavailable |
integer |
利用不可ノードの最大値。有効値: [1,1000]。 デフォルト値: 1。 |
1 |
| auto_fault_diagnosis |
boolean |
ノード自己修復のための ECS 障害検出が有効かどうかを示します。 |
|
| drift_enabled |
boolean |
||
| scaling_group |
object |
ノードプールのスケーリンググループ構成。 |
|
| scaling_group_id |
string |
スケーリンググループの ID。 |
asg-2ze8n5qw4atggut8**** |
| vswitch_ids |
array |
vSwitch ID のリスト。 |
|
|
string |
vSwitch の ID。 |
vsw-2ze3ds0mdip0hdz8i**** |
|
| instance_types |
array |
ノードのインスタンスタイプのリスト。代替として複数のインスタンスタイプを選択できます。ノード作成時、システムは最初のスペックから順にインスタンスの購入を試み、成功するまで続けます。最終的に購入されるインスタンスタイプは、在庫の可用性によって異なる場合があります。 |
ecs.n4.large |
|
string |
ノードのインスタンスタイプ。 |
ecs.n4.large |
|
| instance_charge_type |
string |
ノードプール内のノードの課金タイプ。有効な値:
|
PostPaid |
| period |
integer |
インスタンスのサブスクリプション期間。このパラメーターは、
|
1 |
| period_unit |
string |
インスタンスのサブスクリプション期間の単位。このパラメーターは、
|
Month |
| auto_renew |
boolean |
インスタンスの自動更新を有効にするかどうかを指定します。このパラメーターは、
|
false |
| auto_renew_period |
integer |
各自動更新サイクルの持続時間。有効な値:
|
0 |
| spot_strategy |
string |
スポットインスタンスタイプ。有効な値:
詳細については、「スポットインスタンス」を参照してください。 |
NoSpot |
| spot_price_limit |
array<object> |
スポットインスタンスの市場価格有効値の構成。 |
|
|
object |
スポットインスタンスの市場価格有効値の構成。インスタンスタイプごとに異なる価格範囲をセットできます。 |
||
| instance_type |
string |
スポットインスタンスタイプ。 |
ecs.c6.large |
| price_limit |
string |
インスタンスあたりの市場価格有効値。 単位: USD/時間。 |
0.39 |
| image_type |
string |
オペレーティングシステムイメージタイプ。
|
AliyunLinux3 |
| image_id |
string |
カスタムイメージの ID。 |
aliyun_3_x64_20G_alibase_20241218.vhd |
| system_disk_category |
string |
ノードシステムクラウドディスクタイプ。有効な値:
|
cloud_efficiency |
| system_disk_categories |
array |
複数のシステムクラウドディスクタイプ。優先度の高いディスクタイプが利用できない場合、システムは自動的に次の優先度のディスクタイプを試してシステムクラウドディスクを作成します。 |
|
|
string |
ノードシステムクラウドディスクタイプ。 有効な値:
|
EESSD云盘 |
|
| system_disk_size |
integer |
ノードシステムクラウドディスクのサイズ (GiB 単位)。 有効値: [20,2048]。 |
120 |
| system_disk_performance_level |
string |
ノードシステムクラウドディスクのパフォーマンスレベル。このパラメーターは ESSD ディスクに対してのみ効果が有効です。パフォーマンスレベルはディスクサイズに関連しています。詳細については、「ESSD クラウドディスク」を参照してください。
|
PL1 |
| system_disk_encrypted |
boolean |
システムクラウドディスクを暗号化するかどうかを指定します。有効な値:
|
false |
| system_disk_kms_key_id |
string |
システムクラウドディスクに使用される KMS キーの ID。 |
0e478b7a-4262-4802-b8cb-00d3fb40**** |
| system_disk_encrypt_algorithm |
string |
システムクラウドディスクに使用される暗号化アルゴリズム。有効な値: aes-256。 |
aes-256 |
| system_disk_bursting_enabled |
boolean |
ノードシステムクラウドディスクでバースト (バースト機能) を有効にするかどうかを指定します。有効な値:
このパラメーターは、 |
true |
| system_disk_provisioned_iops |
integer |
ノードシステムクラウドディスクのプロビジョニング済み読み取り/書き込み IOPS。このパラメーターはディスクタイプが cloud_auto の場合に設定されます。 |
1000 |
| data_disks |
array |
ノードのデータクラウドディスクタイプ、サイズ、その他の構成の組み合わせ。 |
|
| data_disk |
ノードのデータクラウドディスク構成。 |
||
| disk_init |
array |
ブロックデバイスの初期化構成。 |
|
|
DiskInit |
DiskInit の構成。 |
||
| security_group_ids |
array |
ノードプールのセキュリティグループ ID のリスト。 |
|
|
string |
ノードプールのセキュリティグループ ID のリスト。 |
sg-2ze1iuk12m2sb4c4**** |
|
| key_pair |
string |
キーペア名。 マネージドノードプールでは、 |
pro-nodepool |
| login_password |
string |
SSH ログインパスワード。 セキュリティ上の理由から、ログインパスワードはクエリ結果で暗号化されます。 |
****** |
| login_as_non_root |
boolean |
スケーリングされた ECS インスタンスが非ルートユーザーログインを使用するかどうかを指定します。
|
true |
cis_enabled
deprecated
|
boolean |
[このフィールドは非推奨です] 代わりに security_hardening_os パラメーターを使用してください。 |
false |
| soc_enabled |
boolean |
等級保護 2.0 セキュリティ強化を有効にするかどうかを指定します。システムイメージが Alibaba Cloud Linux 2 または Alibaba Cloud Linux 3 の場合にのみ、ノードに対して等級保護 2.0 セキュリティ強化を有効にできます。Alibaba Cloud は、Alibaba Cloud Linux 2 および Alibaba Cloud Linux 3 等級保護 2.0 レベル 3 イメージに対して、等級保護コンプライアンスに準拠したベースラインチェック基準とスキャンプログラムを提供しています。 |
false |
| security_hardening_os |
boolean |
Alibaba Cloud OS セキュリティ強化を有効にするかどうかを指定します。有効な値:
デフォルト値: |
false |
| internet_charge_type |
string |
ノードのパブリック IP アドレスの課金方法。
|
PayByBandwidth |
| internet_max_bandwidth_out |
integer |
ノードのパブリック IP アドレスの最大アウトバウンド帯域幅 (Mbps (メガビット/秒) 単位)。有効値: 1〜100。 |
10 |
| tags |
array |
ECS インスタンスタグ。 |
|
| tag |
ノードタグ。 |
[{\"key\":\"pkg.E2EClient.ClusterId\",\"value\":\"troopers-\"}] |
|
| desired_size |
integer |
ノードプールの希望するノード数。 [_single.resp.200 |
2 |
| multi_az_policy |
string |
スケーリンググループ内の ECS インスタンスのマルチゾーンスケーリングポリシー。有効な値:
|
COST_OPTIMIZED |
| scaling_policy |
string |
スケーリンググループモード。有効な値:
|
release |
| on_demand_base_capacity |
integer |
The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value. |
0 |
| on_demand_percentage_above_base_capacity |
integer |
The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances ( |
20 |
| spot_instance_pools |
integer |
The number of active instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10]. |
5 |
| spot_instance_remedy |
boolean |
Specifies whether to enable supplementing of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
false |
| compensate_with_on_demand |
boolean |
When
|
true |
| deploymentset_id |
string |
The deployment set ID. |
ds-bp1d19mmbsv3jf6xxxxx |
| rds_instances |
array |
If RDS instances are specified, the ECS instances in the cluster node are automatically added to the whitelist of the RDS instances. |
|
|
string |
The RDS instance. |
rm-xxx |
|
| private_pool_options |
object |
The private pool options. |
|
| id |
string |
The private pool ID, which is the ID of the elasticity assurance or capacity reservation. |
eap-bp67acfmxazb4**** |
| match_criteria |
string |
The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to select during launch. Valid values:
|
Open |
| security_group_id |
string |
[This field is deprecated] The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in |
sg-2ze1iuk12m2sb4c4**** |
| platform |
string |
[This field is deprecated] The operating system distribution. Valid values:
|
AliyunLinux |
| ram_policy |
string |
This field is deprecated. Use ram_role_name instead. |
KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e**** |
| instance_patterns |
array |
The instance attribute configurations. |
|
| instance_patterns |
The instance attribute. |
||
| ram_role_name |
string |
The worker RAM role name. |
KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f**** |
| resource_pool_options |
object |
The resource pool and resource pool policy used when creating instances. |
|
| strategy |
string |
The resource pool policy used when creating instances. Valid values: PrivatePoolFirst: private pool first. PrivatePoolOnly: private pool only. None: no resource pool policy. |
PrivatePoolFirst |
| private_pool_ids |
array |
The list of private pool IDs. |
|
|
string |
The private pool ID. |
eap-bp1c1fohub5jccwi**** |
|
| system_disk_snapshot_policy_id |
string |
The system cloud disk snapshot policy. |
sp-0jl6xnmme8v7o935**** |
| node_config |
object |
The node configuration. |
|
| kubelet_configuration | kubelet_config |
The Kubelet parameter settings. |
|
| node_os_config |
object |
The node operating system configuration. |
|
| hugepage |
Hugepage |
The Hugepage configuration. |
|
| kubernetes_config |
object |
The cluster-related configuration. |
|
| labels |
array |
ノードタグ。 |
|
| tag |
The label configuration. |
{} |
|
| taints |
array |
The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see taint-and-toleration. |
|
| taint |
The node taint information. |
||
| runtime |
string |
The container runtime name. ACK supports the following three container runtimes:
|
containerd |
| runtime_version |
string |
The container runtime version. |
1.6.38 |
| cpu_policy |
string |
The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
none |
| user_data |
string |
The node pool custom data, which is a script that runs after node initialization. For more information, see Generate instance user data. |
IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD**** |
| unschedulable |
boolean |
Specifies whether scaled-out nodes are unschedulable.
|
true |
| cms_enabled |
boolean |
Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
true |
| node_name_mode |
string |
The custom node name. The node name consists of three parts: prefix + node IP address substring + suffix:
For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test. |
aliyun.com192.XX.YY.55test |
| pre_user_data |
string |
The node pool pre-custom data, which is a script that runs before node initialization. For more information, see Generate instance user data. |
IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD |
| tee_config |
object |
The confidential computing configuration. |
|
| tee_enable |
boolean |
Specifies whether to enable confidential computing for the cluster. Valid values:
|
false |
| interconnect_config |
object |
[This field is deprecated] The network configuration for edge node pools. This value is meaningful only for edge-type node pools. |
|
| cen_id |
string |
[This field is deprecated] The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool. |
cen-ey9k9nfhz0f******* |
| ccn_id |
string |
[This field is deprecated] The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool. |
ccn-qm5i0i0q9yi******* |
| ccn_region_id |
string |
[This field is deprecated] The region of the Cloud Connect Network instance bound to the enhanced edge node pool. |
cn-shanghai |
| bandwidth |
integer |
[This field is deprecated] The network bandwidth of the enhanced edge node pool. Unit: Mbps. |
10 |
| improved_period |
string |
[This field is deprecated] The subscription duration of the enhanced edge node pool. Unit: months. |
1 |
| max_nodes |
integer |
The maximum number of nodes allowed in the edge node pool. This value must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0. |
10 |
| interconnect_mode |
string |
The network type of the edge node pool. This parameter takes effect only for node pools with
|
basic |
| auto_mode |
object |
The intelligent managed configuration. |
|
| enable |
boolean |
Specifies whether to enable intelligent managed mode. |
true |
| node_components |
array<object> |
The list of node components. |
|
|
array<object> |
The node component. |
||
| name |
string |
The node component name. |
kubelet |
| version |
string |
The node component version. |
1.33.3-aliyun.1 |
| config |
object |
The node component configuration. |
|
| custom_config |
object |
The custom configuration of the node component. |
{"cpuManagerPolicy":"static"} |
|
any |
The custom configuration string of the node component. |
cpuManagerPolicy |
|
| config_revision |
string |
The custom configuration revision number of the node component. |
1 |
| eflo_node_group |
object |
The Lingjun node group information. |
|
| cluster_id |
string |
The Lingjun cluster ID. |
i113790071760688002461 |
| group_id |
string |
The Lingjun group ID. |
i128147721760688002463 |
| auto_attach_enabled |
boolean |
Specifies whether to enable automatic node addition for the Lingjun node pool (not effective). |
|
| worker_ram_role_name |
string |
The worker RAM role used by the Lingjun node pool. |
例
成功レスポンス
JSONJSON
{
"nodepools": [
{
"nodepool_info": {
"nodepool_id": "np615c0e0966124216a0412e10afe0****",
"name": "default-nodepool",
"type": "ess",
"is_default": true,
"resource_group_id": "rg-acfmyvw3wjm****",
"region_id": "cn-beijing",
"created": "2025-04-15T16:33:29.362888807+08:00",
"updated": "2025-04-15T16:33:32.823+08:00"
},
"status": {
"state": "active",
"healthy_nodes": 3,
"initial_nodes": 0,
"failed_nodes": 0,
"offline_nodes": 0,
"removing_nodes": 0,
"serving_nodes": 3,
"total_nodes": 3
},
"auto_scaling": {
"enable": true,
"type": "cpu",
"max_instances": 10,
"min_instances": 2,
"eip_internet_charge_type": "PayByBandwidth",
"is_bond_eip": true,
"eip_bandwidth": 5
},
"management": {
"enable": true,
"auto_repair": true,
"auto_repair_policy": {
"restart_node": true,
"approval_required": false,
"auto_repair_policy_id": "r-xxxxxxxxx"
},
"auto_vul_fix": true,
"auto_vul_fix_policy": {
"restart_node": true,
"vul_level": "asap,nntf",
"exclude_packages": "kernel"
},
"auto_upgrade": true,
"auto_upgrade_policy": {
"auto_upgrade_kubelet": true
},
"upgrade_config": {
"auto_upgrade": true,
"surge": 5,
"surge_percentage": 50,
"max_unavailable": 1
},
"auto_fault_diagnosis": false,
"drift_enabled": false
},
"scaling_group": {
"scaling_group_id": "asg-2ze8n5qw4atggut8****",
"vswitch_ids": [
"vsw-2ze3ds0mdip0hdz8i****"
],
"instance_types": [
"ecs.n4.large"
],
"instance_charge_type": "PostPaid",
"period": 1,
"period_unit": "Month",
"auto_renew": false,
"auto_renew_period": 0,
"spot_strategy": "NoSpot",
"spot_price_limit": [
{
"instance_type": "ecs.c6.large",
"price_limit": "0.39"
}
],
"image_type": "AliyunLinux3",
"image_id": "aliyun_3_x64_20G_alibase_20241218.vhd",
"system_disk_category": "cloud_efficiency",
"system_disk_categories": [
"EESSD云盘"
],
"system_disk_size": 120,
"system_disk_performance_level": "PL1",
"system_disk_encrypted": false,
"system_disk_kms_key_id": "0e478b7a-4262-4802-b8cb-00d3fb40****",
"system_disk_encrypt_algorithm": "aes-256",
"system_disk_bursting_enabled": true,
"system_disk_provisioned_iops": 1000,
"data_disks": [
{
"category": "cloud_ssd",
"size": 40,
"encrypted": "true",
"kms_key_id": "0e478b7a-4262-4802-b8cb-00d3fb40****",
"auto_snapshot_policy_id": "sp-2zej1nogjvovnz4z****",
"performance_level": "PL1",
"provisioned_iops": 1000,
"bursting_enabled": true,
"auto_format": true,
"file_system": "ext4",
"mount_target": "/mnt/path1",
"disk_name": "DataDiskName",
"device": "/dev/xvdb",
"snapshot_id": "s-280s7****"
}
],
"disk_init": [
{
"disk_name": "disk0",
"mkfs_type": "ext4",
"mount_target": "/mnt/disk0",
"mount_for_runtime": false,
"local_disk": false
}
],
"security_group_ids": [
"sg-2ze1iuk12m2sb4c4****"
],
"key_pair": "pro-nodepool",
"login_password": "******",
"login_as_non_root": true,
"cis_enabled": false,
"soc_enabled": false,
"security_hardening_os": false,
"internet_charge_type": "PayByBandwidth",
"internet_max_bandwidth_out": 10,
"tags": [
{
"key": "env",
"value": "prod"
}
],
"desired_size": 2,
"multi_az_policy": "COST_OPTIMIZED",
"scaling_policy": "release",
"on_demand_base_capacity": 0,
"on_demand_percentage_above_base_capacity": 20,
"spot_instance_pools": 5,
"spot_instance_remedy": false,
"compensate_with_on_demand": true,
"deploymentset_id": "ds-bp1d19mmbsv3jf6xxxxx",
"rds_instances": [
"rm-xxx"
],
"private_pool_options": {
"id": "eap-bp67acfmxazb4****",
"match_criteria": "Open"
},
"security_group_id": "sg-2ze1iuk12m2sb4c4****",
"platform": "AliyunLinux",
"ram_policy": "KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****",
"instance_patterns": [
{
"cores": 4,
"memory": 8,
"instance_family_level": "EnterpriseLevel",
"excluded_instance_types": [
"ecs.c6.large"
],
"min_cpu_cores": 4,
"max_cpu_cores": 8,
"min_memory_size": 8,
"max_memory_size": 16,
"instance_categories": [
"General-purpose"
],
"cpu_architectures": [
"X86"
],
"core": 4,
"max_price": 2,
"architectures": [
"X86"
],
"burst_performance_option": "Exclude",
"instance_type_families": [
"ecs.c6"
],
"minimum_eni_quantity": 3,
"minimum_eni_private_ip_address_quantity": 10,
"minimum_eni_ipv6_address_quantity": 1,
"maximum_gpu_amount": 8
}
],
"ram_role_name": "KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****",
"resource_pool_options": {
"strategy": "PrivatePoolFirst",
"private_pool_ids": [
"eap-bp1c1fohub5jccwi****"
]
},
"system_disk_snapshot_policy_id": "sp-0jl6xnmme8v7o935****"
},
"node_config": {
"kubelet_configuration": {
"registryPullQPS": 5,
"registryBurst": 10,
"eventRecordQPS": 5,
"eventBurst": 10,
"kubeAPIQPS": 5,
"kubeAPIBurst": 10,
"serializeImagePulls": true,
"cpuManagerPolicy": "none",
"evictionHard": {
"test": "test",
"test2": 1
},
"evictionSoft": {
"test": "test",
"test2": 1
},
"evictionSoftGracePeriod": {
"test": "test",
"test2": 1
},
"systemReserved": {
"test": "test",
"test2": 1
},
"kubeReserved": {
"test": "test",
"test2": 1
},
"readOnlyPort": 0,
"maxPods": 110,
"containerLogMaxSize": "10Mi",
"containerLogMaxFiles": 5,
"featureGates": {
"test": "test",
"test2": 1
},
"allowedUnsafeSysctls": [
"net.core.somaxconn"
],
"reservedMemory": [
{
"numaNode": 0,
"limits": {
"memory": "1Gi"
}
}
],
"memoryManagerPolicy": "none",
"cpuCFSQuota": true,
"cpuCFSQuotaPeriod": "100ms",
"imageGCHighThresholdPercent": 85,
"imageGCLowThresholdPercent": 80,
"podPidsLimit": -1,
"topologyManagerPolicy": "restricted",
"clusterDNS": [
"127.0.xx.xx"
],
"tracing": {
"endpoint": "localhost:4317",
"samplingRatePerMillion": 200000
},
"containerLogMaxWorkers": 1,
"containerLogMonitorInterval": "10s",
"serverTLSBootstrap": true
},
"node_os_config": {
"hugepage": {
"transparentEnabled": "",
"transparentDefrag": "",
"khugepagedDefrag": 0,
"khugepagedAllocSleepMillisecs": 0,
"khugepagedScanSleepMillisecs": 0,
"khugepagedPagesToScan": 0
}
}
},
"kubernetes_config": {
"labels": [
{
"key": "env",
"value": "prod"
}
],
"taints": [
{
"key": "key",
"value": "value",
"effect": "NoSchedule"
}
],
"runtime": "containerd",
"runtime_version": "1.6.38",
"cpu_policy": "none",
"user_data": "IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****",
"unschedulable": true,
"cms_enabled": true,
"node_name_mode": "aliyun.com192.XX.YY.55test",
"pre_user_data": "IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD"
},
"tee_config": {
"tee_enable": false
},
"interconnect_config": {
"cen_id": "cen-ey9k9nfhz0f*******",
"ccn_id": "ccn-qm5i0i0q9yi*******",
"ccn_region_id": "cn-shanghai",
"bandwidth": 10,
"improved_period": "1"
},
"max_nodes": 10,
"interconnect_mode": "basic",
"auto_mode": {
"enable": true
},
"node_components": [
{
"name": "kubelet",
"version": "1.33.3-aliyun.1",
"config": {
"custom_config": {
"key": "cpuManagerPolicy"
}
},
"config_revision": "1"
}
],
"eflo_node_group": {
"cluster_id": "i113790071760688002461",
"group_id": "i128147721760688002463",
"auto_attach_enabled": false,
"worker_ram_role_name": ""
}
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。