@alicloud/cs20151215 7.1.1 → 7.1.2
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 +4 -4
- package/dist/client.js +4 -4
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +221 -70
- package/dist/models/Nodepool.js +27 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +238 -70
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -13,6 +13,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
15
|
* Specifies whether to enable intelligent managed mode.
|
|
16
|
+
* Valid values:
|
|
17
|
+
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
18
|
+
* - false: Does not enable intelligent managed mode.
|
|
16
19
|
*
|
|
17
20
|
* @example
|
|
18
21
|
* true
|
|
@@ -56,6 +59,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
56
59
|
* @remarks
|
|
57
60
|
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
58
61
|
*
|
|
62
|
+
* The billing method of the EIP. Valid values:
|
|
63
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
65
|
+
*
|
|
66
|
+
* Default value: `PayByBandwidth`.
|
|
67
|
+
*
|
|
59
68
|
* @example
|
|
60
69
|
* null
|
|
61
70
|
*
|
|
@@ -64,7 +73,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
64
73
|
eipInternetChargeType?: string;
|
|
65
74
|
/**
|
|
66
75
|
* @remarks
|
|
67
|
-
* Specifies whether to enable
|
|
76
|
+
* Specifies whether to enable automatic scaling. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later enable instant node scaling by default. Clusters of versions earlier than 1.24 enable automatic node scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
79
|
+
*
|
|
80
|
+
* - `false`: disables automatic 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.
|
|
81
|
+
*
|
|
82
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
|
+
*
|
|
84
|
+
* Default value: `false`.
|
|
68
85
|
*
|
|
69
86
|
* @example
|
|
70
87
|
* false
|
|
@@ -74,6 +91,14 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
74
91
|
* @remarks
|
|
75
92
|
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
76
93
|
*
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
95
|
+
*
|
|
96
|
+
* - `true`: associates an EIP.
|
|
97
|
+
*
|
|
98
|
+
* - `false`: does not associate an EIP.
|
|
99
|
+
*
|
|
100
|
+
* Default value: `false`.
|
|
101
|
+
*
|
|
77
102
|
* @example
|
|
78
103
|
* null
|
|
79
104
|
*
|
|
@@ -82,7 +107,9 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
82
107
|
isBondEip?: boolean;
|
|
83
108
|
/**
|
|
84
109
|
* @remarks
|
|
85
|
-
* The maximum number of instances
|
|
110
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
111
|
+
*
|
|
112
|
+
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
86
113
|
*
|
|
87
114
|
* @example
|
|
88
115
|
* 10
|
|
@@ -90,7 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
90
117
|
maxInstances?: number;
|
|
91
118
|
/**
|
|
92
119
|
* @remarks
|
|
93
|
-
* The minimum number of instances
|
|
120
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
121
|
+
*
|
|
122
|
+
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
|
+
*
|
|
124
|
+
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances are subject to automatic creation after the scaling group takes effect.
|
|
125
|
+
* > - 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 are scaled in after the elastic scaling feature takes effect.
|
|
94
126
|
*
|
|
95
127
|
* @example
|
|
96
128
|
* 1
|
|
@@ -98,7 +130,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
98
130
|
minInstances?: number;
|
|
99
131
|
/**
|
|
100
132
|
* @remarks
|
|
101
|
-
* The
|
|
133
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable=true`. Valid values:
|
|
134
|
+
*
|
|
135
|
+
* - `cpu`: regular instance type.
|
|
136
|
+
*
|
|
137
|
+
* - `gpu`: GPU instance type.
|
|
138
|
+
*
|
|
139
|
+
* - `gpushare`: GPU sharing type.
|
|
140
|
+
*
|
|
141
|
+
* - `spot`: spot instance type.
|
|
142
|
+
*
|
|
143
|
+
* Default value: `cpu`.
|
|
144
|
+
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
102
145
|
*
|
|
103
146
|
* @example
|
|
104
147
|
* cpu
|
|
@@ -140,7 +183,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
140
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
141
184
|
/**
|
|
142
185
|
* @remarks
|
|
143
|
-
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
186
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool.
|
|
144
187
|
*/
|
|
145
188
|
autoAttachEnabled?: boolean;
|
|
146
189
|
/**
|
|
@@ -196,6 +239,8 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
196
239
|
* @remarks
|
|
197
240
|
* **[Deprecated]**
|
|
198
241
|
*
|
|
242
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
243
|
+
*
|
|
199
244
|
* @example
|
|
200
245
|
* null
|
|
201
246
|
*/
|
|
@@ -204,6 +249,8 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
204
249
|
* @remarks
|
|
205
250
|
* **[Deprecated]**
|
|
206
251
|
*
|
|
252
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
253
|
+
*
|
|
207
254
|
* @example
|
|
208
255
|
* null
|
|
209
256
|
*/
|
|
@@ -212,6 +259,8 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
212
259
|
* @remarks
|
|
213
260
|
* **[Deprecated]**
|
|
214
261
|
*
|
|
262
|
+
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
263
|
+
*
|
|
215
264
|
* @example
|
|
216
265
|
* null
|
|
217
266
|
*/
|
|
@@ -220,6 +269,8 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
220
269
|
* @remarks
|
|
221
270
|
* **[Deprecated]**
|
|
222
271
|
*
|
|
272
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
273
|
+
*
|
|
223
274
|
* @example
|
|
224
275
|
* null
|
|
225
276
|
*/
|
|
@@ -228,6 +279,8 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
228
279
|
* @remarks
|
|
229
280
|
* **[Deprecated]**
|
|
230
281
|
*
|
|
282
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
283
|
+
*
|
|
231
284
|
* @example
|
|
232
285
|
* null
|
|
233
286
|
*/
|
|
@@ -264,7 +317,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
264
317
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
265
318
|
/**
|
|
266
319
|
* @remarks
|
|
267
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
320
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
268
321
|
*
|
|
269
322
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
270
323
|
*
|
|
@@ -278,7 +331,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
278
331
|
cmsEnabled?: boolean;
|
|
279
332
|
/**
|
|
280
333
|
* @remarks
|
|
281
|
-
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6
|
|
334
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
335
|
+
*
|
|
336
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
337
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
338
|
+
*
|
|
339
|
+
* Default value: `none`.
|
|
282
340
|
*
|
|
283
341
|
* @example
|
|
284
342
|
* none
|
|
@@ -292,6 +350,21 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
292
350
|
/**
|
|
293
351
|
* @remarks
|
|
294
352
|
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
353
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
|
|
354
|
+
*
|
|
355
|
+
* The node name consists of three parts: prefix, node IP address, and suffix.
|
|
356
|
+
*
|
|
357
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
358
|
+
*
|
|
359
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
360
|
+
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
361
|
+
* - The node IP is the full private IP address of the node.
|
|
362
|
+
*
|
|
363
|
+
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
364
|
+
*
|
|
365
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
366
|
+
*
|
|
367
|
+
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
295
368
|
*
|
|
296
369
|
* @example
|
|
297
370
|
* aliyun.com192.XX.YY.55test
|
|
@@ -299,7 +372,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
299
372
|
nodeNameMode?: string;
|
|
300
373
|
/**
|
|
301
374
|
* @remarks
|
|
302
|
-
* The
|
|
375
|
+
* The pre-user data for the instance. 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).
|
|
303
376
|
*
|
|
304
377
|
* @example
|
|
305
378
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -307,7 +380,13 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
307
380
|
preUserData?: string;
|
|
308
381
|
/**
|
|
309
382
|
* @remarks
|
|
310
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
383
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
384
|
+
*
|
|
385
|
+
* - containerd: Recommended. Supported by all cluster versions.
|
|
386
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
387
|
+
* - docker: No longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
388
|
+
*
|
|
389
|
+
* Default value: containerd.
|
|
311
390
|
*
|
|
312
391
|
* @example
|
|
313
392
|
* containerd
|
|
@@ -328,7 +407,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
328
407
|
taints?: Taint[];
|
|
329
408
|
/**
|
|
330
409
|
* @remarks
|
|
331
|
-
* Specifies whether
|
|
410
|
+
* Specifies whether nodes are unschedulable after scale-out.
|
|
411
|
+
*
|
|
412
|
+
* - true: Unschedulable.
|
|
413
|
+
*
|
|
414
|
+
* - false: Schedulable.
|
|
332
415
|
*
|
|
333
416
|
* @example
|
|
334
417
|
* true
|
|
@@ -336,7 +419,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
336
419
|
unschedulable?: boolean;
|
|
337
420
|
/**
|
|
338
421
|
* @remarks
|
|
339
|
-
* The instance user data. After the node joins the cluster, the specified
|
|
422
|
+
* 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).
|
|
340
423
|
*
|
|
341
424
|
* @example
|
|
342
425
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -395,7 +478,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
395
478
|
approvalRequired?: boolean;
|
|
396
479
|
/**
|
|
397
480
|
* @remarks
|
|
398
|
-
* The maximum number of nodes that can be repaired in parallel. When a large number of
|
|
481
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of unhealthy nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
399
482
|
*
|
|
400
483
|
* @example
|
|
401
484
|
* 5
|
|
@@ -403,7 +486,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
403
486
|
maxParallelRepairingNodes?: string;
|
|
404
487
|
/**
|
|
405
488
|
* @remarks
|
|
406
|
-
* The circuit breaker
|
|
489
|
+
* The self-healing circuit breaker threshold. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
407
490
|
*
|
|
408
491
|
* @example
|
|
409
492
|
* 20%
|
|
@@ -413,6 +496,11 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
413
496
|
* @remarks
|
|
414
497
|
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
415
498
|
*
|
|
499
|
+
* - `true`: Node restarts are allowed.
|
|
500
|
+
* - `false`: Node restarts are not allowed.
|
|
501
|
+
*
|
|
502
|
+
* Default value: `true`.
|
|
503
|
+
*
|
|
416
504
|
* @example
|
|
417
505
|
* true
|
|
418
506
|
*/
|
|
@@ -448,6 +536,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
448
536
|
/**
|
|
449
537
|
* @remarks
|
|
450
538
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
539
|
+
* - `true`: Automatic kubelet upgrade is allowed.
|
|
540
|
+
* - `false`: Automatic kubelet upgrade is not allowed.
|
|
541
|
+
*
|
|
542
|
+
* Default value: `true`.
|
|
451
543
|
*
|
|
452
544
|
* @example
|
|
453
545
|
* true
|
|
@@ -456,6 +548,11 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
456
548
|
/**
|
|
457
549
|
* @remarks
|
|
458
550
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
551
|
+
* - `true`: Automatic OS upgrade is allowed.
|
|
552
|
+
* - `false`: Automatic OS upgrade is not allowed.
|
|
553
|
+
*
|
|
554
|
+
*
|
|
555
|
+
* Default value: `false`.
|
|
459
556
|
*
|
|
460
557
|
* @example
|
|
461
558
|
* false
|
|
@@ -464,6 +561,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
464
561
|
/**
|
|
465
562
|
* @remarks
|
|
466
563
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
564
|
+
* - `true`: Automatic runtime upgrade is allowed.
|
|
565
|
+
* - `false`: Automatic runtime upgrade is not allowed.
|
|
566
|
+
*
|
|
567
|
+
* Default value: `true`.
|
|
467
568
|
*
|
|
468
569
|
* @example
|
|
469
570
|
* false
|
|
@@ -499,6 +600,8 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
499
600
|
* @remarks
|
|
500
601
|
* The packages to exclude during vulnerability fix.
|
|
501
602
|
*
|
|
603
|
+
* Default value: `kernel`.
|
|
604
|
+
*
|
|
502
605
|
* @example
|
|
503
606
|
* kernel
|
|
504
607
|
*/
|
|
@@ -517,7 +620,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
517
620
|
restartNode?: boolean;
|
|
518
621
|
/**
|
|
519
622
|
* @remarks
|
|
520
|
-
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`.
|
|
623
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Valid values:
|
|
624
|
+
*
|
|
625
|
+
* - `asap`: high
|
|
626
|
+
* - `later`: medium
|
|
627
|
+
* - `nntf`: low
|
|
628
|
+
*
|
|
629
|
+
* Default value: `asap`.
|
|
521
630
|
*
|
|
522
631
|
* @example
|
|
523
632
|
* asap,nntf
|
|
@@ -553,6 +662,12 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
553
662
|
* @remarks
|
|
554
663
|
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
555
664
|
*
|
|
665
|
+
* Specifies whether to enable automatic upgrade. Valid values:
|
|
666
|
+
*
|
|
667
|
+
* - `true`: Automatic upgrade is enabled.
|
|
668
|
+
*
|
|
669
|
+
* - `false`: Automatic upgrade is disabled.
|
|
670
|
+
*
|
|
556
671
|
* @example
|
|
557
672
|
* null
|
|
558
673
|
*
|
|
@@ -562,6 +677,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
562
677
|
/**
|
|
563
678
|
* @remarks
|
|
564
679
|
* The maximum number of unavailable nodes.
|
|
680
|
+
* Valid range: [1,1000\\].
|
|
681
|
+
*
|
|
682
|
+
* Default value: 1.
|
|
565
683
|
*
|
|
566
684
|
* @example
|
|
567
685
|
* 1
|
|
@@ -571,6 +689,10 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
571
689
|
* @remarks
|
|
572
690
|
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
573
691
|
*
|
|
692
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
693
|
+
*
|
|
694
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
695
|
+
*
|
|
574
696
|
* @example
|
|
575
697
|
* 0
|
|
576
698
|
*/
|
|
@@ -579,6 +701,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
579
701
|
* @remarks
|
|
580
702
|
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
581
703
|
*
|
|
704
|
+
* Number of extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
705
|
+
*
|
|
582
706
|
* @example
|
|
583
707
|
* 0
|
|
584
708
|
*/
|
|
@@ -620,6 +744,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
620
744
|
* @remarks
|
|
621
745
|
* Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
622
746
|
*
|
|
747
|
+
* - `true`: Enabled.
|
|
748
|
+
*
|
|
749
|
+
* - `false`: Disabled.
|
|
750
|
+
*
|
|
751
|
+
* Default value: `true`.
|
|
752
|
+
*
|
|
623
753
|
* @example
|
|
624
754
|
* true
|
|
625
755
|
*/
|
|
@@ -632,6 +762,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
632
762
|
/**
|
|
633
763
|
* @remarks
|
|
634
764
|
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
765
|
+
* - `true`: Automatic upgrade is enabled.
|
|
766
|
+
* - `false`: Automatic upgrade is disabled.
|
|
767
|
+
*
|
|
768
|
+
* Default value: `true`.
|
|
635
769
|
*
|
|
636
770
|
* @example
|
|
637
771
|
* true
|
|
@@ -646,6 +780,11 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
646
780
|
* @remarks
|
|
647
781
|
* Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
|
|
648
782
|
*
|
|
783
|
+
* - `true`: Automatic CVE fix is enabled.
|
|
784
|
+
* - `false`: Automatic CVE fix is disabled.
|
|
785
|
+
*
|
|
786
|
+
* Default value: `true`.
|
|
787
|
+
*
|
|
649
788
|
* @example
|
|
650
789
|
* true
|
|
651
790
|
*/
|
|
@@ -657,13 +796,19 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
657
796
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
658
797
|
/**
|
|
659
798
|
* @remarks
|
|
660
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
799
|
+
* 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.
|
|
661
800
|
*/
|
|
662
801
|
driftEnabled?: boolean;
|
|
663
802
|
/**
|
|
664
803
|
* @remarks
|
|
665
804
|
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
666
805
|
*
|
|
806
|
+
* - `true`: Enabled.
|
|
807
|
+
*
|
|
808
|
+
* - `false`: Disabled. Other related configurations take effect only when enable is set to true.
|
|
809
|
+
*
|
|
810
|
+
* Default value: false.
|
|
811
|
+
*
|
|
667
812
|
* @example
|
|
668
813
|
* false
|
|
669
814
|
*/
|
|
@@ -728,6 +873,46 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
728
873
|
}
|
|
729
874
|
}
|
|
730
875
|
|
|
876
|
+
export class CreateClusterNodePoolRequestNodeComponentsConfigEnvs extends $dara.Model {
|
|
877
|
+
/**
|
|
878
|
+
* @remarks
|
|
879
|
+
* The name of the environment variable.
|
|
880
|
+
*
|
|
881
|
+
* @example
|
|
882
|
+
* LOG_LEVEL
|
|
883
|
+
*/
|
|
884
|
+
name?: string;
|
|
885
|
+
/**
|
|
886
|
+
* @remarks
|
|
887
|
+
* The value of the environment variable.
|
|
888
|
+
*
|
|
889
|
+
* @example
|
|
890
|
+
* info
|
|
891
|
+
*/
|
|
892
|
+
value?: string;
|
|
893
|
+
static names(): { [key: string]: string } {
|
|
894
|
+
return {
|
|
895
|
+
name: 'name',
|
|
896
|
+
value: 'value',
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
static types(): { [key: string]: any } {
|
|
901
|
+
return {
|
|
902
|
+
name: 'string',
|
|
903
|
+
value: 'string',
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
validate() {
|
|
908
|
+
super.validate();
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
constructor(map?: { [key: string]: any }) {
|
|
912
|
+
super(map);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
|
|
731
916
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
732
917
|
/**
|
|
733
918
|
* @remarks
|
|
@@ -737,15 +922,22 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
737
922
|
* {"cpuManagerPolicy":"static"}
|
|
738
923
|
*/
|
|
739
924
|
customConfig?: { [key: string]: any };
|
|
925
|
+
/**
|
|
926
|
+
* @remarks
|
|
927
|
+
* The environment variables of the node component.
|
|
928
|
+
*/
|
|
929
|
+
envs?: CreateClusterNodePoolRequestNodeComponentsConfigEnvs[];
|
|
740
930
|
static names(): { [key: string]: string } {
|
|
741
931
|
return {
|
|
742
932
|
customConfig: 'custom_config',
|
|
933
|
+
envs: 'envs',
|
|
743
934
|
};
|
|
744
935
|
}
|
|
745
936
|
|
|
746
937
|
static types(): { [key: string]: any } {
|
|
747
938
|
return {
|
|
748
939
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
940
|
+
envs: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestNodeComponentsConfigEnvs },
|
|
749
941
|
};
|
|
750
942
|
}
|
|
751
943
|
|
|
@@ -753,6 +945,9 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
753
945
|
if(this.customConfig) {
|
|
754
946
|
$dara.Model.validateMap(this.customConfig);
|
|
755
947
|
}
|
|
948
|
+
if(Array.isArray(this.envs)) {
|
|
949
|
+
$dara.Model.validateArray(this.envs);
|
|
950
|
+
}
|
|
756
951
|
super.validate();
|
|
757
952
|
}
|
|
758
953
|
|
|
@@ -764,12 +959,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
764
959
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
765
960
|
/**
|
|
766
961
|
* @remarks
|
|
767
|
-
* The node component
|
|
962
|
+
* The configuration of the node component.
|
|
768
963
|
*/
|
|
769
964
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
770
965
|
/**
|
|
771
966
|
* @remarks
|
|
772
|
-
* The node component
|
|
967
|
+
* The name of the node component.
|
|
773
968
|
*
|
|
774
969
|
* @example
|
|
775
970
|
* kubelet
|
|
@@ -777,7 +972,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
777
972
|
name?: string;
|
|
778
973
|
/**
|
|
779
974
|
* @remarks
|
|
780
|
-
* The node component
|
|
975
|
+
* The version of the node component.
|
|
781
976
|
*
|
|
782
977
|
* @example
|
|
783
978
|
* 1.33.3-aliyun.1
|
|
@@ -814,7 +1009,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
814
1009
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
815
1010
|
/**
|
|
816
1011
|
* @remarks
|
|
817
|
-
* The
|
|
1012
|
+
* The kubelet parameter settings.
|
|
818
1013
|
*/
|
|
819
1014
|
kubeletConfiguration?: KubeletConfig;
|
|
820
1015
|
static names(): { [key: string]: string } {
|
|
@@ -856,6 +1051,8 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
856
1051
|
* @remarks
|
|
857
1052
|
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
858
1053
|
*
|
|
1054
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on different business scenarios.
|
|
1055
|
+
*
|
|
859
1056
|
* @example
|
|
860
1057
|
* rg-acfmyvw3wjmb****
|
|
861
1058
|
*/
|
|
@@ -864,6 +1061,11 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
864
1061
|
* @remarks
|
|
865
1062
|
* The node pool type. Valid values:
|
|
866
1063
|
*
|
|
1064
|
+
* - `ess`: regular node pool (includes managed features and elastic scaling).
|
|
1065
|
+
* - `edge`: edge node pool.
|
|
1066
|
+
* - `lingjun`: Lingjun node pool.
|
|
1067
|
+
* - `hybrid`: hybrid cloud node pool.
|
|
1068
|
+
*
|
|
867
1069
|
* @example
|
|
868
1070
|
* ess
|
|
869
1071
|
*/
|
|
@@ -934,10 +1136,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
934
1136
|
id?: string;
|
|
935
1137
|
/**
|
|
936
1138
|
* @remarks
|
|
937
|
-
* The
|
|
938
|
-
* - `Open`: open mode.
|
|
939
|
-
* - `Target`: targeted mode.
|
|
940
|
-
* - `None`: none mode. The instance does not use private pool capacity
|
|
1139
|
+
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1140
|
+
* - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1141
|
+
* - `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.
|
|
1142
|
+
* - `None`: none mode. The instance launch does not use private pool capacity.
|
|
941
1143
|
*
|
|
942
1144
|
* @example
|
|
943
1145
|
* Target
|
|
@@ -974,13 +1176,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
974
1176
|
privatePoolIds?: string[];
|
|
975
1177
|
/**
|
|
976
1178
|
* @remarks
|
|
977
|
-
* The resource pool
|
|
978
|
-
*
|
|
979
|
-
* - 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 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.
|
|
980
|
-
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
981
|
-
* - None: no resource pool strategy is used.
|
|
982
|
-
*
|
|
983
|
-
* Default value: None.
|
|
1179
|
+
* The resource pool policy 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: PrivatePoolFirst: private pool first. When this policy is selected and 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 pools are automatically matched. If no matching private pool is available, public pool resources are used. PrivatePoolOnly: private pool only. When this policy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to launch. None: no resource pool policy. Default value: None.
|
|
984
1180
|
*
|
|
985
1181
|
* @example
|
|
986
1182
|
* PrivatePoolFirst
|
|
@@ -1023,7 +1219,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1023
1219
|
instanceType?: string;
|
|
1024
1220
|
/**
|
|
1025
1221
|
* @remarks
|
|
1026
|
-
* The maximum price
|
|
1222
|
+
* The maximum price per instance.
|
|
1027
1223
|
* <props="china">Unit: CNY/hour.
|
|
1028
1224
|
*
|
|
1029
1225
|
*
|
|
@@ -1102,13 +1298,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1102
1298
|
* @remarks
|
|
1103
1299
|
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1104
1300
|
*
|
|
1301
|
+
* - `true`: enables auto-renewal.
|
|
1302
|
+
* - `false`: disables auto-renewal.
|
|
1303
|
+
*
|
|
1304
|
+
* Default value: `false`.
|
|
1305
|
+
*
|
|
1105
1306
|
* @example
|
|
1106
1307
|
* true
|
|
1107
1308
|
*/
|
|
1108
1309
|
autoRenew?: boolean;
|
|
1109
1310
|
/**
|
|
1110
1311
|
* @remarks
|
|
1111
|
-
* The duration
|
|
1312
|
+
* The auto-renewal duration for a single renewal. Valid values:
|
|
1313
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
1314
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1315
|
+
*
|
|
1316
|
+
* Default value: 1.
|
|
1112
1317
|
*
|
|
1113
1318
|
* @example
|
|
1114
1319
|
* 1
|
|
@@ -1126,7 +1331,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1126
1331
|
cisEnabled?: boolean;
|
|
1127
1332
|
/**
|
|
1128
1333
|
* @remarks
|
|
1129
|
-
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost
|
|
1334
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and spot instances cannot be created due to cost, inventory, or other reasons. Valid values:
|
|
1130
1335
|
*
|
|
1131
1336
|
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1132
1337
|
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
@@ -1142,15 +1347,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1142
1347
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1143
1348
|
/**
|
|
1144
1349
|
* @remarks
|
|
1145
|
-
* The data cloud disk configurations
|
|
1350
|
+
* The data cloud disk configurations of nodes in the node pool.
|
|
1146
1351
|
*/
|
|
1147
1352
|
dataDisks?: DataDisk[];
|
|
1148
1353
|
/**
|
|
1149
1354
|
* @remarks
|
|
1150
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery
|
|
1355
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment policy.
|
|
1151
1356
|
*
|
|
1152
1357
|
*
|
|
1153
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1358
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. The default maximum number of nodes supported by a deployment set is 20 × the number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node scale-out failures.
|
|
1154
1359
|
*
|
|
1155
1360
|
* @example
|
|
1156
1361
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1160,6 +1365,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1160
1365
|
* @remarks
|
|
1161
1366
|
* The desired number of nodes in the node pool.
|
|
1162
1367
|
*
|
|
1368
|
+
* 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.
|
|
1369
|
+
*
|
|
1370
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the value later to add nodes.
|
|
1371
|
+
*
|
|
1163
1372
|
* @example
|
|
1164
1373
|
* 0
|
|
1165
1374
|
*/
|
|
@@ -1171,7 +1380,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1171
1380
|
diskInit?: DiskInit[];
|
|
1172
1381
|
/**
|
|
1173
1382
|
* @remarks
|
|
1174
|
-
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud
|
|
1383
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
1175
1384
|
*
|
|
1176
1385
|
* @example
|
|
1177
1386
|
* false
|
|
@@ -1189,6 +1398,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1189
1398
|
* @remarks
|
|
1190
1399
|
* The type of operating system image. Valid values:
|
|
1191
1400
|
*
|
|
1401
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1402
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1403
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1404
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1405
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1406
|
+
* - `CentOS`: CentOS image.
|
|
1407
|
+
* - `Windows`: Windows image.
|
|
1408
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1409
|
+
* - `ContainerOS`: container-optimized image.
|
|
1410
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1411
|
+
*
|
|
1192
1412
|
* @example
|
|
1193
1413
|
* AliyunLinux3
|
|
1194
1414
|
*/
|
|
@@ -1196,6 +1416,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1196
1416
|
/**
|
|
1197
1417
|
* @remarks
|
|
1198
1418
|
* The billing method of nodes in the node pool. Valid values:
|
|
1419
|
+
*
|
|
1420
|
+
* - `PrePaid`: subscription.
|
|
1421
|
+
*
|
|
1422
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1423
|
+
*
|
|
1424
|
+
* Default value: `PostPaid`.
|
|
1199
1425
|
*
|
|
1200
1426
|
* This parameter is required.
|
|
1201
1427
|
*
|
|
@@ -1215,11 +1441,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1441
|
instancePatterns?: InstancePatterns[];
|
|
1216
1442
|
/**
|
|
1217
1443
|
* @remarks
|
|
1218
|
-
* The list of instance types for
|
|
1444
|
+
* The list of instance types for the node pool. When the node pool scales out, instances are created based on the instance types that meet the requirements from this list.
|
|
1445
|
+
*
|
|
1446
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1219
1447
|
*
|
|
1220
|
-
* Number of supported instance types: [1, 10].
|
|
1221
1448
|
*
|
|
1222
|
-
* > To ensure high availability,
|
|
1449
|
+
* > To ensure high availability, specify multiple instance types.
|
|
1223
1450
|
*
|
|
1224
1451
|
* This parameter is required.
|
|
1225
1452
|
*/
|
|
@@ -1228,8 +1455,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1228
1455
|
* @remarks
|
|
1229
1456
|
* The billing method for public IP addresses. Valid values:
|
|
1230
1457
|
*
|
|
1231
|
-
* - PayByBandwidth:
|
|
1232
|
-
* - PayByTraffic:
|
|
1458
|
+
* - PayByBandwidth: billed on a fixed bandwidth basis.
|
|
1459
|
+
* - PayByTraffic: billed on a traffic usage basis.
|
|
1233
1460
|
*
|
|
1234
1461
|
* @example
|
|
1235
1462
|
* PayByTraffic
|
|
@@ -1237,7 +1464,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1237
1464
|
internetChargeType?: string;
|
|
1238
1465
|
/**
|
|
1239
1466
|
* @remarks
|
|
1240
|
-
* The maximum outbound bandwidth
|
|
1467
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1241
1468
|
*
|
|
1242
1469
|
* @example
|
|
1243
1470
|
* 5
|
|
@@ -1247,17 +1474,19 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1247
1474
|
* @remarks
|
|
1248
1475
|
* The name of the key pair for password-free logon. Use either this parameter or `login_password`.
|
|
1249
1476
|
*
|
|
1477
|
+
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1478
|
+
*
|
|
1250
1479
|
* @example
|
|
1251
1480
|
* np-key-name
|
|
1252
1481
|
*/
|
|
1253
1482
|
keyPair?: string;
|
|
1254
1483
|
/**
|
|
1255
1484
|
* @remarks
|
|
1256
|
-
* Specifies whether
|
|
1257
|
-
*
|
|
1258
|
-
* - true:
|
|
1485
|
+
* Specifies whether the scaled-out ECS instance uses a non-root user for logon.
|
|
1486
|
+
*
|
|
1487
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1259
1488
|
*
|
|
1260
|
-
* - false:
|
|
1489
|
+
* - false: logs on as the root user.
|
|
1261
1490
|
*
|
|
1262
1491
|
* @example
|
|
1263
1492
|
* true
|
|
@@ -1265,7 +1494,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1265
1494
|
loginAsNonRoot?: boolean;
|
|
1266
1495
|
/**
|
|
1267
1496
|
* @remarks
|
|
1268
|
-
* The SSH logon password. Use either this parameter or `key_pair`. The password must be 8 to 30 characters in length and
|
|
1497
|
+
* The SSH logon password. Use either this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1269
1498
|
*
|
|
1270
1499
|
* @example
|
|
1271
1500
|
* ****
|
|
@@ -1275,13 +1504,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1275
1504
|
* @remarks
|
|
1276
1505
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1277
1506
|
*
|
|
1278
|
-
* - `PRIORITY`: Scales
|
|
1507
|
+
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1279
1508
|
*
|
|
1280
|
-
* - `COST_OPTIMIZED`: Attempts to create
|
|
1509
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration settings specify multiple instance types with the preemptible 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 or other reasons.
|
|
1281
1510
|
*
|
|
1282
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1511
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration settings specify multiple instance types or use spot instances.
|
|
1283
1512
|
*
|
|
1284
|
-
* - `BALANCE`: Evenly
|
|
1513
|
+
* - `BALANCE`: Evenly allocates ECS instances across the zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1285
1514
|
*
|
|
1286
1515
|
* Default value: `PRIORITY`.
|
|
1287
1516
|
*
|
|
@@ -1291,7 +1520,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1291
1520
|
multiAzPolicy?: string;
|
|
1292
1521
|
/**
|
|
1293
1522
|
* @remarks
|
|
1294
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are
|
|
1523
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1295
1524
|
*
|
|
1296
1525
|
* @example
|
|
1297
1526
|
* 0
|
|
@@ -1309,13 +1538,21 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1309
1538
|
* @remarks
|
|
1310
1539
|
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1311
1540
|
*
|
|
1541
|
+
* - If `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1542
|
+
* - If `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1543
|
+
*
|
|
1312
1544
|
* @example
|
|
1313
1545
|
* 1
|
|
1314
1546
|
*/
|
|
1315
1547
|
period?: number;
|
|
1316
1548
|
/**
|
|
1317
1549
|
* @remarks
|
|
1318
|
-
* The
|
|
1550
|
+
* The billing epoch of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1551
|
+
*
|
|
1552
|
+
* - `Month`: uses month as the compute unit (CU).
|
|
1553
|
+
* - `Week`: uses week as the compute unit (CU).
|
|
1554
|
+
*
|
|
1555
|
+
* Default value: `Month`.
|
|
1319
1556
|
*
|
|
1320
1557
|
* @example
|
|
1321
1558
|
* Month
|
|
@@ -1325,6 +1562,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1325
1562
|
* @remarks
|
|
1326
1563
|
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1327
1564
|
*
|
|
1565
|
+
* The operating system distribution. Valid values:
|
|
1566
|
+
* - `CentOS`
|
|
1567
|
+
* - `AliyunLinux`
|
|
1568
|
+
* - `Windows`
|
|
1569
|
+
* - `WindowsCore`
|
|
1570
|
+
*
|
|
1571
|
+
* Default value: `AliyunLinux`.
|
|
1572
|
+
*
|
|
1328
1573
|
* @example
|
|
1329
1574
|
* null
|
|
1330
1575
|
*
|
|
@@ -1338,12 +1583,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1338
1583
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1339
1584
|
/**
|
|
1340
1585
|
* @remarks
|
|
1341
|
-
* The
|
|
1586
|
+
* The Worker RAM role name.
|
|
1342
1587
|
*
|
|
1343
|
-
* * If
|
|
1344
|
-
* * If
|
|
1588
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1589
|
+
* * If specified, the RAM role must be a **regular service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a regular service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1345
1590
|
*
|
|
1346
|
-
* >Notice:
|
|
1591
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support this parameter.
|
|
1347
1592
|
*
|
|
1348
1593
|
* @example
|
|
1349
1594
|
* example-role
|
|
@@ -1351,25 +1596,30 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1351
1596
|
ramRoleName?: string;
|
|
1352
1597
|
/**
|
|
1353
1598
|
* @remarks
|
|
1354
|
-
* The list of RDS instances.
|
|
1599
|
+
* The list of ApsaraDB RDS instances.
|
|
1355
1600
|
*/
|
|
1356
1601
|
rdsInstances?: string[];
|
|
1357
1602
|
/**
|
|
1358
1603
|
* @remarks
|
|
1359
|
-
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1604
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following: 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.
|
|
1360
1605
|
*/
|
|
1361
1606
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1362
1607
|
/**
|
|
1363
1608
|
* @remarks
|
|
1364
1609
|
* The scaling group mode. Valid values:
|
|
1365
1610
|
*
|
|
1611
|
+
* - `release`: standard mode. Scales instances by creating and releasing ECS instances based on resource usage.
|
|
1612
|
+
* - `recycle`: swift mode. Scales instances by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stop period. Only storage fees are charged, except for instances with local disks.
|
|
1613
|
+
*
|
|
1614
|
+
* Default value: `release`.
|
|
1615
|
+
*
|
|
1366
1616
|
* @example
|
|
1367
1617
|
* release
|
|
1368
1618
|
*/
|
|
1369
1619
|
scalingPolicy?: string;
|
|
1370
1620
|
/**
|
|
1371
1621
|
* @remarks
|
|
1372
|
-
* The security group ID of the node pool. Use either this parameter or `security_group_ids`.
|
|
1622
|
+
* The security group ID of the node pool. Use either this parameter or `security_group_ids`. Using `security_group_ids` is recommended.
|
|
1373
1623
|
*
|
|
1374
1624
|
* @example
|
|
1375
1625
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1384,7 +1634,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1384
1634
|
securityGroupIds?: string[];
|
|
1385
1635
|
/**
|
|
1386
1636
|
* @remarks
|
|
1387
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1637
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1638
|
+
*
|
|
1639
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1640
|
+
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1641
|
+
*
|
|
1642
|
+
* Default value: `false`.
|
|
1388
1643
|
*
|
|
1389
1644
|
* @example
|
|
1390
1645
|
* false
|
|
@@ -1392,7 +1647,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1392
1647
|
securityHardeningOs?: boolean;
|
|
1393
1648
|
/**
|
|
1394
1649
|
* @remarks
|
|
1395
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1650
|
+
* Specifies whether to enable MLPS 2.0 security hardening. This feature can be enabled only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1396
1651
|
*
|
|
1397
1652
|
* @example
|
|
1398
1653
|
* false
|
|
@@ -1408,7 +1663,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1408
1663
|
spotInstancePools?: number;
|
|
1409
1664
|
/**
|
|
1410
1665
|
* @remarks
|
|
1411
|
-
* Specifies whether to enable supplementation of spot instances. If enabled, when the system receives 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:
|
|
1666
|
+
* Specifies whether to enable the supplementation of spot instances. If enabled, when the system receives 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:
|
|
1667
|
+
*
|
|
1668
|
+
* - `true`: Enables the supplementation of spot instances.
|
|
1669
|
+
* - `false`: Disables the supplementation of spot instances.
|
|
1412
1670
|
*
|
|
1413
1671
|
* @example
|
|
1414
1672
|
* false
|
|
@@ -1416,13 +1674,21 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1416
1674
|
spotInstanceRemedy?: boolean;
|
|
1417
1675
|
/**
|
|
1418
1676
|
* @remarks
|
|
1419
|
-
* The price
|
|
1677
|
+
* The price range configurations for the current spot instance type.
|
|
1420
1678
|
*/
|
|
1421
1679
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1422
1680
|
/**
|
|
1423
1681
|
* @remarks
|
|
1424
1682
|
* The type of spot instance. Valid values:
|
|
1425
1683
|
*
|
|
1684
|
+
* - `NoSpot`: non-spot instance.
|
|
1685
|
+
*
|
|
1686
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1687
|
+
*
|
|
1688
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1689
|
+
*
|
|
1690
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1691
|
+
*
|
|
1426
1692
|
* @example
|
|
1427
1693
|
* NoSpot
|
|
1428
1694
|
*/
|
|
@@ -1430,6 +1696,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1430
1696
|
/**
|
|
1431
1697
|
* @remarks
|
|
1432
1698
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1699
|
+
* - true: enables burst.
|
|
1700
|
+
* - false: disables burst.
|
|
1701
|
+
*
|
|
1702
|
+
* 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).
|
|
1433
1703
|
*
|
|
1434
1704
|
* @example
|
|
1435
1705
|
* true
|
|
@@ -1437,17 +1707,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1437
1707
|
systemDiskBurstingEnabled?: boolean;
|
|
1438
1708
|
/**
|
|
1439
1709
|
* @remarks
|
|
1440
|
-
*
|
|
1710
|
+
* The multiple cloud disk types for the system cloud disk. 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.
|
|
1441
1711
|
*/
|
|
1442
1712
|
systemDiskCategories?: string[];
|
|
1443
1713
|
/**
|
|
1444
1714
|
* @remarks
|
|
1445
|
-
* The type of the system cloud disk
|
|
1715
|
+
* The type of the node system cloud disk. Valid values:
|
|
1446
1716
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1447
1717
|
* - `cloud_ssd`: standard SSD.
|
|
1448
1718
|
* - `cloud_essd`: ESSD.
|
|
1449
|
-
* - `cloud_auto`: ESSD AutoPL.
|
|
1450
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1719
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1720
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1451
1721
|
*
|
|
1452
1722
|
* Default value: `cloud_efficiency`.
|
|
1453
1723
|
*
|
|
@@ -1467,6 +1737,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1467
1737
|
* @remarks
|
|
1468
1738
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1469
1739
|
*
|
|
1740
|
+
* - true: encrypts the system cloud disk.
|
|
1741
|
+
*
|
|
1742
|
+
* - false: does not encrypt the system cloud disk.
|
|
1743
|
+
*
|
|
1470
1744
|
* @example
|
|
1471
1745
|
* false
|
|
1472
1746
|
*/
|
|
@@ -1481,7 +1755,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1481
1755
|
systemDiskKmsKeyId?: string;
|
|
1482
1756
|
/**
|
|
1483
1757
|
* @remarks
|
|
1484
|
-
* The performance level of the system cloud disk
|
|
1758
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1759
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1760
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1761
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1762
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1485
1763
|
*
|
|
1486
1764
|
* @example
|
|
1487
1765
|
* PL1
|
|
@@ -1491,13 +1769,19 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1491
1769
|
* @remarks
|
|
1492
1770
|
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1493
1771
|
*
|
|
1772
|
+
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1773
|
+
*
|
|
1774
|
+
* 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).
|
|
1775
|
+
*
|
|
1494
1776
|
* @example
|
|
1495
1777
|
* 1000
|
|
1496
1778
|
*/
|
|
1497
1779
|
systemDiskProvisionedIops?: number;
|
|
1498
1780
|
/**
|
|
1499
1781
|
* @remarks
|
|
1500
|
-
* The size of the system cloud disk
|
|
1782
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1783
|
+
*
|
|
1784
|
+
* Valid values: [20,2048\\].
|
|
1501
1785
|
*
|
|
1502
1786
|
* @example
|
|
1503
1787
|
* 120
|
|
@@ -1505,7 +1789,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1505
1789
|
systemDiskSize?: number;
|
|
1506
1790
|
/**
|
|
1507
1791
|
* @remarks
|
|
1508
|
-
* The system cloud disk
|
|
1792
|
+
* The snapshot policy for the system cloud disk.
|
|
1509
1793
|
*
|
|
1510
1794
|
* @example
|
|
1511
1795
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1513,7 +1797,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1513
1797
|
systemDiskSnapshotPolicyId?: string;
|
|
1514
1798
|
/**
|
|
1515
1799
|
* @remarks
|
|
1516
|
-
* Tags
|
|
1800
|
+
* Tags added only to ECS instances.
|
|
1801
|
+
*
|
|
1802
|
+
* 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://".
|
|
1517
1803
|
*/
|
|
1518
1804
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1519
1805
|
/**
|
|
@@ -1693,7 +1979,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1693
1979
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1694
1980
|
/**
|
|
1695
1981
|
* @remarks
|
|
1696
|
-
* Specifies whether to enable
|
|
1982
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1983
|
+
*
|
|
1984
|
+
* - true: Enables confidential computing.
|
|
1985
|
+
*
|
|
1986
|
+
* - false: Does not enable confidential computing.
|
|
1697
1987
|
*
|
|
1698
1988
|
* @example
|
|
1699
1989
|
* true
|
|
@@ -1728,13 +2018,15 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1728
2018
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1729
2019
|
/**
|
|
1730
2020
|
* @remarks
|
|
1731
|
-
* The
|
|
2021
|
+
* The elastic scaling configuration.
|
|
1732
2022
|
*/
|
|
1733
2023
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1734
2024
|
/**
|
|
1735
2025
|
* @remarks
|
|
1736
2026
|
* **[Deprecated]** Use desired_size instead.
|
|
1737
2027
|
*
|
|
2028
|
+
* The number of nodes in the node pool.
|
|
2029
|
+
*
|
|
1738
2030
|
* @example
|
|
1739
2031
|
* null
|
|
1740
2032
|
*
|
|
@@ -1748,7 +2040,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1748
2040
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1749
2041
|
/**
|
|
1750
2042
|
* @remarks
|
|
1751
|
-
* Specifies whether the
|
|
2043
|
+
* Specifies whether the pod network mode uses host network mode.
|
|
2044
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
2045
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1752
2046
|
*
|
|
1753
2047
|
* @example
|
|
1754
2048
|
* true
|
|
@@ -1758,6 +2052,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1758
2052
|
* @remarks
|
|
1759
2053
|
* **[Deprecated]**
|
|
1760
2054
|
*
|
|
2055
|
+
* The edge node pool configuration.
|
|
2056
|
+
*
|
|
1761
2057
|
* @deprecated
|
|
1762
2058
|
*/
|
|
1763
2059
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
@@ -1765,6 +2061,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1765
2061
|
* @remarks
|
|
1766
2062
|
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1767
2063
|
*
|
|
2064
|
+
* - `basic`: Public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC private network.
|
|
2065
|
+
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
2066
|
+
*
|
|
1768
2067
|
* @example
|
|
1769
2068
|
* basic
|
|
1770
2069
|
*/
|
|
@@ -1772,6 +2071,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1772
2071
|
/**
|
|
1773
2072
|
* @remarks
|
|
1774
2073
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
2074
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
2075
|
+
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1775
2076
|
*
|
|
1776
2077
|
* @example
|
|
1777
2078
|
* true
|
|
@@ -1791,6 +2092,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1791
2092
|
* @remarks
|
|
1792
2093
|
* **[Deprecated]**
|
|
1793
2094
|
*
|
|
2095
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
2096
|
+
*
|
|
1794
2097
|
* @example
|
|
1795
2098
|
* null
|
|
1796
2099
|
*
|