@alicloud/cs20151215 7.0.3 → 7.0.5
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 +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- 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/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- 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 +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- 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/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.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 +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
package/src/models/Nodepool.ts
CHANGED
|
@@ -11,9 +11,7 @@ import { Taint } from "./Taint";
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* [
|
|
15
|
-
*
|
|
16
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
|
+
* **[Deprecated]**
|
|
17
15
|
*
|
|
18
16
|
* @example
|
|
19
17
|
* 5
|
|
@@ -23,14 +21,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
23
21
|
eipBandwidth?: number;
|
|
24
22
|
/**
|
|
25
23
|
* @remarks
|
|
26
|
-
* [
|
|
27
|
-
*
|
|
28
|
-
* The billing method of the EIP. Valid values:
|
|
29
|
-
*
|
|
30
|
-
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
32
|
-
*
|
|
33
|
-
* Default value: PayByBandwidth.
|
|
24
|
+
* **[Deprecated]**
|
|
34
25
|
*
|
|
35
26
|
* @example
|
|
36
27
|
* PayByBandwidth
|
|
@@ -40,10 +31,10 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
40
31
|
eipInternetChargeType?: string;
|
|
41
32
|
/**
|
|
42
33
|
* @remarks
|
|
43
|
-
* Specifies whether to enable
|
|
34
|
+
* Specifies whether to enable automatic scaling.
|
|
44
35
|
*
|
|
45
|
-
* - `true`: Enables the
|
|
46
|
-
* - `false`: Disables
|
|
36
|
+
* - `true`: Enables the automatic scaling feature for the node pool.
|
|
37
|
+
* - `false`: Disables automatic scaling. If this parameter is set to `false`, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
38
|
*
|
|
48
39
|
* Default value: `false`.
|
|
49
40
|
*
|
|
@@ -55,9 +46,9 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
55
46
|
enable?: boolean;
|
|
56
47
|
/**
|
|
57
48
|
* @remarks
|
|
58
|
-
* [
|
|
49
|
+
* **[Deprecated]**
|
|
59
50
|
*
|
|
60
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
51
|
+
* Specifies whether to associate an elastic IP address (EIP). Valid values:
|
|
61
52
|
*
|
|
62
53
|
* - `true`: Associates an EIP.
|
|
63
54
|
* - `false`: Does not associate an EIP.
|
|
@@ -92,14 +83,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
92
83
|
minInstances?: number;
|
|
93
84
|
/**
|
|
94
85
|
* @remarks
|
|
95
|
-
* The auto scaling type, classified by instance type. Valid values:
|
|
96
|
-
*
|
|
97
|
-
* - `cpu`: regular instance type.
|
|
98
|
-
* - `gpu`: GPU instance type.
|
|
99
|
-
* - `gpushare`: GPU shared type.
|
|
100
|
-
* - `spot`: spot instance type.
|
|
101
|
-
*
|
|
102
|
-
* Default value: `cpu`.
|
|
86
|
+
* The auto scaling type, classified by auto scaling instance type. Valid values:
|
|
103
87
|
*
|
|
104
88
|
* @example
|
|
105
89
|
* cpu
|
|
@@ -141,9 +125,7 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
141
125
|
export class NodepoolInterconnectConfig extends $dara.Model {
|
|
142
126
|
/**
|
|
143
127
|
* @remarks
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* 边缘增强型节点池的网络带宽,单位:Mbps。
|
|
128
|
+
* **[Deprecated]**
|
|
147
129
|
*
|
|
148
130
|
* @example
|
|
149
131
|
* 10
|
|
@@ -153,9 +135,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
153
135
|
bandwidth?: number;
|
|
154
136
|
/**
|
|
155
137
|
* @remarks
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* 边缘增强型节点池绑定的云连接网实例ID(CCNID)。
|
|
138
|
+
* **[Deprecated]**
|
|
159
139
|
*
|
|
160
140
|
* @example
|
|
161
141
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -165,9 +145,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
165
145
|
ccnId?: string;
|
|
166
146
|
/**
|
|
167
147
|
* @remarks
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* 边缘增强型节点池绑定的云连接网实例所属的地域。
|
|
148
|
+
* **[Deprecated]**
|
|
171
149
|
*
|
|
172
150
|
* @example
|
|
173
151
|
* cn-shanghai
|
|
@@ -177,9 +155,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
177
155
|
ccnRegionId?: string;
|
|
178
156
|
/**
|
|
179
157
|
* @remarks
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* 边缘增强型节点池绑定的云企业网实例ID(CENID)。
|
|
158
|
+
* **[Deprecated]**
|
|
183
159
|
*
|
|
184
160
|
* @example
|
|
185
161
|
* cen-ey9k9nfhz0f*******
|
|
@@ -189,9 +165,7 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
189
165
|
cenId?: string;
|
|
190
166
|
/**
|
|
191
167
|
* @remarks
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* 边缘增强型节点池的购买时长,单位:月。
|
|
168
|
+
* **[Deprecated]**
|
|
195
169
|
*
|
|
196
170
|
* @example
|
|
197
171
|
* 1
|
|
@@ -244,12 +218,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
244
218
|
cmsEnabled?: boolean;
|
|
245
219
|
/**
|
|
246
220
|
* @remarks
|
|
247
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
248
|
-
*
|
|
249
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
250
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
251
|
-
*
|
|
252
|
-
* Default value: `none`.
|
|
221
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
253
222
|
*
|
|
254
223
|
* @example
|
|
255
224
|
* none
|
|
@@ -257,18 +226,13 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
226
|
cpuPolicy?: string;
|
|
258
227
|
/**
|
|
259
228
|
* @remarks
|
|
260
|
-
* The node labels.
|
|
229
|
+
* The node labels. Labels are added to the nodes in the Kubernetes cluster.
|
|
261
230
|
*/
|
|
262
231
|
labels?: Tag[];
|
|
263
232
|
/**
|
|
264
233
|
* @remarks
|
|
265
234
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
266
235
|
*
|
|
267
|
-
* - 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.
|
|
268
|
-
* - The node IP is the complete private IP address of the node.
|
|
269
|
-
*
|
|
270
|
-
* The parameter contains four parts separated by commas. For example, if you pass in the string "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.
|
|
271
|
-
*
|
|
272
236
|
* @example
|
|
273
237
|
* customized,aliyun,ip,com
|
|
274
238
|
*/
|
|
@@ -276,9 +240,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
276
240
|
/**
|
|
277
241
|
* @remarks
|
|
278
242
|
* The container runtime. Valid values:
|
|
279
|
-
* - `containerd`: Recommended.
|
|
280
|
-
* - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation.
|
|
281
|
-
* - `docker`:
|
|
243
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
244
|
+
* - `Sandboxed-Container.runv`: Sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.24 and earlier.
|
|
245
|
+
* - `docker`: Supported by clusters of version 1.22 and earlier.
|
|
282
246
|
*
|
|
283
247
|
* Default value: `containerd`
|
|
284
248
|
*
|
|
@@ -305,7 +269,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
305
269
|
taints?: Taint[];
|
|
306
270
|
/**
|
|
307
271
|
* @remarks
|
|
308
|
-
* The
|
|
272
|
+
* The custom data for nodes.
|
|
309
273
|
*
|
|
310
274
|
* @example
|
|
311
275
|
* MXM=
|
|
@@ -353,6 +317,16 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
353
317
|
}
|
|
354
318
|
|
|
355
319
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
320
|
+
/**
|
|
321
|
+
* @example
|
|
322
|
+
* 5
|
|
323
|
+
*/
|
|
324
|
+
maxParallelRepairingNodes?: string;
|
|
325
|
+
/**
|
|
326
|
+
* @example
|
|
327
|
+
* 20%
|
|
328
|
+
*/
|
|
329
|
+
maxUnhealthyNodesThreshold?: string;
|
|
356
330
|
/**
|
|
357
331
|
* @remarks
|
|
358
332
|
* Specifies whether to allow node restart.
|
|
@@ -363,12 +337,16 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
363
337
|
restartNode?: boolean;
|
|
364
338
|
static names(): { [key: string]: string } {
|
|
365
339
|
return {
|
|
340
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
341
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
366
342
|
restartNode: 'restart_node',
|
|
367
343
|
};
|
|
368
344
|
}
|
|
369
345
|
|
|
370
346
|
static types(): { [key: string]: any } {
|
|
371
347
|
return {
|
|
348
|
+
maxParallelRepairingNodes: 'string',
|
|
349
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
372
350
|
restartNode: 'boolean',
|
|
373
351
|
};
|
|
374
352
|
}
|
|
@@ -385,7 +363,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
385
363
|
export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
386
364
|
/**
|
|
387
365
|
* @remarks
|
|
388
|
-
*
|
|
366
|
+
* Specifies whether to allow automatic kubelet upgrade.
|
|
389
367
|
*
|
|
390
368
|
* @example
|
|
391
369
|
* true
|
|
@@ -423,7 +401,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
423
401
|
restartNode?: boolean;
|
|
424
402
|
/**
|
|
425
403
|
* @remarks
|
|
426
|
-
*
|
|
404
|
+
* The vulnerability levels that are allowed for automatic fix, separated by commas.
|
|
427
405
|
*
|
|
428
406
|
* @example
|
|
429
407
|
* asap,nntf
|
|
@@ -457,9 +435,6 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
457
435
|
* @remarks
|
|
458
436
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
459
437
|
*
|
|
460
|
-
* - `true`: Enables auto upgrade.
|
|
461
|
-
* - `false`: Disables auto upgrade.
|
|
462
|
-
*
|
|
463
438
|
* @example
|
|
464
439
|
* false
|
|
465
440
|
*/
|
|
@@ -468,8 +443,6 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
468
443
|
* @remarks
|
|
469
444
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
470
445
|
*
|
|
471
|
-
* Default value: 1.
|
|
472
|
-
*
|
|
473
446
|
* @example
|
|
474
447
|
* 0
|
|
475
448
|
*/
|
|
@@ -484,7 +457,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
484
457
|
surge?: number;
|
|
485
458
|
/**
|
|
486
459
|
* @remarks
|
|
487
|
-
* The extra
|
|
460
|
+
* The percentage of extra nodes. You can set either this parameter or `surge`.
|
|
488
461
|
*
|
|
489
462
|
* @example
|
|
490
463
|
* 0
|
|
@@ -518,13 +491,17 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
518
491
|
}
|
|
519
492
|
|
|
520
493
|
export class NodepoolManagement extends $dara.Model {
|
|
494
|
+
/**
|
|
495
|
+
* @remarks
|
|
496
|
+
* Specifies whether to enable node self-healing ECS fault detection.
|
|
497
|
+
*/
|
|
521
498
|
autoFaultDiagnosis?: boolean;
|
|
522
499
|
/**
|
|
523
500
|
* @remarks
|
|
524
|
-
* Specifies whether to enable
|
|
501
|
+
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
525
502
|
*
|
|
526
|
-
* - `true`: Enables
|
|
527
|
-
* - `false`: Disables
|
|
503
|
+
* - `true`: Enables automatic repair.
|
|
504
|
+
* - `false`: Disables automatic repair.
|
|
528
505
|
*
|
|
529
506
|
* @example
|
|
530
507
|
* false
|
|
@@ -537,7 +514,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
537
514
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
538
515
|
/**
|
|
539
516
|
* @remarks
|
|
540
|
-
*
|
|
517
|
+
* Specifies whether to enable auto upgrade.
|
|
541
518
|
*
|
|
542
519
|
* @example
|
|
543
520
|
* true
|
|
@@ -545,13 +522,12 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
545
522
|
autoUpgrade?: boolean;
|
|
546
523
|
/**
|
|
547
524
|
* @remarks
|
|
548
|
-
*
|
|
525
|
+
* The auto upgrade policy.
|
|
549
526
|
*/
|
|
550
527
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
551
528
|
/**
|
|
552
529
|
* @remarks
|
|
553
530
|
* Specifies whether to automatically fix CVEs.
|
|
554
|
-
* [properties.management.properties.auto_v
|
|
555
531
|
*
|
|
556
532
|
* @example
|
|
557
533
|
* true
|
|
@@ -559,17 +535,18 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
559
535
|
autoVulFix?: boolean;
|
|
560
536
|
/**
|
|
561
537
|
* @remarks
|
|
562
|
-
*
|
|
538
|
+
* The auto CVE fix policy.
|
|
563
539
|
*/
|
|
564
540
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
541
|
+
/**
|
|
542
|
+
* @remarks
|
|
543
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
544
|
+
*/
|
|
565
545
|
driftEnabled?: boolean;
|
|
566
546
|
/**
|
|
567
547
|
* @remarks
|
|
568
548
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
569
549
|
*
|
|
570
|
-
* - `true`: Enables the managed node pool.
|
|
571
|
-
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
572
|
-
*
|
|
573
550
|
* @example
|
|
574
551
|
* false
|
|
575
552
|
*/
|
|
@@ -635,7 +612,7 @@ export class NodepoolManagement extends $dara.Model {
|
|
|
635
612
|
export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
636
613
|
/**
|
|
637
614
|
* @remarks
|
|
638
|
-
*
|
|
615
|
+
* The custom configuration of node components.
|
|
639
616
|
*
|
|
640
617
|
* @example
|
|
641
618
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -668,12 +645,12 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
668
645
|
export class NodepoolNodeComponents extends $dara.Model {
|
|
669
646
|
/**
|
|
670
647
|
* @remarks
|
|
671
|
-
*
|
|
648
|
+
* The node component configuration.
|
|
672
649
|
*/
|
|
673
650
|
config?: NodepoolNodeComponentsConfig;
|
|
674
651
|
/**
|
|
675
652
|
* @remarks
|
|
676
|
-
*
|
|
653
|
+
* The node component name.
|
|
677
654
|
*
|
|
678
655
|
* @example
|
|
679
656
|
* kubelet
|
|
@@ -681,7 +658,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
681
658
|
name?: string;
|
|
682
659
|
/**
|
|
683
660
|
* @remarks
|
|
684
|
-
*
|
|
661
|
+
* The node component version.
|
|
685
662
|
*
|
|
686
663
|
* @example
|
|
687
664
|
* 1.33.3-aliyun.1
|
|
@@ -718,7 +695,7 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
718
695
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
719
696
|
/**
|
|
720
697
|
* @remarks
|
|
721
|
-
*
|
|
698
|
+
* The kubelet parameter settings.
|
|
722
699
|
*/
|
|
723
700
|
kubeletConfiguration?: KubeletConfig;
|
|
724
701
|
static names(): { [key: string]: string } {
|
|
@@ -758,7 +735,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
758
735
|
name?: string;
|
|
759
736
|
/**
|
|
760
737
|
* @remarks
|
|
761
|
-
* The resource group
|
|
738
|
+
* The ID of the resource group to which the node pool belongs.
|
|
762
739
|
*
|
|
763
740
|
* @example
|
|
764
741
|
* rg-acfmyvw3wjm****
|
|
@@ -768,9 +745,6 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
768
745
|
* @remarks
|
|
769
746
|
* The node pool type. Valid values:
|
|
770
747
|
*
|
|
771
|
-
* - `ess`: node pool.
|
|
772
|
-
* - `edge`: edge node pool.
|
|
773
|
-
*
|
|
774
748
|
* @example
|
|
775
749
|
* ess
|
|
776
750
|
*/
|
|
@@ -800,10 +774,40 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
800
774
|
}
|
|
801
775
|
}
|
|
802
776
|
|
|
777
|
+
export class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
778
|
+
/**
|
|
779
|
+
* @remarks
|
|
780
|
+
* Specifies whether to enable nested virtualization. Valid values:
|
|
781
|
+
*
|
|
782
|
+
* @example
|
|
783
|
+
* enabled
|
|
784
|
+
*/
|
|
785
|
+
nestedVirtualization?: string;
|
|
786
|
+
static names(): { [key: string]: string } {
|
|
787
|
+
return {
|
|
788
|
+
nestedVirtualization: 'nested_virtualization',
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
static types(): { [key: string]: any } {
|
|
793
|
+
return {
|
|
794
|
+
nestedVirtualization: 'string',
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
validate() {
|
|
799
|
+
super.validate();
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
constructor(map?: { [key: string]: any }) {
|
|
803
|
+
super(map);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
803
807
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
804
808
|
/**
|
|
805
809
|
* @remarks
|
|
806
|
-
* The private pool ID.
|
|
810
|
+
* The private node pool ID.
|
|
807
811
|
*
|
|
808
812
|
* @example
|
|
809
813
|
* eap-bp67acfmxazb4****
|
|
@@ -811,13 +815,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
811
815
|
id?: string;
|
|
812
816
|
/**
|
|
813
817
|
* @remarks
|
|
814
|
-
* The private pool
|
|
818
|
+
* The type of the private node pool. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
|
|
815
819
|
*
|
|
816
|
-
* - `Open`:
|
|
820
|
+
* - `Open`: open mode. The instance automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
817
821
|
*
|
|
818
|
-
* - `Target`:
|
|
822
|
+
* - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
819
823
|
*
|
|
820
|
-
* - `None`:
|
|
824
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
821
825
|
*
|
|
822
826
|
* @example
|
|
823
827
|
* Open
|
|
@@ -849,15 +853,17 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
|
849
853
|
export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
850
854
|
/**
|
|
851
855
|
* @remarks
|
|
852
|
-
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be
|
|
856
|
+
* 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.
|
|
853
857
|
*/
|
|
854
858
|
privatePoolIds?: string[];
|
|
855
859
|
/**
|
|
856
860
|
* @remarks
|
|
857
|
-
* The resource pool
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, which are available for instance startup. Valid values:
|
|
862
|
+
*
|
|
863
|
+
* PrivatePoolFirst: private pool first. When this strategy is selected, if resource_pool_options.private_pool_ids is specified, the specified private pools are used preferentially. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
864
|
+
* PrivatePoolOnly: private pool only. When this strategy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
865
|
+
* None: no resource pool strategy is used.
|
|
866
|
+
*
|
|
861
867
|
* Default value: None.
|
|
862
868
|
*
|
|
863
869
|
* @example
|
|
@@ -975,22 +981,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
975
981
|
* @remarks
|
|
976
982
|
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
977
983
|
*
|
|
978
|
-
* - `true`: Enables auto-renewal.
|
|
979
|
-
* - `false`: Disables auto-renewal.
|
|
980
|
-
*
|
|
981
|
-
* Default value: `true`.
|
|
982
|
-
*
|
|
983
984
|
* @example
|
|
984
985
|
* false
|
|
985
986
|
*/
|
|
986
987
|
autoRenew?: boolean;
|
|
987
988
|
/**
|
|
988
989
|
* @remarks
|
|
989
|
-
* The auto-renewal
|
|
990
|
-
*
|
|
991
|
-
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
992
|
-
*
|
|
993
|
-
* Default value: 1.
|
|
990
|
+
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
994
991
|
*
|
|
995
992
|
* @example
|
|
996
993
|
* 0
|
|
@@ -998,15 +995,20 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
998
995
|
autoRenewPeriod?: number;
|
|
999
996
|
/**
|
|
1000
997
|
* @remarks
|
|
1001
|
-
*
|
|
998
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1002
999
|
*
|
|
1003
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1004
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1000
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1001
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1005
1002
|
*
|
|
1006
1003
|
* @example
|
|
1007
1004
|
* true
|
|
1008
1005
|
*/
|
|
1009
1006
|
compensateWithOnDemand?: boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* The CPU configuration options.
|
|
1010
|
+
*/
|
|
1011
|
+
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
1010
1012
|
/**
|
|
1011
1013
|
* @remarks
|
|
1012
1014
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -1043,7 +1045,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1043
1045
|
imageId?: string;
|
|
1044
1046
|
/**
|
|
1045
1047
|
* @remarks
|
|
1046
|
-
* The operating system image type.
|
|
1048
|
+
* The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
|
|
1047
1049
|
*
|
|
1048
1050
|
* - `AliyunLinux`: Alinux2 image.
|
|
1049
1051
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -1062,11 +1064,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1062
1064
|
* @remarks
|
|
1063
1065
|
* The billing method for nodes in the node pool. Valid values:
|
|
1064
1066
|
*
|
|
1065
|
-
* - `PrePaid`: subscription.
|
|
1066
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1067
|
-
*
|
|
1068
|
-
* Default value: `PostPaid`.
|
|
1069
|
-
*
|
|
1070
1067
|
* This parameter is required.
|
|
1071
1068
|
*
|
|
1072
1069
|
* @example
|
|
@@ -1075,8 +1072,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1075
1072
|
instanceChargeType?: string;
|
|
1076
1073
|
/**
|
|
1077
1074
|
* @remarks
|
|
1078
|
-
* The
|
|
1079
|
-
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to apply.
|
|
1075
|
+
* The metadata access configuration for ECS instances.
|
|
1080
1076
|
*/
|
|
1081
1077
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1082
1078
|
/**
|
|
@@ -1088,10 +1084,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1088
1084
|
instanceTypes?: string[];
|
|
1089
1085
|
/**
|
|
1090
1086
|
* @remarks
|
|
1091
|
-
* The billing
|
|
1092
|
-
*
|
|
1093
|
-
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
1094
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
1087
|
+
* The billing type for public IP addresses. Valid values:
|
|
1095
1088
|
*
|
|
1096
1089
|
* @example
|
|
1097
1090
|
* PayByBandwidth
|
|
@@ -1099,7 +1092,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1099
1092
|
internetChargeType?: string;
|
|
1100
1093
|
/**
|
|
1101
1094
|
* @remarks
|
|
1102
|
-
* The maximum outbound bandwidth for node public IP addresses. Unit:
|
|
1095
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
|
|
1103
1096
|
*
|
|
1104
1097
|
* @example
|
|
1105
1098
|
* 10
|
|
@@ -1109,15 +1102,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1109
1102
|
* @remarks
|
|
1110
1103
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
1111
1104
|
*
|
|
1112
|
-
* > If you create a managed node pool, only `key_pair` is supported.
|
|
1113
|
-
*
|
|
1114
1105
|
* @example
|
|
1115
1106
|
* np-key
|
|
1116
1107
|
*/
|
|
1117
1108
|
keyPair?: string;
|
|
1118
1109
|
/**
|
|
1119
1110
|
* @remarks
|
|
1120
|
-
* Specifies whether to
|
|
1111
|
+
* Specifies whether to log on to scaled-out ECS instances as a non-root user.
|
|
1121
1112
|
*/
|
|
1122
1113
|
loginAsNonRoot?: boolean;
|
|
1123
1114
|
/**
|
|
@@ -1132,13 +1123,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1132
1123
|
* @remarks
|
|
1133
1124
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1134
1125
|
*
|
|
1135
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N)
|
|
1126
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used to create ECS instances.
|
|
1136
1127
|
*
|
|
1137
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order
|
|
1128
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order from the lowest to the highest vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, 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.
|
|
1138
1129
|
*
|
|
1139
1130
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1140
1131
|
*
|
|
1141
|
-
* - `BALANCE`: Evenly
|
|
1132
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1142
1133
|
*
|
|
1143
1134
|
* Default value: `PRIORITY`.
|
|
1144
1135
|
*
|
|
@@ -1156,7 +1147,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1156
1147
|
onDemandBaseCapacity?: number;
|
|
1157
1148
|
/**
|
|
1158
1149
|
* @remarks
|
|
1159
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100].
|
|
1150
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100].
|
|
1160
1151
|
*
|
|
1161
1152
|
* @example
|
|
1162
1153
|
* 20
|
|
@@ -1164,9 +1155,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1164
1155
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1165
1156
|
/**
|
|
1166
1157
|
* @remarks
|
|
1167
|
-
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1168
|
-
*
|
|
1169
|
-
* Default value: 1.
|
|
1158
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month, the valid values of `period` are: {1, 2, 3, 6, 12}.
|
|
1170
1159
|
*
|
|
1171
1160
|
* @example
|
|
1172
1161
|
* 0
|
|
@@ -1174,9 +1163,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1174
1163
|
period?: number;
|
|
1175
1164
|
/**
|
|
1176
1165
|
* @remarks
|
|
1177
|
-
* The
|
|
1178
|
-
*
|
|
1179
|
-
* `Month`: Currently only month is supported as the unit.
|
|
1166
|
+
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1180
1167
|
*
|
|
1181
1168
|
* @example
|
|
1182
1169
|
* Month
|
|
@@ -1186,13 +1173,6 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1186
1173
|
* @remarks
|
|
1187
1174
|
* The operating system distribution. Valid values:
|
|
1188
1175
|
*
|
|
1189
|
-
* - `CentOS`
|
|
1190
|
-
* - `AliyunLinux`
|
|
1191
|
-
* - `Windows`
|
|
1192
|
-
* - `WindowsCore`
|
|
1193
|
-
*
|
|
1194
|
-
* Default value: `AliyunLinux`.
|
|
1195
|
-
*
|
|
1196
1176
|
* @example
|
|
1197
1177
|
* AliyunLinux
|
|
1198
1178
|
*
|
|
@@ -1201,13 +1181,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1201
1181
|
platform?: string;
|
|
1202
1182
|
/**
|
|
1203
1183
|
* @remarks
|
|
1204
|
-
* The private pool configuration.
|
|
1184
|
+
* The private node pool configuration.
|
|
1205
1185
|
*/
|
|
1206
1186
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1207
1187
|
/**
|
|
1208
1188
|
* @remarks
|
|
1209
1189
|
* The Worker RAM role name.
|
|
1210
|
-
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
1211
1190
|
*
|
|
1212
1191
|
* @example
|
|
1213
1192
|
* example-role
|
|
@@ -1220,20 +1199,13 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1220
1199
|
rdsInstances?: string[];
|
|
1221
1200
|
/**
|
|
1222
1201
|
* @remarks
|
|
1223
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
1224
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1225
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1202
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1226
1203
|
*/
|
|
1227
1204
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1228
1205
|
/**
|
|
1229
1206
|
* @remarks
|
|
1230
1207
|
* The scaling group mode. Valid values:
|
|
1231
1208
|
*
|
|
1232
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1233
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations (compute resources are not charged during stop, only storage fees are charged, except for local disk instance types).
|
|
1234
|
-
*
|
|
1235
|
-
* Default value: `release`.
|
|
1236
|
-
*
|
|
1237
1209
|
* @example
|
|
1238
1210
|
* release
|
|
1239
1211
|
*/
|
|
@@ -1248,12 +1220,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1248
1220
|
securityGroupId?: string;
|
|
1249
1221
|
/**
|
|
1250
1222
|
* @remarks
|
|
1251
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`.
|
|
1223
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1252
1224
|
*/
|
|
1253
1225
|
securityGroupIds?: string[];
|
|
1254
1226
|
/**
|
|
1255
1227
|
* @remarks
|
|
1256
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1228
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost in a balanced manner. Valid values: [1,10].
|
|
1257
1229
|
*
|
|
1258
1230
|
* @example
|
|
1259
1231
|
* 5
|
|
@@ -1261,10 +1233,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1261
1233
|
spotInstancePools?: number;
|
|
1262
1234
|
/**
|
|
1263
1235
|
* @remarks
|
|
1264
|
-
* Specifies whether to enable
|
|
1265
|
-
*
|
|
1266
|
-
* - `true`: Enables supplementing spot instances.
|
|
1267
|
-
* - `false`: Disables supplementing spot instances.
|
|
1236
|
+
* Specifies whether to enable supplementation of spot instances. 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:
|
|
1268
1237
|
*
|
|
1269
1238
|
* @example
|
|
1270
1239
|
* false
|
|
@@ -1272,17 +1241,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1272
1241
|
spotInstanceRemedy?: boolean;
|
|
1273
1242
|
/**
|
|
1274
1243
|
* @remarks
|
|
1275
|
-
* The
|
|
1244
|
+
* The price range configuration for a single spot instance type.
|
|
1276
1245
|
*/
|
|
1277
1246
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1278
1247
|
/**
|
|
1279
1248
|
* @remarks
|
|
1280
|
-
* The
|
|
1281
|
-
* - NoSpot: non-spot instance.
|
|
1282
|
-
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1283
|
-
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1284
|
-
*
|
|
1285
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1249
|
+
* The spot instance type. Valid values:
|
|
1286
1250
|
*
|
|
1287
1251
|
* @example
|
|
1288
1252
|
* NoSpot
|
|
@@ -1290,12 +1254,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1290
1254
|
spotStrategy?: string;
|
|
1291
1255
|
/**
|
|
1292
1256
|
* @remarks
|
|
1293
|
-
* Specifies whether to enable burst (
|
|
1294
|
-
*
|
|
1295
|
-
* - true: Enabled.
|
|
1296
|
-
* - false: Disabled.
|
|
1297
|
-
*
|
|
1298
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1257
|
+
* Specifies whether to enable burst (I/O burst) for the node system cloud disk. Valid values:
|
|
1299
1258
|
*
|
|
1300
1259
|
* @example
|
|
1301
1260
|
* true
|
|
@@ -1303,25 +1262,12 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1303
1262
|
systemDiskBurstingEnabled?: boolean;
|
|
1304
1263
|
/**
|
|
1305
1264
|
* @remarks
|
|
1306
|
-
*
|
|
1307
|
-
*
|
|
1308
|
-
* - cloud: basic cloud disk.
|
|
1309
|
-
* - cloud_efficiency: ultra cloud disk.
|
|
1310
|
-
* - cloud_ssd: standard SSD.
|
|
1311
|
-
* - cloud_essd: ESSD.
|
|
1265
|
+
* The multiple cloud disk types for the system cloud disk. If the highest-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
|
|
1312
1266
|
*/
|
|
1313
1267
|
systemDiskCategories?: string[];
|
|
1314
1268
|
/**
|
|
1315
1269
|
* @remarks
|
|
1316
|
-
* The system cloud disk
|
|
1317
|
-
*
|
|
1318
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1319
|
-
* - `cloud_ssd`: standard SSD.
|
|
1320
|
-
* - `cloud_essd`: ESSD.
|
|
1321
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1322
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1323
|
-
*
|
|
1324
|
-
* Default value: `cloud_efficiency`.
|
|
1270
|
+
* The type of the node system cloud disk. Valid values:
|
|
1325
1271
|
*
|
|
1326
1272
|
* @example
|
|
1327
1273
|
* cloud_efficiency
|
|
@@ -1329,7 +1275,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1329
1275
|
systemDiskCategory?: string;
|
|
1330
1276
|
/**
|
|
1331
1277
|
* @remarks
|
|
1332
|
-
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
1278
|
+
* The encryption algorithm used for the node system cloud disk. Valid values: aes-256.
|
|
1333
1279
|
*
|
|
1334
1280
|
* @example
|
|
1335
1281
|
* aes-256
|
|
@@ -1337,7 +1283,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1337
1283
|
systemDiskEncryptAlgorithm?: string;
|
|
1338
1284
|
/**
|
|
1339
1285
|
* @remarks
|
|
1340
|
-
* Specifies whether to encrypt the system cloud disk. Valid values: true:
|
|
1286
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
|
|
1341
1287
|
*/
|
|
1342
1288
|
systemDiskEncrypted?: boolean;
|
|
1343
1289
|
/**
|
|
@@ -1350,7 +1296,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1350
1296
|
systemDiskKmsKeyId?: string;
|
|
1351
1297
|
/**
|
|
1352
1298
|
* @remarks
|
|
1353
|
-
* The performance level of the
|
|
1299
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
|
|
1354
1300
|
*
|
|
1355
1301
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1356
1302
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1363,9 +1309,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1363
1309
|
systemDiskPerformanceLevel?: string;
|
|
1364
1310
|
/**
|
|
1365
1311
|
* @remarks
|
|
1366
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000
|
|
1367
|
-
*
|
|
1368
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1312
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000×capacity-baseline performance}. Baseline performance=min{1,800+50×capacity, 50000}.
|
|
1369
1313
|
*
|
|
1370
1314
|
* @example
|
|
1371
1315
|
* 1000
|
|
@@ -1373,9 +1317,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1373
1317
|
systemDiskProvisionedIops?: number;
|
|
1374
1318
|
/**
|
|
1375
1319
|
* @remarks
|
|
1376
|
-
* The node system cloud disk
|
|
1377
|
-
*
|
|
1378
|
-
* Valid values: [40,500].
|
|
1320
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1379
1321
|
*
|
|
1380
1322
|
* @example
|
|
1381
1323
|
* 120
|
|
@@ -1383,9 +1325,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1383
1325
|
systemDiskSize?: number;
|
|
1384
1326
|
/**
|
|
1385
1327
|
* @remarks
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
-
* 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://".
|
|
1328
|
+
* Tags added only to ECS instances.
|
|
1389
1329
|
*/
|
|
1390
1330
|
tags?: NodepoolScalingGroupTags[];
|
|
1391
1331
|
/**
|
|
@@ -1400,6 +1340,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1400
1340
|
autoRenew: 'auto_renew',
|
|
1401
1341
|
autoRenewPeriod: 'auto_renew_period',
|
|
1402
1342
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1343
|
+
cpuOptions: 'cpu_options',
|
|
1403
1344
|
dataDisks: 'data_disks',
|
|
1404
1345
|
deploymentsetId: 'deploymentset_id',
|
|
1405
1346
|
desiredSize: 'desired_size',
|
|
@@ -1450,6 +1391,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1450
1391
|
autoRenew: 'boolean',
|
|
1451
1392
|
autoRenewPeriod: 'number',
|
|
1452
1393
|
compensateWithOnDemand: 'boolean',
|
|
1394
|
+
cpuOptions: NodepoolScalingGroupCpuOptions,
|
|
1453
1395
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1454
1396
|
deploymentsetId: 'string',
|
|
1455
1397
|
desiredSize: 'number',
|
|
@@ -1496,6 +1438,9 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1496
1438
|
}
|
|
1497
1439
|
|
|
1498
1440
|
validate() {
|
|
1441
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1442
|
+
(this.cpuOptions as any).validate();
|
|
1443
|
+
}
|
|
1499
1444
|
if(Array.isArray(this.dataDisks)) {
|
|
1500
1445
|
$dara.Model.validateArray(this.dataDisks);
|
|
1501
1446
|
}
|
|
@@ -1543,7 +1488,7 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1543
1488
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1544
1489
|
/**
|
|
1545
1490
|
* @remarks
|
|
1546
|
-
*
|
|
1491
|
+
* Indicates whether the node pool is a confidential computing node pool.
|
|
1547
1492
|
*
|
|
1548
1493
|
* This parameter is required.
|
|
1549
1494
|
*
|
|
@@ -1575,14 +1520,12 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1575
1520
|
export class Nodepool extends $dara.Model {
|
|
1576
1521
|
/**
|
|
1577
1522
|
* @remarks
|
|
1578
|
-
* The auto scaling
|
|
1523
|
+
* The auto scaling node pool configuration.
|
|
1579
1524
|
*/
|
|
1580
1525
|
autoScaling?: NodepoolAutoScaling;
|
|
1581
1526
|
/**
|
|
1582
1527
|
* @remarks
|
|
1583
|
-
* [
|
|
1584
|
-
*
|
|
1585
|
-
* The number of nodes in the node pool.
|
|
1528
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1586
1529
|
*
|
|
1587
1530
|
* @example
|
|
1588
1531
|
* 1
|
|
@@ -1592,19 +1535,14 @@ export class Nodepool extends $dara.Model {
|
|
|
1592
1535
|
count?: number;
|
|
1593
1536
|
/**
|
|
1594
1537
|
* @remarks
|
|
1595
|
-
* [
|
|
1596
|
-
*
|
|
1597
|
-
* The edge node pool configuration.
|
|
1538
|
+
* **[Deprecated]**
|
|
1598
1539
|
*
|
|
1599
1540
|
* @deprecated
|
|
1600
1541
|
*/
|
|
1601
1542
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1602
1543
|
/**
|
|
1603
1544
|
* @remarks
|
|
1604
|
-
* The network type of the edge node pool. This
|
|
1605
|
-
*
|
|
1606
|
-
* - `basic`: basic.
|
|
1607
|
-
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
1545
|
+
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1608
1546
|
*
|
|
1609
1547
|
* @example
|
|
1610
1548
|
* basic
|
|
@@ -1622,7 +1560,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1622
1560
|
management?: NodepoolManagement;
|
|
1623
1561
|
/**
|
|
1624
1562
|
* @remarks
|
|
1625
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1563
|
+
* The maximum number of nodes allowed in the edge node pool. The value must be greater than or equal to 0. A value of 0 indicates no additional limit (only limited by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1626
1564
|
*
|
|
1627
1565
|
* @example
|
|
1628
1566
|
* 10
|
|
@@ -1630,7 +1568,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1630
1568
|
maxNodes?: number;
|
|
1631
1569
|
/**
|
|
1632
1570
|
* @remarks
|
|
1633
|
-
* The
|
|
1571
|
+
* The node component list.
|
|
1634
1572
|
*/
|
|
1635
1573
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1636
1574
|
/**
|
|
@@ -1645,7 +1583,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1645
1583
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1646
1584
|
/**
|
|
1647
1585
|
* @remarks
|
|
1648
|
-
* The scaling group configuration
|
|
1586
|
+
* The scaling group configuration for the node pool.
|
|
1649
1587
|
*/
|
|
1650
1588
|
scalingGroup?: NodepoolScalingGroup;
|
|
1651
1589
|
/**
|