Mengkueri semua kelompok node dalam sebuah kluster.
Deskripsi operasi
-
Saat menghapus node, lakukan operasi terstandarisasi melalui API ini atau Konsol Container Service. Jangan menghapus node secara manual menggunakan
kubectl delete node. -
Jangan langsung merilis node, menghapus instans, atau membiarkan node dilepaskan secara pasif karena masa berlaku Instans langganan habis di konsol ECS atau ESS (atau melalui API terkait). Dalam kasus tersebut, node akan langsung dihentikan dan otomatis dihapus dari Konsol Container Service.
-
Jika kelompok node memiliki jumlah node yang diinginkan (desired node count) yang dikonfigurasi, kelompok node akan secara otomatis melakukan skala keluar (scale out) instans lain berdasarkan konfigurasi yang sesuai untuk mempertahankan jumlah node pada angka yang diinginkan.
-
Menghapus node melibatkan migrasi Pod, yang dapat memengaruhi layanan Anda. Lakukan operasi ini selama jam non-puncak. Risiko tak terduga dapat terjadi selama operasi. Cadangkan data terkait sebelumnya.
-
Saat menghapus node, ACK menjalankan operasi drain. Pastikan node lain dalam kluster memiliki sumber daya yang cukup untuk menghindari Pod aplikasi yang tidak dapat dijadwalkan.
-
Periksa aturan afinitas node dan kebijakan penjadwalan Pod pada node yang akan dihapus untuk memastikan bahwa Pod tidak menjadi tidak terjadwal setelah penghapusan node.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeClusterNodePools |
get |
*Cluster
|
None | None |
Sintaks permintaan
GET /clusters/{ClusterId}/nodepools HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID kluster. |
cc0f87de0b8fb403f86e10e204f83**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NodepoolName |
string |
No |
Nama kelompok node. |
nodepool-test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Detail kelompok node. |
||
| nodepools |
array<object> |
Daftar instans kelompok node. |
|
|
array<object> |
Detail instans kelompok node. |
||
| nodepool_info |
object |
Informasi kelompok node. |
|
| nodepool_id |
string |
ID kelompok node. |
np615c0e0966124216a0412e10afe0**** |
| name |
string |
Nama kelompok node. |
default-nodepool |
| type |
string |
Tipe kelompok node. Nilai valid:
|
ess |
| is_default |
boolean |
Menunjukkan apakah ini adalah kelompok node default. Biasanya, sebuah kluster hanya memiliki satu kelompok node default. Nilai valid:
|
true |
| resource_group_id |
string |
ID kelompok sumber daya. |
rg-acfmyvw3wjm**** |
| region_id |
string |
ID wilayah. |
cn-beijing |
| created |
string |
Pengatur waktu ketika kelompok node dibuat. |
2025-04-15T16:33:29.362888807+08:00 |
| updated |
string |
Pengatur waktu ketika kelompok node terakhir diperbarui. |
2025-04-15T16:33:32.823+08:00 |
| status |
object |
Status kelompok node. |
|
| state |
string |
Status kelompok node. Nilai valid:
|
active |
| healthy_nodes |
integer |
Jumlah instans sehat. |
3 |
| initial_nodes |
integer |
Jumlah node yang sedang dibuat. |
0 |
| failed_nodes |
integer |
Jumlah instans gagal. |
0 |
| offline_nodes |
integer |
Jumlah node offline. |
0 |
| removing_nodes |
integer |
Jumlah node yang sedang dihapus. |
0 |
| serving_nodes |
integer |
Jumlah node dalam status melayani. |
3 |
| total_nodes |
integer |
Jumlah total node dalam kelompok node. |
3 |
| auto_scaling |
object |
Konfigurasi penskalaan otomatis. |
|
| enable |
boolean |
Apakah akan mengaktifkan penskalaan otomatis. Nilai valid:
Ketika nilainya false, parameter konfigurasi lain dalam |
true |
| type |
string |
Tipe penskalaan otomatis, dikategorikan berdasarkan tipe instans. Nilai valid:
|
cpu |
| max_instances |
integer |
Jumlah maksimum instans yang dapat diskalakan dalam kelompok node, tidak termasuk instans yang ada saat ini. |
10 |
| min_instances |
integer |
Jumlah minimum instans yang dapat diskalakan dalam kelompok node, tidak termasuk instans yang ada saat ini. |
2 |
| eip_internet_charge_type |
string |
Tipe penagihan EIP. Nilai valid:
|
PayByBandwidth |
| is_bond_eip |
boolean |
Apakah akan mengasosiasikan EIP. Nilai valid:
|
true |
| eip_bandwidth |
integer |
Bandwidth puncak EIP. Nilai valid: [1,100]. Unit: Mbps. |
5 |
| management |
object |
Konfigurasi kelompok node terkelola. Konfigurasi ini hanya berlaku pada kluster terkelola profesional. |
|
| enable |
boolean |
Apakah akan mengaktifkan kelompok node terkelola. Nilai valid:
|
true |
| auto_repair |
boolean |
Apakah akan mengaktifkan perbaikan otomatis. Hanya berlaku ketika
|
true |
| auto_repair_policy |
object |
Kebijakan perbaikan otomatis node. |
|
| restart_node |
boolean |
Apakah akan mengizinkan restart node. Hanya berlaku ketika
|
true |
| approval_required |
boolean |
Apakah persetujuan manual diperlukan untuk perbaikan node. |
false |
| auto_repair_policy_id |
string |
ID kebijakan perbaikan otomatis. |
r-xxxxxxxxx |
| auto_vul_fix |
boolean |
Apakah akan mengaktifkan perbaikan CVE otomatis. Hanya berlaku ketika
|
true |
| auto_vul_fix_policy |
object |
Kebijakan perbaikan CVE otomatis. |
|
| restart_node |
boolean |
Apakah akan mengizinkan restart node. Hanya berlaku ketika
|
true |
| vul_level |
string |
Level kerentanan yang diizinkan untuk perbaikan otomatis, dipisahkan oleh koma.
|
asap,nntf |
| exclude_packages |
string |
Paket yang dikecualikan selama perbaikan kerentanan. |
kernel |
| auto_upgrade |
boolean |
Apakah akan mengaktifkan peningkatan otomatis untuk node. Hanya berlaku ketika
|
true |
| auto_upgrade_policy |
object |
Kebijakan peningkatan otomatis. |
|
| auto_upgrade_kubelet |
boolean |
Apakah akan mengizinkan peningkatan kubelet otomatis. Hanya berlaku ketika
|
true |
| upgrade_config |
object |
Konfigurasi peningkatan otomatis. Hanya berlaku ketika |
|
| auto_upgrade |
boolean |
Apakah akan mengaktifkan peningkatan otomatis. Nilai valid:
|
true |
| surge |
integer |
Jumlah node tambahan. Saling eksklusif dengan |
5 |
| surge_percentage |
integer |
Persentase node tambahan. Saling eksklusif dengan Node tambahan = persentase node tambahan × jumlah node. Misalnya, jika persentase node tambahan adalah 50% dan ada 6 node yang ada, jumlah node tambahan = 50% × 6 = 3. |
50 |
| max_unavailable |
integer |
Jumlah maksimum node yang tidak tersedia. Nilai valid: [1,1000]. Nilai default: 1. |
1 |
| auto_fault_diagnosis |
boolean |
Apakah deteksi fault ECS untuk penyembuhan mandiri node diaktifkan. |
|
| drift_enabled |
boolean |
||
| scaling_group |
object |
Konfigurasi grup penskalaan kelompok node. |
|
| scaling_group_id |
string |
ID grup penskalaan. |
asg-2ze8n5qw4atggut8**** |
| vswitch_ids |
array |
Daftar ID vSwitch. |
|
|
string |
ID vSwitch. |
vsw-2ze3ds0mdip0hdz8i**** |
|
| instance_types |
array |
Daftar tipe instans node. Anda dapat memilih beberapa tipe instans sebagai alternatif. Selama pembuatan node, sistem mencoba membeli instans dimulai dari spesifikasi pertama hingga berhasil. Tipe instans yang akhirnya dibeli dapat bervariasi tergantung pada ketersediaan inventaris. |
ecs.n4.large |
|
string |
Tipe instans node. |
ecs.n4.large |
|
| instance_charge_type |
string |
Tipe penagihan node dalam kelompok node. Nilai valid:
|
PostPaid |
| period |
integer |
Durasi langganan node. Berlaku dan diperlukan hanya ketika
|
1 |
| period_unit |
string |
Unit periode langganan. Diperlukan ketika
|
Month |
| auto_renew |
boolean |
Apakah akan mengaktifkan perpanjangan otomatis untuk node. Hanya berlaku ketika
|
false |
| auto_renew_period |
integer |
Durasi setiap siklus perpanjangan otomatis. Nilai valid:
|
0 |
| spot_strategy |
string |
Tipe spot instans. Nilai valid:
Untuk informasi lebih lanjut, lihat Spot instans. |
NoSpot |
| spot_price_limit |
array<object> |
Konfigurasi rentang harga pasar spot instans. |
|
|
object |
Konfigurasi rentang harga pasar spot instans. Anda dapat menetapkan rentang harga berbeda untuk tipe instans berbeda. |
||
| instance_type |
string |
Tipe spot instans. |
ecs.c6.large |
| price_limit |
string |
Rentang harga pasar per instans. Unit: USD/jam. |
0.39 |
| image_type |
string |
Tipe image sistem operasi.
|
AliyunLinux3 |
| image_id |
string |
ID gambar kustom. Anda dapat memanggil |
aliyun_3_x64_20G_alibase_20241218.vhd |
| system_disk_category |
string |
Tipe Tipe disk sistem node. Nilai valid:
|
cloud_efficiency |
| system_disk_categories |
array |
Beberapa tipe cloud disk sistem. Ketika tipe disk dengan prioritas lebih tinggi tidak tersedia, sistem secara otomatis mencoba tipe disk dengan prioritas berikutnya untuk membuat cloud disk sistem. |
|
|
string |
Tipe Tipe disk sistem node. Nilai valid:
|
EESSD云盘 |
|
| system_disk_size |
integer |
Ukuran cloud disk sistem node. Unit: GiB. Nilai valid: [20,2048]. |
120 |
| system_disk_performance_level |
string |
Tingkat kinerja cloud disk sistem node. Hanya berlaku untuk cloud disk ESSD. Tingkat kinerja berkaitan dengan ukuran disk. Untuk informasi lebih lanjut, lihat Cloud disk ESSD.
|
PL1 |
| system_disk_encrypted |
boolean |
Apakah akan mengenkripsi cloud disk sistem. Nilai valid:
|
false |
| system_disk_kms_key_id |
string |
ID kunci KMS yang digunakan untuk cloud disk sistem. |
0e478b7a-4262-4802-b8cb-00d3fb40**** |
| system_disk_encrypt_algorithm |
string |
Algoritma enkripsi yang digunakan untuk cloud disk sistem. Nilai valid: aes-256. |
aes-256 |
| system_disk_bursting_enabled |
boolean |
Apakah akan mengaktifkan burst (lonjakan performa) untuk cloud disk sistem node. Nilai valid:
Parameter ini hanya didukung ketika |
true |
| system_disk_provisioned_iops |
integer |
IOPS baca/tulis yang disediakan untuk cloud disk sistem node. Dikonfigurasi ketika tipe disk adalah cloud_auto. |
1000 |
| data_disks |
array |
Kombinasi tipe, ukuran, dan konfigurasi lain dari cloud disk data node. |
|
| data_disk |
Konfigurasi cloud disk data node. |
||
| disk_init |
array |
Konfigurasi inisialisasi perangkat blok. |
|
|
DiskInit |
Konfigurasi DiskInit. |
||
| security_group_ids |
array |
Daftar ID grup keamanan untuk kelompok node. |
|
|
string |
Daftar ID grup keamanan untuk kelompok node. |
sg-2ze1iuk12m2sb4c4**** |
|
| key_pair |
string |
Nama pasangan kunci. Saling eksklusif dengan Ketika kelompok node adalah kelompok node terkelola, hanya |
pro-nodepool |
| login_password |
string |
Kata sandi logon SSH. Saling eksklusif dengan Untuk tujuan keamanan, kata sandi logon dienkripsi dalam hasil kueri. |
****** |
| login_as_non_root |
boolean |
Apakah Instans ECS yang diskalakan keluar menggunakan logon pengguna non-root.
|
true |
cis_enabled
deprecated
|
boolean |
[Usang] Gunakan parameter security_hardening_os sebagai gantinya. |
false |
| soc_enabled |
boolean |
Apakah akan mengaktifkan penguatan keamanan MLPS 2.0. Penguatan keamanan MLPS 2.0 hanya dapat diaktifkan ketika image sistem adalah Alibaba Cloud Linux 2 atau Alibaba Cloud Linux 3. Alibaba Cloud menyediakan standar pemeriksaan garis dasar kepatuhan perlindungan berlapis dan program pemindaian untuk image MLPS 2.0 Level 3 dari Alibaba Cloud Linux 2 dan Alibaba Cloud Linux 3. |
false |
| security_hardening_os |
boolean |
Apakah akan mengaktifkan penguatan keamanan OS Alibaba Cloud. Nilai valid:
Nilai default: |
false |
| internet_charge_type |
string |
Metode penagihan untuk alamat IP publik node.
|
PayByBandwidth |
| internet_max_bandwidth_out |
integer |
Bandwidth arah keluar maksimum untuk alamat IP publik node, dalam Mbps (Mega bit per second). Nilai valid: 1 hingga 100. |
10 |
| tags |
array |
Tag Instans ECS. |
|
| tag |
Tag node. |
[{\"key\":\"pkg.E2EClient.ClusterId\",\"value\":\"troopers-\"}] |
|
| desired_size |
integer |
Jumlah node yang diinginkan dalam kelompok node. |
2 |
| multi_az_policy |
string |
Kebijakan penskalaan untuk Instans ECS dalam grup penskalaan multi-zona. Nilai valid:
|
COST_OPTIMIZED |
| scaling_policy |
string |
The scaling group mode. Valid values:
|
release |
| on_demand_base_capacity |
integer |
The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created. |
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 available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10]. |
5 |
| spot_instance_remedy |
boolean |
Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed upon receiving a system notification. Valid values:
|
false |
| compensate_with_on_demand |
boolean |
When
|
true |
| deploymentset_id |
string |
The deployment set ID. |
ds-bp1d19mmbsv3jf6xxxxx |
| rds_instances |
array |
If an RDS instance list is specified, the ECS instances of the cluster nodes are automatically added to the RDS access whitelist. |
|
|
string |
The ApsaraDB 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, which specifies the capacity option for the private pool used when launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
Open |
| security_group_id |
string |
[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 |
[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 node. |
|
| 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 the 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 for 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. A 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 |
[Deprecated] The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool (CENID). |
cen-ey9k9nfhz0f******* |
| ccn_id |
string |
[Deprecated] The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool (CCNID). |
ccn-qm5i0i0q9yi******* |
| ccn_region_id |
string |
[Deprecated] The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool. |
cn-shanghai |
| bandwidth |
integer |
[Deprecated] The network bandwidth of the enhanced edge node pool, in Mbps. |
10 |
| improved_period |
string |
[Deprecated] The subscription duration of the enhanced edge node pool, in months. |
1 |
| max_nodes |
integer |
The maximum number of nodes allowed in the edge node pool. This parameter specifies the maximum number of nodes that the node pool can contain and must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can contain, with no additional limit on the node pool itself). This value is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this value is 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 node component custom configuration. |
{"cpuManagerPolicy":"static"} |
|
any |
The node component custom configuration string. |
cpuManagerPolicy |
|
| config_revision |
string |
The node component custom configuration revision number. |
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. |
Contoh
Respons sukses
JSONformat
{
"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": ""
}
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.