@alicloud/cs20151215 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +26 -4
- package/dist/client.js +26 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +102 -107
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +121 -125
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +112 -95
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +106 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -4
- package/src/models/CreateClusterNodePoolRequest.ts +104 -107
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +123 -125
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +114 -95
- package/src/models/ModifyClusterNodePoolRequest.ts +108 -95
- package/src/models/Nodepool.ts +200 -196
|
@@ -8,7 +8,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
10
|
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
-
* The peak EIP
|
|
11
|
+
* The peak bandwidth of the EIP.
|
|
12
12
|
*
|
|
13
13
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
14
14
|
*
|
|
@@ -25,7 +25,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
25
25
|
* The EIP billing type. Valid values:
|
|
26
26
|
*
|
|
27
27
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
-
* - `PayByTraffic`: pay-by-
|
|
28
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
29
29
|
*
|
|
30
30
|
* Default value: `PayByBandwidth`.
|
|
31
31
|
*
|
|
@@ -39,9 +39,9 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* Specifies whether to enable auto scaling. Valid values:
|
|
41
41
|
*
|
|
42
|
-
* - `true`:
|
|
42
|
+
* - `true`: enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
43
43
|
*
|
|
44
|
-
* - `false`:
|
|
44
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
45
45
|
*
|
|
46
46
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
47
|
*
|
|
@@ -55,8 +55,8 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
55
55
|
* @remarks
|
|
56
56
|
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
57
57
|
*
|
|
58
|
-
* - `true`:
|
|
59
|
-
* - `false`:
|
|
58
|
+
* - `true`: associates an EIP.
|
|
59
|
+
* - `false`: does not associate an EIP.
|
|
60
60
|
*
|
|
61
61
|
* Default value: `false`.
|
|
62
62
|
*
|
|
@@ -68,7 +68,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
68
68
|
isBondEip?: boolean;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The maximum number of instances that can be scaled in the node pool, excluding
|
|
71
|
+
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
72
72
|
*
|
|
73
73
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
74
74
|
*
|
|
@@ -78,12 +78,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
78
78
|
maxInstances?: number;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The minimum number of instances that can be scaled in the node pool, excluding
|
|
81
|
+
* The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
82
82
|
*
|
|
83
83
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
84
84
|
*
|
|
85
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
86
|
-
* > -
|
|
85
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after the settings take effect.
|
|
86
|
+
* > - Make sure that the maximum number of instances is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* 2
|
|
@@ -118,6 +118,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
|
|
124
|
+
*/
|
|
121
125
|
autoAttachEnabled?: string;
|
|
122
126
|
static names(): {
|
|
123
127
|
[key: string]: string;
|
|
@@ -133,10 +137,10 @@ export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
133
137
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
134
138
|
/**
|
|
135
139
|
* @remarks
|
|
136
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
140
|
+
* 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:
|
|
137
141
|
*
|
|
138
|
-
* - `true`:
|
|
139
|
-
* - `false`:
|
|
142
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
143
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
140
144
|
*
|
|
141
145
|
* Default value: `false`.
|
|
142
146
|
*
|
|
@@ -146,9 +150,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
146
150
|
cmsEnabled?: boolean;
|
|
147
151
|
/**
|
|
148
152
|
* @remarks
|
|
149
|
-
* The CPU management policy
|
|
153
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
150
154
|
*
|
|
151
|
-
* - `static`: allows pods with certain resource characteristics on the node
|
|
155
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
152
156
|
* - `none`: enables the existing default CPU affinity scheme.
|
|
153
157
|
*
|
|
154
158
|
* Default value: `none`.
|
|
@@ -159,7 +163,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
159
163
|
cpuPolicy?: string;
|
|
160
164
|
/**
|
|
161
165
|
* @remarks
|
|
162
|
-
* The node labels
|
|
166
|
+
* The node labels added to Kubernetes cluster nodes. Label definition rules:
|
|
163
167
|
*
|
|
164
168
|
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
165
169
|
* - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Neither label keys nor label values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
@@ -179,7 +183,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
179
183
|
nodeNameMode?: string;
|
|
180
184
|
/**
|
|
181
185
|
* @remarks
|
|
182
|
-
* The pre-user data
|
|
186
|
+
* The pre-instance user data. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
183
187
|
*
|
|
184
188
|
* @example
|
|
185
189
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -189,9 +193,9 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
189
193
|
* @remarks
|
|
190
194
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
191
195
|
*
|
|
192
|
-
* - containerd: recommended
|
|
193
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation
|
|
194
|
-
* - docker: no longer maintained
|
|
196
|
+
* - containerd: recommended, supports all cluster versions.
|
|
197
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation, supports cluster versions 1.31 and earlier.
|
|
198
|
+
* - docker: no longer maintained, supports cluster versions 1.22 and earlier.
|
|
195
199
|
*
|
|
196
200
|
* Default value: containerd.
|
|
197
201
|
*
|
|
@@ -214,7 +218,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
214
218
|
taints?: Taint[];
|
|
215
219
|
/**
|
|
216
220
|
* @remarks
|
|
217
|
-
* Specifies whether the nodes added
|
|
221
|
+
* Specifies whether the nodes added after scale-out are unschedulable. Valid values:
|
|
218
222
|
*
|
|
219
223
|
* - true: unschedulable.
|
|
220
224
|
*
|
|
@@ -226,7 +230,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
226
230
|
unschedulable?: boolean;
|
|
227
231
|
/**
|
|
228
232
|
* @remarks
|
|
229
|
-
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User
|
|
233
|
+
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
230
234
|
*
|
|
231
235
|
* @example
|
|
232
236
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -261,8 +265,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
261
265
|
* @remarks
|
|
262
266
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
263
267
|
*
|
|
264
|
-
* - `true`:
|
|
265
|
-
* - `false`:
|
|
268
|
+
* - `true`: allows node restart.
|
|
269
|
+
* - `false`: does not allow node restart.
|
|
266
270
|
*
|
|
267
271
|
* Default value: `true`.
|
|
268
272
|
*
|
|
@@ -285,8 +289,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
285
289
|
/**
|
|
286
290
|
* @remarks
|
|
287
291
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
288
|
-
* - `true`:
|
|
289
|
-
* - `false`:
|
|
292
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
293
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
290
294
|
*
|
|
291
295
|
* Default value: `true`.
|
|
292
296
|
*
|
|
@@ -297,8 +301,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
297
301
|
/**
|
|
298
302
|
* @remarks
|
|
299
303
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
300
|
-
* - `true`:
|
|
301
|
-
* - `false`:
|
|
304
|
+
* - `true`: allows automatic OS upgrade.
|
|
305
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
302
306
|
*
|
|
303
307
|
* Default value: `false`.
|
|
304
308
|
*
|
|
@@ -309,8 +313,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
309
313
|
/**
|
|
310
314
|
* @remarks
|
|
311
315
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
312
|
-
* - `true`:
|
|
313
|
-
* - `false`:
|
|
316
|
+
* - `true`: allows automatic runtime upgrade.
|
|
317
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
314
318
|
*
|
|
315
319
|
* Default value: `true`.
|
|
316
320
|
*
|
|
@@ -343,8 +347,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
343
347
|
/**
|
|
344
348
|
* @remarks
|
|
345
349
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
346
|
-
* - `true`:
|
|
347
|
-
* - `false`:
|
|
350
|
+
* - `true`: allows node restart.
|
|
351
|
+
* - `false`: does not allow node restart.
|
|
348
352
|
*
|
|
349
353
|
* Default value: `true`.
|
|
350
354
|
*
|
|
@@ -384,8 +388,8 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
384
388
|
*
|
|
385
389
|
* Specifies whether to enable auto upgrade:
|
|
386
390
|
*
|
|
387
|
-
* - true:
|
|
388
|
-
* - false:
|
|
391
|
+
* - true: enables auto upgrade.
|
|
392
|
+
* - false: disables auto upgrade.
|
|
389
393
|
*
|
|
390
394
|
* Default value: `true`.
|
|
391
395
|
*
|
|
@@ -441,14 +445,18 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
441
445
|
});
|
|
442
446
|
}
|
|
443
447
|
export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
448
|
+
/**
|
|
449
|
+
* @remarks
|
|
450
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
451
|
+
*/
|
|
444
452
|
autoFaultDiagnosis?: boolean;
|
|
445
453
|
/**
|
|
446
454
|
* @remarks
|
|
447
455
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
448
456
|
*
|
|
449
|
-
* - `true`:
|
|
457
|
+
* - `true`: enables auto repair.
|
|
450
458
|
*
|
|
451
|
-
* - `false`:
|
|
459
|
+
* - `false`: disables auto repair.
|
|
452
460
|
*
|
|
453
461
|
* Default value: `true`.
|
|
454
462
|
*
|
|
@@ -464,8 +472,8 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
464
472
|
/**
|
|
465
473
|
* @remarks
|
|
466
474
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
467
|
-
* - `true`:
|
|
468
|
-
* - `false`:
|
|
475
|
+
* - `true`: enables auto upgrade.
|
|
476
|
+
* - `false`: disables auto upgrade.
|
|
469
477
|
*
|
|
470
478
|
* Default value: `true`.
|
|
471
479
|
*
|
|
@@ -482,8 +490,8 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
482
490
|
* @remarks
|
|
483
491
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
484
492
|
*
|
|
485
|
-
* - `true`:
|
|
486
|
-
* - `false`:
|
|
493
|
+
* - `true`: allows automatic CVE fixing.
|
|
494
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
487
495
|
*
|
|
488
496
|
* Default value: `true`.
|
|
489
497
|
*
|
|
@@ -496,12 +504,13 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
496
504
|
* The auto CVE fix policy.
|
|
497
505
|
*/
|
|
498
506
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
507
|
+
driftEnabled?: boolean;
|
|
499
508
|
/**
|
|
500
509
|
* @remarks
|
|
501
510
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
502
511
|
*
|
|
503
|
-
* - `true`:
|
|
504
|
-
* - `false`:
|
|
512
|
+
* - `true`: enables the managed node pool.
|
|
513
|
+
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
505
514
|
*
|
|
506
515
|
* Default value: `false`.
|
|
507
516
|
*
|
|
@@ -572,10 +581,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
572
581
|
id?: string;
|
|
573
582
|
/**
|
|
574
583
|
* @remarks
|
|
575
|
-
* The private node pool type
|
|
576
|
-
* - `Open`: open mode.
|
|
577
|
-
* - `Target`:
|
|
578
|
-
* - `None`:
|
|
584
|
+
* The private node pool type and private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
585
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
586
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
587
|
+
* - `None`: none mode. Instance launch does not use private pool capacity.
|
|
579
588
|
*
|
|
580
589
|
* @example
|
|
581
590
|
* Open
|
|
@@ -595,16 +604,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
595
604
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
596
605
|
/**
|
|
597
606
|
* @remarks
|
|
598
|
-
* The list of private pool IDs, which are
|
|
607
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
599
608
|
*/
|
|
600
609
|
privatePoolIds?: string[];
|
|
601
610
|
/**
|
|
602
611
|
* @remarks
|
|
603
|
-
* The resource pool
|
|
604
|
-
* PrivatePoolFirst: private pool first. When this policy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pool capacity is automatically matched. If no matching private pool is available, public pool resources are used.
|
|
605
|
-
* PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
606
|
-
* None: no resource pool policy is used.
|
|
607
|
-
* Default value: None.
|
|
612
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launches. Valid values: PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances. PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, instance launch fails. None: no resource pool strategy. Default value: None.
|
|
608
613
|
*
|
|
609
614
|
* @example
|
|
610
615
|
* PrivatePoolFirst
|
|
@@ -660,8 +665,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
660
665
|
* @remarks
|
|
661
666
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
662
667
|
*
|
|
663
|
-
* - `true`:
|
|
664
|
-
* - `false`:
|
|
668
|
+
* - `true`: enables auto-renewal.
|
|
669
|
+
* - `false`: disables auto-renewal.
|
|
665
670
|
*
|
|
666
671
|
* Default value: `false`.
|
|
667
672
|
*
|
|
@@ -671,7 +676,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
671
676
|
autoRenew?: boolean;
|
|
672
677
|
/**
|
|
673
678
|
* @remarks
|
|
674
|
-
* The auto-renewal period
|
|
679
|
+
* The auto-renewal period. Valid values:
|
|
675
680
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
676
681
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
677
682
|
*
|
|
@@ -683,7 +688,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
683
688
|
autoRenewPeriod?: number;
|
|
684
689
|
/**
|
|
685
690
|
* @remarks
|
|
686
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances if spot instances cannot be created due to
|
|
691
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
687
692
|
*
|
|
688
693
|
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
689
694
|
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
@@ -694,12 +699,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
694
699
|
compensateWithOnDemand?: boolean;
|
|
695
700
|
/**
|
|
696
701
|
* @remarks
|
|
697
|
-
* The
|
|
702
|
+
* The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
698
703
|
*/
|
|
699
704
|
dataDisks?: DataDisk[];
|
|
700
705
|
/**
|
|
701
706
|
* @remarks
|
|
702
|
-
* The deployment set
|
|
707
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
703
708
|
*
|
|
704
709
|
* @example
|
|
705
710
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -709,9 +714,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
709
714
|
* @remarks
|
|
710
715
|
* The desired number of nodes in the node pool.
|
|
711
716
|
*
|
|
712
|
-
* The total number of nodes that the node pool should maintain.
|
|
717
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
713
718
|
*
|
|
714
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the
|
|
719
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
715
720
|
*
|
|
716
721
|
* @example
|
|
717
722
|
* 2
|
|
@@ -732,7 +737,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
732
737
|
imageId?: string;
|
|
733
738
|
/**
|
|
734
739
|
* @remarks
|
|
735
|
-
* The operating system distribution type.
|
|
740
|
+
* The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
|
|
736
741
|
*
|
|
737
742
|
* - `AliyunLinux`: Alinux2 image.
|
|
738
743
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -769,7 +774,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
769
774
|
instancePatterns?: InstancePatterns[];
|
|
770
775
|
/**
|
|
771
776
|
* @remarks
|
|
772
|
-
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The
|
|
777
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual purchased instance type may vary depending on inventory availability.
|
|
773
778
|
*
|
|
774
779
|
* Supported number of instance types: [1,10].
|
|
775
780
|
*/
|
|
@@ -779,7 +784,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
779
784
|
* The billing type for public IP addresses. Valid values:
|
|
780
785
|
*
|
|
781
786
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
782
|
-
* - `PayByTraffic`: pay-by-
|
|
787
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
783
788
|
*
|
|
784
789
|
* @example
|
|
785
790
|
* PayByBandwidth
|
|
@@ -787,7 +792,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
787
792
|
internetChargeType?: string;
|
|
788
793
|
/**
|
|
789
794
|
* @remarks
|
|
790
|
-
* The maximum outbound bandwidth for node public IP
|
|
795
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbit/s. Valid values: [1,100\\].
|
|
791
796
|
*
|
|
792
797
|
* @example
|
|
793
798
|
* 5
|
|
@@ -813,13 +818,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
813
818
|
* @remarks
|
|
814
819
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
815
820
|
*
|
|
816
|
-
* - `PRIORITY`:
|
|
821
|
+
* - `PRIORITY`: scales instances based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
817
822
|
*
|
|
818
|
-
* - `COST_OPTIMIZED`:
|
|
823
|
+
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
819
824
|
*
|
|
820
|
-
* > `COST_OPTIMIZED` takes effect only when
|
|
825
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
821
826
|
*
|
|
822
|
-
* - `BALANCE`:
|
|
827
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
823
828
|
*
|
|
824
829
|
* Default value: `PRIORITY`.
|
|
825
830
|
*
|
|
@@ -829,7 +834,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
829
834
|
multiAzPolicy?: string;
|
|
830
835
|
/**
|
|
831
836
|
* @remarks
|
|
832
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
837
|
+
* The minimum number of pay-as-you-go instances required by 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 created first.
|
|
833
838
|
*
|
|
834
839
|
* @example
|
|
835
840
|
* 0
|
|
@@ -838,6 +843,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
838
843
|
/**
|
|
839
844
|
* @remarks
|
|
840
845
|
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
846
|
+
* [_single.params.body.props.scaling_group.spot
|
|
841
847
|
*
|
|
842
848
|
* @example
|
|
843
849
|
* 20
|
|
@@ -856,10 +862,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
856
862
|
period?: number;
|
|
857
863
|
/**
|
|
858
864
|
* @remarks
|
|
859
|
-
* The billing
|
|
865
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
860
866
|
*
|
|
861
|
-
* - `Month`:
|
|
862
|
-
* - `Week`:
|
|
867
|
+
* - `Month`: uses month as the billing unit.
|
|
868
|
+
* - `Week`: uses week as the billing unit.
|
|
863
869
|
*
|
|
864
870
|
* Default value: `Month`.
|
|
865
871
|
*
|
|
@@ -869,7 +875,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
869
875
|
periodUnit?: string;
|
|
870
876
|
/**
|
|
871
877
|
* @remarks
|
|
872
|
-
* **This
|
|
878
|
+
* **This field is deprecated.** Use the `image_type` parameter instead.
|
|
873
879
|
*
|
|
874
880
|
* The operating system platform. Valid values:
|
|
875
881
|
*
|
|
@@ -896,9 +902,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
896
902
|
rdsInstances?: string[];
|
|
897
903
|
/**
|
|
898
904
|
* @remarks
|
|
899
|
-
* The resource
|
|
900
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
901
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
905
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter: This parameter takes effect only when creating pay-as-you-go instances. This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
902
906
|
*/
|
|
903
907
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
904
908
|
/**
|
|
@@ -906,7 +910,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
906
910
|
* The scaling group mode. Valid values:
|
|
907
911
|
*
|
|
908
912
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
909
|
-
* - `recycle`:
|
|
913
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.)
|
|
910
914
|
*
|
|
911
915
|
* @example
|
|
912
916
|
* release
|
|
@@ -919,7 +923,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
919
923
|
securityGroupIds?: string[];
|
|
920
924
|
/**
|
|
921
925
|
* @remarks
|
|
922
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
926
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
923
927
|
*
|
|
924
928
|
* @example
|
|
925
929
|
* 5
|
|
@@ -927,7 +931,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
927
931
|
spotInstancePools?: number;
|
|
928
932
|
/**
|
|
929
933
|
* @remarks
|
|
930
|
-
* Specifies whether to enable spot instance
|
|
934
|
+
* Specifies whether to enable supplementing spot instances. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
935
|
+
*
|
|
936
|
+
* - `true`: Enables supplementing spot instances.
|
|
937
|
+
* - `false`: Disables supplementing spot instances.
|
|
931
938
|
*
|
|
932
939
|
* @example
|
|
933
940
|
* false
|
|
@@ -935,7 +942,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
935
942
|
spotInstanceRemedy?: boolean;
|
|
936
943
|
/**
|
|
937
944
|
* @remarks
|
|
938
|
-
* The
|
|
945
|
+
* The price limit configuration for spot instances.
|
|
939
946
|
*/
|
|
940
947
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
941
948
|
/**
|
|
@@ -943,8 +950,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
943
950
|
* The spot instance type. Valid values:
|
|
944
951
|
*
|
|
945
952
|
* - `NoSpot`: non-spot instance.
|
|
946
|
-
* - `SpotWithPriceLimit`:
|
|
947
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
953
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
954
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
948
955
|
*
|
|
949
956
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
950
957
|
*
|
|
@@ -955,8 +962,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
955
962
|
/**
|
|
956
963
|
* @remarks
|
|
957
964
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
958
|
-
* - true:
|
|
959
|
-
* - false:
|
|
965
|
+
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
966
|
+
* - false: disables burst.
|
|
960
967
|
*
|
|
961
968
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
962
969
|
*
|
|
@@ -966,12 +973,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
966
973
|
systemDiskBurstingEnabled?: boolean;
|
|
967
974
|
/**
|
|
968
975
|
* @remarks
|
|
969
|
-
*
|
|
976
|
+
* Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
970
977
|
*/
|
|
971
978
|
systemDiskCategories?: string[];
|
|
972
979
|
/**
|
|
973
980
|
* @remarks
|
|
974
|
-
* The node system cloud disk
|
|
981
|
+
* The type of the node system cloud disk. Valid values:
|
|
975
982
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
976
983
|
* - `cloud_ssd`: standard SSD.
|
|
977
984
|
* - `cloud_essd`: ESSD.
|
|
@@ -996,9 +1003,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
996
1003
|
* @remarks
|
|
997
1004
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
998
1005
|
*
|
|
999
|
-
* - true:
|
|
1006
|
+
* - true: encrypts the system cloud disk.
|
|
1000
1007
|
*
|
|
1001
|
-
* - false:
|
|
1008
|
+
* - false: does not encrypt the system cloud disk.
|
|
1002
1009
|
*
|
|
1003
1010
|
* @example
|
|
1004
1011
|
* false
|
|
@@ -1014,11 +1021,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1014
1021
|
systemDiskKmsKeyId?: string;
|
|
1015
1022
|
/**
|
|
1016
1023
|
* @remarks
|
|
1017
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [
|
|
1024
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1018
1025
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1019
1026
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1020
1027
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1021
|
-
* - PL3:
|
|
1028
|
+
* - PL3: extremely high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1022
1029
|
*
|
|
1023
1030
|
* @example
|
|
1024
1031
|
* PL1
|
|
@@ -1028,7 +1035,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1028
1035
|
* @remarks
|
|
1029
1036
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1030
1037
|
*
|
|
1031
|
-
* Valid values: 0~min{50,000, 1000
|
|
1038
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1032
1039
|
*
|
|
1033
1040
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1034
1041
|
*
|
|
@@ -1038,7 +1045,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1038
1045
|
systemDiskProvisionedIops?: number;
|
|
1039
1046
|
/**
|
|
1040
1047
|
* @remarks
|
|
1041
|
-
* The node system cloud disk
|
|
1048
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1042
1049
|
*
|
|
1043
1050
|
* Valid values: [20,2048\\].
|
|
1044
1051
|
*
|
|
@@ -1060,7 +1067,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1060
1067
|
systemDiskSnapshotPolicyId?: string;
|
|
1061
1068
|
/**
|
|
1062
1069
|
* @remarks
|
|
1063
|
-
* Tags added to ECS instances
|
|
1070
|
+
* Tags added only to ECS instances.
|
|
1064
1071
|
*
|
|
1065
1072
|
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1066
1073
|
*/
|
|
@@ -1088,8 +1095,8 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1088
1095
|
* @remarks
|
|
1089
1096
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1090
1097
|
*
|
|
1091
|
-
* - `true`:
|
|
1092
|
-
* - `false`:
|
|
1098
|
+
* - `true`: Enabled.
|
|
1099
|
+
* - `false`: Disabled.
|
|
1093
1100
|
*
|
|
1094
1101
|
* Default value: `false`.
|
|
1095
1102
|
*
|
|
@@ -1122,6 +1129,10 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1122
1129
|
* true
|
|
1123
1130
|
*/
|
|
1124
1131
|
concurrency?: boolean;
|
|
1132
|
+
/**
|
|
1133
|
+
* @remarks
|
|
1134
|
+
* The Lingjun node pool configuration. (Not effective)
|
|
1135
|
+
*/
|
|
1125
1136
|
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1126
1137
|
/**
|
|
1127
1138
|
* @remarks
|
|
@@ -238,6 +238,7 @@ class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
238
238
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
239
239
|
autoVulFix: 'auto_vul_fix',
|
|
240
240
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
241
|
+
driftEnabled: 'drift_enabled',
|
|
241
242
|
enable: 'enable',
|
|
242
243
|
upgradeConfig: 'upgrade_config',
|
|
243
244
|
};
|
|
@@ -251,6 +252,7 @@ class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
251
252
|
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
252
253
|
autoVulFix: 'boolean',
|
|
253
254
|
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
255
|
+
driftEnabled: 'boolean',
|
|
254
256
|
enable: 'boolean',
|
|
255
257
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
256
258
|
};
|