@alicloud/cs20151215 7.0.2 → 7.0.4
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 +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -11,7 +11,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
-
* The peak EIP
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
15
15
|
*
|
|
16
16
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
17
17
|
*
|
|
@@ -28,7 +28,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
28
28
|
* The EIP billing type. Valid values:
|
|
29
29
|
*
|
|
30
30
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-
|
|
31
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
32
32
|
*
|
|
33
33
|
* Default value: `PayByBandwidth`.
|
|
34
34
|
*
|
|
@@ -42,11 +42,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
42
42
|
* @remarks
|
|
43
43
|
* Specifies whether to enable auto scaling. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* - `true`:
|
|
45
|
+
* - `true`: enables the auto scaling feature for the node pool. When the capacity planning of the cluster 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).
|
|
46
46
|
*
|
|
47
|
-
* - `false`:
|
|
47
|
+
* - `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.
|
|
48
48
|
*
|
|
49
|
-
* When
|
|
49
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
50
50
|
*
|
|
51
51
|
* Default value: `false`.
|
|
52
52
|
*
|
|
@@ -58,8 +58,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
58
58
|
* @remarks
|
|
59
59
|
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
60
60
|
*
|
|
61
|
-
* - `true`:
|
|
62
|
-
* - `false`:
|
|
61
|
+
* - `true`: associates an EIP.
|
|
62
|
+
* - `false`: does not associate an EIP.
|
|
63
63
|
*
|
|
64
64
|
* Default value: `false`.
|
|
65
65
|
*
|
|
@@ -71,7 +71,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
71
71
|
isBondEip?: boolean;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The maximum number of instances that can be scaled in the node pool, excluding
|
|
74
|
+
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
75
75
|
*
|
|
76
76
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
77
77
|
*
|
|
@@ -81,12 +81,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
81
81
|
maxInstances?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The minimum number of instances that can be scaled in the node pool, excluding
|
|
84
|
+
* The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
85
85
|
*
|
|
86
86
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
87
87
|
*
|
|
88
88
|
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
89
|
-
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
89
|
+
* > - Set the maximum number of instances to a value that 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.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* 2
|
|
@@ -143,6 +143,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
|
|
149
|
+
*/
|
|
146
150
|
autoAttachEnabled?: string;
|
|
147
151
|
static names(): { [key: string]: string } {
|
|
148
152
|
return {
|
|
@@ -168,10 +172,10 @@ export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
168
172
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
169
173
|
/**
|
|
170
174
|
* @remarks
|
|
171
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
175
|
+
* 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:
|
|
172
176
|
*
|
|
173
|
-
* - `true`:
|
|
174
|
-
* - `false`:
|
|
177
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
178
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
175
179
|
*
|
|
176
180
|
* Default value: `false`.
|
|
177
181
|
*
|
|
@@ -181,9 +185,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
181
185
|
cmsEnabled?: boolean;
|
|
182
186
|
/**
|
|
183
187
|
* @remarks
|
|
184
|
-
* The CPU management policy
|
|
188
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
185
189
|
*
|
|
186
|
-
* - `static`: allows pods with certain resource characteristics on the node
|
|
190
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
187
191
|
* - `none`: enables the existing default CPU affinity scheme.
|
|
188
192
|
*
|
|
189
193
|
* Default value: `none`.
|
|
@@ -197,7 +201,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
197
201
|
* The node labels. Adds labels to Kubernetes cluster nodes. Label definition rules:
|
|
198
202
|
*
|
|
199
203
|
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
200
|
-
* - Label keys cannot be duplicated and can be up to 64 characters
|
|
204
|
+
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and can be up to 128 characters. 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).
|
|
201
205
|
*/
|
|
202
206
|
labels?: Tag[];
|
|
203
207
|
/**
|
|
@@ -206,7 +210,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
206
210
|
*
|
|
207
211
|
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
|
|
208
212
|
*
|
|
209
|
-
* The parameter contains four parts separated by commas. For example, if you pass in
|
|
213
|
+
* The parameter contains four parts separated by commas. For example, if you pass in "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
210
214
|
*
|
|
211
215
|
* @example
|
|
212
216
|
* customized,aliyun,ip,com
|
|
@@ -214,7 +218,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
214
218
|
nodeNameMode?: string;
|
|
215
219
|
/**
|
|
216
220
|
* @remarks
|
|
217
|
-
* The pre-user data
|
|
221
|
+
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
218
222
|
*
|
|
219
223
|
* @example
|
|
220
224
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -224,9 +228,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
224
228
|
* @remarks
|
|
225
229
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
226
230
|
*
|
|
227
|
-
* - containerd: recommended.
|
|
228
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation.
|
|
229
|
-
* - docker: no longer maintained.
|
|
231
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
232
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
233
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
230
234
|
*
|
|
231
235
|
* Default value: containerd.
|
|
232
236
|
*
|
|
@@ -249,11 +253,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
249
253
|
taints?: Taint[];
|
|
250
254
|
/**
|
|
251
255
|
* @remarks
|
|
252
|
-
* Specifies whether the nodes added
|
|
256
|
+
* Specifies whether the nodes added after scale-out are unschedulable.
|
|
253
257
|
*
|
|
254
|
-
* - true:
|
|
258
|
+
* - true: Unschedulable.
|
|
255
259
|
*
|
|
256
|
-
* - false:
|
|
260
|
+
* - false: Schedulable.
|
|
257
261
|
*
|
|
258
262
|
* @example
|
|
259
263
|
* false
|
|
@@ -261,7 +265,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
261
265
|
unschedulable?: boolean;
|
|
262
266
|
/**
|
|
263
267
|
* @remarks
|
|
264
|
-
* The instance user data. After the node joins the cluster, the specified user data script is
|
|
268
|
+
* The instance user data. After the node joins the cluster, the specified user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
265
269
|
*
|
|
266
270
|
* @example
|
|
267
271
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -326,12 +330,22 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
326
330
|
* r-xxxxxxxxxx
|
|
327
331
|
*/
|
|
328
332
|
autoRepairPolicyId?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @example
|
|
335
|
+
* 5
|
|
336
|
+
*/
|
|
337
|
+
maxParallelRepairingNodes?: string;
|
|
338
|
+
/**
|
|
339
|
+
* @example
|
|
340
|
+
* 20%
|
|
341
|
+
*/
|
|
342
|
+
maxUnhealthyNodesThreshold?: string;
|
|
329
343
|
/**
|
|
330
344
|
* @remarks
|
|
331
345
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
332
346
|
*
|
|
333
|
-
* - `true`:
|
|
334
|
-
* - `false`:
|
|
347
|
+
* - `true`: allows node restart.
|
|
348
|
+
* - `false`: does not allow node restart.
|
|
335
349
|
*
|
|
336
350
|
* Default value: `true`.
|
|
337
351
|
*
|
|
@@ -343,6 +357,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
343
357
|
return {
|
|
344
358
|
approvalRequired: 'approval_required',
|
|
345
359
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
360
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
361
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
346
362
|
restartNode: 'restart_node',
|
|
347
363
|
};
|
|
348
364
|
}
|
|
@@ -351,6 +367,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
351
367
|
return {
|
|
352
368
|
approvalRequired: 'boolean',
|
|
353
369
|
autoRepairPolicyId: 'string',
|
|
370
|
+
maxParallelRepairingNodes: 'string',
|
|
371
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
354
372
|
restartNode: 'boolean',
|
|
355
373
|
};
|
|
356
374
|
}
|
|
@@ -368,8 +386,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
368
386
|
/**
|
|
369
387
|
* @remarks
|
|
370
388
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
371
|
-
* - `true`:
|
|
372
|
-
* - `false`:
|
|
389
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
390
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
373
391
|
*
|
|
374
392
|
* Default value: `true`.
|
|
375
393
|
*
|
|
@@ -380,8 +398,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
380
398
|
/**
|
|
381
399
|
* @remarks
|
|
382
400
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
383
|
-
* - `true`:
|
|
384
|
-
* - `false`:
|
|
401
|
+
* - `true`: allows automatic OS upgrade.
|
|
402
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
385
403
|
*
|
|
386
404
|
* Default value: `false`.
|
|
387
405
|
*
|
|
@@ -392,8 +410,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
392
410
|
/**
|
|
393
411
|
* @remarks
|
|
394
412
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
395
|
-
* - `true`:
|
|
396
|
-
* - `false`:
|
|
413
|
+
* - `true`: allows automatic runtime upgrade.
|
|
414
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
397
415
|
*
|
|
398
416
|
* Default value: `true`.
|
|
399
417
|
*
|
|
@@ -440,8 +458,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
440
458
|
/**
|
|
441
459
|
* @remarks
|
|
442
460
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
443
|
-
* - `true`:
|
|
444
|
-
* - `false`:
|
|
461
|
+
* - `true`: allows node restart.
|
|
462
|
+
* - `false`: does not allow node restart.
|
|
445
463
|
*
|
|
446
464
|
* Default value: `true`.
|
|
447
465
|
*
|
|
@@ -495,8 +513,8 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
495
513
|
*
|
|
496
514
|
* Specifies whether to enable auto upgrade:
|
|
497
515
|
*
|
|
498
|
-
* - true:
|
|
499
|
-
* - false:
|
|
516
|
+
* - true: enables auto upgrade.
|
|
517
|
+
* - false: disables auto upgrade.
|
|
500
518
|
*
|
|
501
519
|
* Default value: `true`.
|
|
502
520
|
*
|
|
@@ -522,7 +540,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
522
540
|
* @remarks
|
|
523
541
|
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
524
542
|
*
|
|
525
|
-
*
|
|
543
|
+
* During an upgrade, nodes become unavailable. You can create extra nodes to compensate for the cluster workload.
|
|
526
544
|
*
|
|
527
545
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
528
546
|
*
|
|
@@ -568,14 +586,18 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
568
586
|
}
|
|
569
587
|
|
|
570
588
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
589
|
+
/**
|
|
590
|
+
* @remarks
|
|
591
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
592
|
+
*/
|
|
571
593
|
autoFaultDiagnosis?: boolean;
|
|
572
594
|
/**
|
|
573
595
|
* @remarks
|
|
574
596
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
575
597
|
*
|
|
576
|
-
* - `true`:
|
|
598
|
+
* - `true`: enables auto repair.
|
|
577
599
|
*
|
|
578
|
-
* - `false`:
|
|
600
|
+
* - `false`: disables auto repair.
|
|
579
601
|
*
|
|
580
602
|
* Default value: `true`.
|
|
581
603
|
*
|
|
@@ -591,8 +613,8 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
591
613
|
/**
|
|
592
614
|
* @remarks
|
|
593
615
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
594
|
-
* - `true`:
|
|
595
|
-
* - `false`:
|
|
616
|
+
* - `true`: enables auto upgrade.
|
|
617
|
+
* - `false`: disables auto upgrade.
|
|
596
618
|
*
|
|
597
619
|
* Default value: `true`.
|
|
598
620
|
*
|
|
@@ -609,8 +631,8 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
609
631
|
* @remarks
|
|
610
632
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
611
633
|
*
|
|
612
|
-
* - `true`:
|
|
613
|
-
* - `false`:
|
|
634
|
+
* - `true`: allows automatic CVE fixing.
|
|
635
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
614
636
|
*
|
|
615
637
|
* Default value: `true`.
|
|
616
638
|
*
|
|
@@ -623,12 +645,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
623
645
|
* The auto CVE fix policy.
|
|
624
646
|
*/
|
|
625
647
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
648
|
+
driftEnabled?: boolean;
|
|
626
649
|
/**
|
|
627
650
|
* @remarks
|
|
628
651
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
629
652
|
*
|
|
630
|
-
* - `true`:
|
|
631
|
-
* - `false`:
|
|
653
|
+
* - `true`: enables the managed node pool.
|
|
654
|
+
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
632
655
|
*
|
|
633
656
|
* Default value: `false`.
|
|
634
657
|
*
|
|
@@ -654,6 +677,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
654
677
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
655
678
|
autoVulFix: 'auto_vul_fix',
|
|
656
679
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
680
|
+
driftEnabled: 'drift_enabled',
|
|
657
681
|
enable: 'enable',
|
|
658
682
|
upgradeConfig: 'upgrade_config',
|
|
659
683
|
};
|
|
@@ -668,6 +692,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
668
692
|
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
669
693
|
autoVulFix: 'boolean',
|
|
670
694
|
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
695
|
+
driftEnabled: 'boolean',
|
|
671
696
|
enable: 'boolean',
|
|
672
697
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
673
698
|
};
|
|
@@ -749,10 +774,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
749
774
|
id?: string;
|
|
750
775
|
/**
|
|
751
776
|
* @remarks
|
|
752
|
-
* The private node pool type
|
|
753
|
-
* - `Open`:
|
|
754
|
-
* - `Target`:
|
|
755
|
-
* - `None`:
|
|
777
|
+
* The private node pool type and private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
778
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
779
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
780
|
+
* - `None`: None mode. The instance launch does not use private pool capacity.
|
|
756
781
|
*
|
|
757
782
|
* @example
|
|
758
783
|
* Open
|
|
@@ -784,15 +809,15 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
784
809
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
785
810
|
/**
|
|
786
811
|
* @remarks
|
|
787
|
-
* The list of private pool IDs, which are
|
|
812
|
+
* 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.
|
|
788
813
|
*/
|
|
789
814
|
privatePoolIds?: string[];
|
|
790
815
|
/**
|
|
791
816
|
* @remarks
|
|
792
|
-
* The resource pool
|
|
793
|
-
* PrivatePoolFirst: private pool first. When this
|
|
794
|
-
* PrivatePoolOnly: private pool only. When this
|
|
795
|
-
* None: no resource pool
|
|
817
|
+
* 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 launch. Valid values:
|
|
818
|
+
* 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.
|
|
819
|
+
* 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, the instance fails to launch.
|
|
820
|
+
* None: no resource pool strategy is used.
|
|
796
821
|
* Default value: None.
|
|
797
822
|
*
|
|
798
823
|
* @example
|
|
@@ -876,8 +901,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
876
901
|
* @remarks
|
|
877
902
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
878
903
|
*
|
|
879
|
-
* - `true`:
|
|
880
|
-
* - `false`:
|
|
904
|
+
* - `true`: enables auto-renewal.
|
|
905
|
+
* - `false`: disables auto-renewal.
|
|
881
906
|
*
|
|
882
907
|
* Default value: `false`.
|
|
883
908
|
*
|
|
@@ -887,7 +912,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
887
912
|
autoRenew?: boolean;
|
|
888
913
|
/**
|
|
889
914
|
* @remarks
|
|
890
|
-
* The auto-renewal period for a single renewal
|
|
915
|
+
* The auto-renewal period for a single renewal. Valid values:
|
|
891
916
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
892
917
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
893
918
|
*
|
|
@@ -899,10 +924,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
899
924
|
autoRenewPeriod?: number;
|
|
900
925
|
/**
|
|
901
926
|
* @remarks
|
|
902
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow
|
|
927
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of 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:
|
|
903
928
|
*
|
|
904
|
-
* - `true`: Allows
|
|
905
|
-
* - `false`: Does not allow
|
|
929
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
930
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
906
931
|
*
|
|
907
932
|
* @example
|
|
908
933
|
* true
|
|
@@ -910,12 +935,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
910
935
|
compensateWithOnDemand?: boolean;
|
|
911
936
|
/**
|
|
912
937
|
* @remarks
|
|
913
|
-
* The
|
|
938
|
+
* The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
914
939
|
*/
|
|
915
940
|
dataDisks?: DataDisk[];
|
|
916
941
|
/**
|
|
917
942
|
* @remarks
|
|
918
|
-
* The deployment set ID for ECS instances
|
|
943
|
+
* The deployment set ID for ECS instances created by the node pool. This setting applies only to new nodes and does not change the deployment set of existing nodes.
|
|
919
944
|
*
|
|
920
945
|
* @example
|
|
921
946
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -925,9 +950,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
925
950
|
* @remarks
|
|
926
951
|
* The desired number of nodes in the node pool.
|
|
927
952
|
*
|
|
928
|
-
* The total number of nodes that the node pool should maintain.
|
|
953
|
+
* 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.
|
|
929
954
|
*
|
|
930
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust
|
|
955
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust it later to add nodes.
|
|
931
956
|
*
|
|
932
957
|
* @example
|
|
933
958
|
* 2
|
|
@@ -948,7 +973,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
948
973
|
imageId?: string;
|
|
949
974
|
/**
|
|
950
975
|
* @remarks
|
|
951
|
-
* The operating system distribution type.
|
|
976
|
+
* The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
|
|
952
977
|
*
|
|
953
978
|
* - `AliyunLinux`: Alinux2 image.
|
|
954
979
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -995,7 +1020,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
995
1020
|
* The billing type for public IP addresses. Valid values:
|
|
996
1021
|
*
|
|
997
1022
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
998
|
-
* - `PayByTraffic`: pay-by-
|
|
1023
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
999
1024
|
*
|
|
1000
1025
|
* @example
|
|
1001
1026
|
* PayByBandwidth
|
|
@@ -1003,7 +1028,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1003
1028
|
internetChargeType?: string;
|
|
1004
1029
|
/**
|
|
1005
1030
|
* @remarks
|
|
1006
|
-
* The maximum outbound bandwidth for node public IP addresses
|
|
1031
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1007
1032
|
*
|
|
1008
1033
|
* @example
|
|
1009
1034
|
* 5
|
|
@@ -1029,13 +1054,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1029
1054
|
* @remarks
|
|
1030
1055
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1031
1056
|
*
|
|
1032
|
-
* - `PRIORITY`:
|
|
1057
|
+
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. 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.
|
|
1033
1058
|
*
|
|
1034
|
-
* - `COST_OPTIMIZED`:
|
|
1059
|
+
* - `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 or other reasons.
|
|
1035
1060
|
*
|
|
1036
1061
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1037
1062
|
*
|
|
1038
|
-
* - `BALANCE`:
|
|
1063
|
+
* - `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).
|
|
1039
1064
|
*
|
|
1040
1065
|
* Default value: `PRIORITY`.
|
|
1041
1066
|
*
|
|
@@ -1053,7 +1078,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1053
1078
|
onDemandBaseCapacity?: number;
|
|
1054
1079
|
/**
|
|
1055
1080
|
* @remarks
|
|
1056
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go
|
|
1081
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1057
1082
|
*
|
|
1058
1083
|
* @example
|
|
1059
1084
|
* 20
|
|
@@ -1072,10 +1097,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1072
1097
|
period?: number;
|
|
1073
1098
|
/**
|
|
1074
1099
|
* @remarks
|
|
1075
|
-
* The billing
|
|
1100
|
+
* 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`.
|
|
1076
1101
|
*
|
|
1077
|
-
* - `Month`:
|
|
1078
|
-
* - `Week`:
|
|
1102
|
+
* - `Month`: the billing cycle is month.
|
|
1103
|
+
* - `Week`: the billing cycle is week.
|
|
1079
1104
|
*
|
|
1080
1105
|
* Default value: `Month`.
|
|
1081
1106
|
*
|
|
@@ -1112,7 +1137,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1112
1137
|
rdsInstances?: string[];
|
|
1113
1138
|
/**
|
|
1114
1139
|
* @remarks
|
|
1115
|
-
* The resource
|
|
1140
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1116
1141
|
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1117
1142
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1118
1143
|
*/
|
|
@@ -1122,7 +1147,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1122
1147
|
* The scaling group mode. Valid values:
|
|
1123
1148
|
*
|
|
1124
1149
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1125
|
-
* - `recycle`:
|
|
1150
|
+
* - `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 local disk instance types).
|
|
1126
1151
|
*
|
|
1127
1152
|
* @example
|
|
1128
1153
|
* release
|
|
@@ -1135,7 +1160,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1135
1160
|
securityGroupIds?: string[];
|
|
1136
1161
|
/**
|
|
1137
1162
|
* @remarks
|
|
1138
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1163
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types that are the most cost-effective. Valid values: [1,10\\].
|
|
1139
1164
|
*
|
|
1140
1165
|
* @example
|
|
1141
1166
|
* 5
|
|
@@ -1143,7 +1168,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1143
1168
|
spotInstancePools?: number;
|
|
1144
1169
|
/**
|
|
1145
1170
|
* @remarks
|
|
1146
|
-
* Specifies whether to enable spot instance supplementation.
|
|
1171
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when the system sends a notification 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:
|
|
1172
|
+
*
|
|
1173
|
+
* - `true`: Enables spot instance supplementation.
|
|
1174
|
+
* - `false`: Disables spot instance supplementation.
|
|
1147
1175
|
*
|
|
1148
1176
|
* @example
|
|
1149
1177
|
* false
|
|
@@ -1151,7 +1179,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1151
1179
|
spotInstanceRemedy?: boolean;
|
|
1152
1180
|
/**
|
|
1153
1181
|
* @remarks
|
|
1154
|
-
* The
|
|
1182
|
+
* The price limit configuration for spot instances.
|
|
1155
1183
|
*/
|
|
1156
1184
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1157
1185
|
/**
|
|
@@ -1159,8 +1187,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1159
1187
|
* The spot instance type. Valid values:
|
|
1160
1188
|
*
|
|
1161
1189
|
* - `NoSpot`: non-spot instance.
|
|
1162
|
-
* - `SpotWithPriceLimit`:
|
|
1163
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1190
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1191
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1164
1192
|
*
|
|
1165
1193
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1166
1194
|
*
|
|
@@ -1171,8 +1199,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1171
1199
|
/**
|
|
1172
1200
|
* @remarks
|
|
1173
1201
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1174
|
-
* - true:
|
|
1175
|
-
* - false:
|
|
1202
|
+
* - 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.
|
|
1203
|
+
* - false: disables burst.
|
|
1176
1204
|
*
|
|
1177
1205
|
* 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).
|
|
1178
1206
|
*
|
|
@@ -1182,12 +1210,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1182
1210
|
systemDiskBurstingEnabled?: boolean;
|
|
1183
1211
|
/**
|
|
1184
1212
|
* @remarks
|
|
1185
|
-
*
|
|
1213
|
+
* 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.
|
|
1186
1214
|
*/
|
|
1187
1215
|
systemDiskCategories?: string[];
|
|
1188
1216
|
/**
|
|
1189
1217
|
* @remarks
|
|
1190
|
-
* The node system cloud disk
|
|
1218
|
+
* The type of the node system cloud disk. Valid values:
|
|
1191
1219
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1192
1220
|
* - `cloud_ssd`: standard SSD.
|
|
1193
1221
|
* - `cloud_essd`: ESSD.
|
|
@@ -1212,9 +1240,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1212
1240
|
* @remarks
|
|
1213
1241
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1214
1242
|
*
|
|
1215
|
-
* - true:
|
|
1243
|
+
* - true: encrypts the system cloud disk.
|
|
1216
1244
|
*
|
|
1217
|
-
* - false:
|
|
1245
|
+
* - false: does not encrypt the system cloud disk.
|
|
1218
1246
|
*
|
|
1219
1247
|
* @example
|
|
1220
1248
|
* false
|
|
@@ -1242,9 +1270,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1242
1270
|
systemDiskPerformanceLevel?: string;
|
|
1243
1271
|
/**
|
|
1244
1272
|
* @remarks
|
|
1245
|
-
* The provisioned read/write IOPS
|
|
1273
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1246
1274
|
*
|
|
1247
|
-
* Valid values: 0~min{50,000, 1000
|
|
1275
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1248
1276
|
*
|
|
1249
1277
|
* 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).
|
|
1250
1278
|
*
|
|
@@ -1254,7 +1282,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1254
1282
|
systemDiskProvisionedIops?: number;
|
|
1255
1283
|
/**
|
|
1256
1284
|
* @remarks
|
|
1257
|
-
* The node system cloud disk
|
|
1285
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1258
1286
|
*
|
|
1259
1287
|
* Valid values: [20,2048\\].
|
|
1260
1288
|
*
|
|
@@ -1276,7 +1304,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1276
1304
|
systemDiskSnapshotPolicyId?: string;
|
|
1277
1305
|
/**
|
|
1278
1306
|
* @remarks
|
|
1279
|
-
* Tags added to ECS instances
|
|
1307
|
+
* Tags added only to ECS instances.
|
|
1280
1308
|
*
|
|
1281
1309
|
* 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://".
|
|
1282
1310
|
*/
|
|
@@ -1432,10 +1460,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1432
1460
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1433
1461
|
/**
|
|
1434
1462
|
* @remarks
|
|
1435
|
-
* Specifies whether to enable
|
|
1463
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1436
1464
|
*
|
|
1437
|
-
* - `true`:
|
|
1438
|
-
* - `false`:
|
|
1465
|
+
* - `true`: Enabled.
|
|
1466
|
+
* - `false`: Disabled.
|
|
1439
1467
|
*
|
|
1440
1468
|
* Default value: `false`.
|
|
1441
1469
|
*
|
|
@@ -1478,6 +1506,10 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1478
1506
|
* true
|
|
1479
1507
|
*/
|
|
1480
1508
|
concurrency?: boolean;
|
|
1509
|
+
/**
|
|
1510
|
+
* @remarks
|
|
1511
|
+
* The Lingjun node pool configuration. (Not effective)
|
|
1512
|
+
*/
|
|
1481
1513
|
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1482
1514
|
/**
|
|
1483
1515
|
* @remarks
|