@alicloud/cs20151215 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +26 -4
- package/dist/client.js +26 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +102 -107
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +121 -125
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +112 -95
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +106 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -4
- package/src/models/CreateClusterNodePoolRequest.ts +104 -107
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +123 -125
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +114 -95
- package/src/models/ModifyClusterNodePoolRequest.ts +108 -95
- package/src/models/Nodepool.ts +200 -196
|
@@ -52,9 +52,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
54
54
|
*
|
|
55
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet
|
|
55
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node elasticity by default. Clusters earlier than version 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
56
56
|
*
|
|
57
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count
|
|
57
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count to maintain the node count at the desired number.
|
|
58
58
|
*
|
|
59
59
|
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
60
60
|
*
|
|
@@ -64,10 +64,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
64
64
|
enable?: boolean;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Specifies whether an EIP
|
|
67
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* - `true`:
|
|
70
|
-
* - `false`:
|
|
69
|
+
* - `true`: Associate an EIP.
|
|
70
|
+
* - `false`: Do not associate an EIP.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* true
|
|
@@ -75,7 +75,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
75
75
|
isBondEip?: boolean;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The maximum number of instances
|
|
78
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 10
|
|
@@ -83,7 +83,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
83
83
|
maxInstances?: number;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The minimum number of instances
|
|
86
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* 2
|
|
@@ -95,7 +95,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
95
95
|
*
|
|
96
96
|
* - `cpu`: regular instance type.
|
|
97
97
|
* - `gpu`: GPU instance type.
|
|
98
|
-
* - `gpushare`: GPU
|
|
98
|
+
* - `gpushare`: GPU sharing type.
|
|
99
99
|
* - `spot`: spot instance type.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
@@ -114,6 +114,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool (not effective).
|
|
120
|
+
*/
|
|
117
121
|
autoAttachEnabled?: boolean;
|
|
118
122
|
/**
|
|
119
123
|
* @remarks
|
|
@@ -131,6 +135,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup
|
|
|
131
135
|
* i128147721760688002463
|
|
132
136
|
*/
|
|
133
137
|
groupId?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The worker RAM role used by the Lingjun node pool.
|
|
141
|
+
*/
|
|
134
142
|
workerRamRoleName?: string;
|
|
135
143
|
static names(): {
|
|
136
144
|
[key: string]: string;
|
|
@@ -221,8 +229,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
221
229
|
* @remarks
|
|
222
230
|
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
223
231
|
*
|
|
224
|
-
* - `static`:
|
|
225
|
-
* - `none`:
|
|
232
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
233
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
226
234
|
*
|
|
227
235
|
* @example
|
|
228
236
|
* none
|
|
@@ -237,10 +245,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
237
245
|
* @remarks
|
|
238
246
|
* The custom node name.
|
|
239
247
|
*
|
|
240
|
-
*
|
|
248
|
+
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
241
249
|
*
|
|
242
250
|
* - The prefix and suffix can each 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.
|
|
243
|
-
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5
|
|
251
|
+
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
244
252
|
*
|
|
245
253
|
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
246
254
|
*
|
|
@@ -260,9 +268,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
260
268
|
* @remarks
|
|
261
269
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
262
270
|
*
|
|
263
|
-
* - containerd:
|
|
264
|
-
* - Sandboxed-Container.runv:
|
|
265
|
-
* - docker:
|
|
271
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
272
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
273
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
266
274
|
*
|
|
267
275
|
* @example
|
|
268
276
|
* containerd
|
|
@@ -283,11 +291,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
283
291
|
taints?: Taint[];
|
|
284
292
|
/**
|
|
285
293
|
* @remarks
|
|
286
|
-
* Specifies whether
|
|
294
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
287
295
|
*
|
|
288
|
-
* - true:
|
|
296
|
+
* - true: unschedulable.
|
|
289
297
|
*
|
|
290
|
-
* - false:
|
|
298
|
+
* - false: schedulable.
|
|
291
299
|
*
|
|
292
300
|
* @example
|
|
293
301
|
* true
|
|
@@ -333,8 +341,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
333
341
|
* @remarks
|
|
334
342
|
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
|
|
335
343
|
*
|
|
336
|
-
* - `true`:
|
|
337
|
-
* - `false`:
|
|
344
|
+
* - `true`: Allow node restart.
|
|
345
|
+
* - `false`: Do not allow node restart.
|
|
338
346
|
*
|
|
339
347
|
* @example
|
|
340
348
|
* true
|
|
@@ -355,8 +363,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
355
363
|
/**
|
|
356
364
|
* @remarks
|
|
357
365
|
* Specifies whether automatic kubelet upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
358
|
-
* - `true`:
|
|
359
|
-
* - `false`:
|
|
366
|
+
* - `true`: Allow automatic kubelet upgrade.
|
|
367
|
+
* - `false`: Do not allow automatic kubelet upgrade.
|
|
360
368
|
*
|
|
361
369
|
* @example
|
|
362
370
|
* true
|
|
@@ -385,8 +393,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
385
393
|
/**
|
|
386
394
|
* @remarks
|
|
387
395
|
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
388
|
-
* - `true`:
|
|
389
|
-
* - `false`:
|
|
396
|
+
* - `true`: Allow node restart.
|
|
397
|
+
* - `false`: Do not allow node restart.
|
|
390
398
|
*
|
|
391
399
|
* @example
|
|
392
400
|
* true
|
|
@@ -418,10 +426,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
418
426
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
419
427
|
/**
|
|
420
428
|
* @remarks
|
|
421
|
-
* Specifies whether auto upgrade
|
|
429
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
422
430
|
*
|
|
423
|
-
* - `true`:
|
|
424
|
-
* - `false`:
|
|
431
|
+
* - `true`: Enable auto upgrade.
|
|
432
|
+
* - `false`: Disable auto upgrade.
|
|
425
433
|
*
|
|
426
434
|
* @example
|
|
427
435
|
* true
|
|
@@ -439,7 +447,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
439
447
|
maxUnavailable?: number;
|
|
440
448
|
/**
|
|
441
449
|
* @remarks
|
|
442
|
-
* The number of extra nodes.
|
|
450
|
+
* The number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
443
451
|
*
|
|
444
452
|
* @example
|
|
445
453
|
* 5
|
|
@@ -447,9 +455,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
447
455
|
surge?: number;
|
|
448
456
|
/**
|
|
449
457
|
* @remarks
|
|
450
|
-
* The percentage of extra nodes.
|
|
458
|
+
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
451
459
|
*
|
|
452
|
-
*
|
|
460
|
+
* Extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
453
461
|
*
|
|
454
462
|
* @example
|
|
455
463
|
* 50
|
|
@@ -467,13 +475,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
467
475
|
});
|
|
468
476
|
}
|
|
469
477
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
478
|
+
/**
|
|
479
|
+
* @remarks
|
|
480
|
+
* Indicates whether ECS fault detection for node self-healing is enabled.
|
|
481
|
+
*/
|
|
470
482
|
autoFaultDiagnosis?: boolean;
|
|
471
483
|
/**
|
|
472
484
|
* @remarks
|
|
473
|
-
* Specifies whether auto repair
|
|
485
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
474
486
|
*
|
|
475
|
-
* - `true`:
|
|
476
|
-
* - `false`:
|
|
487
|
+
* - `true`: Enable auto repair.
|
|
488
|
+
* - `false`: Disable auto repair.
|
|
477
489
|
*
|
|
478
490
|
* @example
|
|
479
491
|
* true
|
|
@@ -486,9 +498,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
486
498
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
487
499
|
/**
|
|
488
500
|
* @remarks
|
|
489
|
-
* Specifies whether
|
|
490
|
-
* - `true`:
|
|
491
|
-
* - `false`:
|
|
501
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
502
|
+
* - `true`: Enable auto upgrade.
|
|
503
|
+
* - `false`: Disable auto upgrade.
|
|
492
504
|
*
|
|
493
505
|
* @example
|
|
494
506
|
* true
|
|
@@ -501,10 +513,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
501
513
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
502
514
|
/**
|
|
503
515
|
* @remarks
|
|
504
|
-
* Specifies whether automatic CVE fix
|
|
516
|
+
* Specifies whether to enable automatic CVE fix. This parameter takes effect only when `enable=true`.
|
|
505
517
|
*
|
|
506
|
-
* - `true`:
|
|
507
|
-
* - `false`:
|
|
518
|
+
* - `true`: Enable automatic CVE fix.
|
|
519
|
+
* - `false`: Disable automatic CVE fix.
|
|
508
520
|
*
|
|
509
521
|
* @example
|
|
510
522
|
* true
|
|
@@ -515,12 +527,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
515
527
|
* The automatic CVE fix policy.
|
|
516
528
|
*/
|
|
517
529
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
530
|
+
driftEnabled?: boolean;
|
|
518
531
|
/**
|
|
519
532
|
* @remarks
|
|
520
|
-
* Specifies whether the managed node pool
|
|
533
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
521
534
|
*
|
|
522
|
-
* - `true`:
|
|
523
|
-
* - `false`:
|
|
535
|
+
* - `true`: Enable the managed node pool.
|
|
536
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
524
537
|
*
|
|
525
538
|
* @example
|
|
526
539
|
* true
|
|
@@ -545,7 +558,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
545
558
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
546
559
|
/**
|
|
547
560
|
* @remarks
|
|
548
|
-
* The node component
|
|
561
|
+
* The custom configuration of the node component.
|
|
549
562
|
*
|
|
550
563
|
* @example
|
|
551
564
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -571,6 +584,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
571
584
|
*/
|
|
572
585
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
573
586
|
/**
|
|
587
|
+
* @remarks
|
|
588
|
+
* The custom configuration revision number of the node component.
|
|
589
|
+
*
|
|
574
590
|
* @example
|
|
575
591
|
* 1
|
|
576
592
|
*/
|
|
@@ -605,7 +621,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
605
621
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
606
622
|
/**
|
|
607
623
|
* @remarks
|
|
608
|
-
* The
|
|
624
|
+
* The Hugepage configuration.
|
|
609
625
|
*/
|
|
610
626
|
hugepage?: Hugepage;
|
|
611
627
|
static names(): {
|
|
@@ -654,8 +670,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
654
670
|
* @remarks
|
|
655
671
|
* Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
656
672
|
*
|
|
657
|
-
* - `true`:
|
|
658
|
-
* - `false`:
|
|
673
|
+
* - `true`: Default node pool.
|
|
674
|
+
* - `false`: Non-default node pool.
|
|
659
675
|
*
|
|
660
676
|
* @example
|
|
661
677
|
* true
|
|
@@ -697,7 +713,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
697
713
|
* @remarks
|
|
698
714
|
* The node pool type. Valid values:
|
|
699
715
|
*
|
|
700
|
-
* - `ess`: standard node pool (includes managed and elastic scaling
|
|
716
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
701
717
|
* - `edge`: edge node pool.
|
|
702
718
|
* - `lingjun`: Lingjun node pool.
|
|
703
719
|
*
|
|
@@ -727,7 +743,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
727
743
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
728
744
|
/**
|
|
729
745
|
* @remarks
|
|
730
|
-
* The private pool ID, which is the elasticity assurance
|
|
746
|
+
* The private pool ID, which is the ID of the elasticity assurance or capacity reservation.
|
|
731
747
|
*
|
|
732
748
|
* @example
|
|
733
749
|
* eap-bp67acfmxazb4****
|
|
@@ -735,13 +751,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPr
|
|
|
735
751
|
id?: string;
|
|
736
752
|
/**
|
|
737
753
|
* @remarks
|
|
738
|
-
* 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
|
|
754
|
+
* 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 instances to select during launch. Valid values:
|
|
739
755
|
*
|
|
740
|
-
* - `Open`:
|
|
756
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
741
757
|
*
|
|
742
|
-
* - `Target`:
|
|
758
|
+
* - `Target`: specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
743
759
|
*
|
|
744
|
-
* - `None`:
|
|
760
|
+
* - `None`: not used mode. Instance launch does not use private pool capacity.
|
|
745
761
|
*
|
|
746
762
|
* @example
|
|
747
763
|
* Open
|
|
@@ -767,9 +783,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupRe
|
|
|
767
783
|
/**
|
|
768
784
|
* @remarks
|
|
769
785
|
* The resource pool policy used when creating instances. Valid values:
|
|
770
|
-
* PrivatePoolFirst:
|
|
771
|
-
* PrivatePoolOnly:
|
|
772
|
-
* None:
|
|
786
|
+
* PrivatePoolFirst: private pool first.
|
|
787
|
+
* PrivatePoolOnly: private pool only.
|
|
788
|
+
* None: no resource pool policy.
|
|
773
789
|
*
|
|
774
790
|
* @example
|
|
775
791
|
* PrivatePoolFirst
|
|
@@ -823,8 +839,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
823
839
|
* @remarks
|
|
824
840
|
* Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
825
841
|
*
|
|
826
|
-
* - `true`:
|
|
827
|
-
* - `false`:
|
|
842
|
+
* - `true`: Enable auto-renewal.
|
|
843
|
+
* - `false`: Disable auto-renewal.
|
|
828
844
|
*
|
|
829
845
|
* @example
|
|
830
846
|
* false
|
|
@@ -854,10 +870,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
854
870
|
cisEnabled?: boolean;
|
|
855
871
|
/**
|
|
856
872
|
* @remarks
|
|
857
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet
|
|
873
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
858
874
|
*
|
|
859
|
-
* - `true`:
|
|
860
|
-
* - `false`:
|
|
875
|
+
* - `true`: Allowed.
|
|
876
|
+
* - `false`: Not allowed.
|
|
861
877
|
*
|
|
862
878
|
* @example
|
|
863
879
|
* true
|
|
@@ -899,7 +915,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
899
915
|
imageId?: string;
|
|
900
916
|
/**
|
|
901
917
|
* @remarks
|
|
902
|
-
* The operating system image type.
|
|
918
|
+
* The operating system image type.
|
|
903
919
|
* - `AliyunLinux`: Alinux2 image.
|
|
904
920
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
905
921
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -941,10 +957,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
941
957
|
instanceTypes?: string[];
|
|
942
958
|
/**
|
|
943
959
|
* @remarks
|
|
944
|
-
* The billing
|
|
960
|
+
* The billing method for the public IP address of nodes.
|
|
945
961
|
*
|
|
946
|
-
* - PayByBandwidth:
|
|
947
|
-
* - PayByTraffic: pay-by-traffic.
|
|
962
|
+
* - PayByBandwidth: billed on a fixed bandwidth basis.
|
|
963
|
+
* - PayByTraffic: billed on a pay-by-traffic basis.
|
|
948
964
|
*
|
|
949
965
|
* @example
|
|
950
966
|
* PayByBandwidth
|
|
@@ -952,7 +968,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
952
968
|
internetChargeType?: string;
|
|
953
969
|
/**
|
|
954
970
|
* @remarks
|
|
955
|
-
* The maximum outbound
|
|
971
|
+
* The maximum outbound bandwidth for the public IP address of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
956
972
|
*
|
|
957
973
|
* @example
|
|
958
974
|
* 10
|
|
@@ -960,7 +976,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
960
976
|
internetMaxBandwidthOut?: number;
|
|
961
977
|
/**
|
|
962
978
|
* @remarks
|
|
963
|
-
* The key pair name.
|
|
979
|
+
* The key pair name. Mutually exclusive with `login_password`.
|
|
964
980
|
*
|
|
965
981
|
* For managed node pools, only `key_pair` is supported.
|
|
966
982
|
*
|
|
@@ -970,11 +986,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
970
986
|
keyPair?: string;
|
|
971
987
|
/**
|
|
972
988
|
* @remarks
|
|
973
|
-
* Specifies whether
|
|
989
|
+
* Specifies whether scaled-out ECS instances use non-root user login.
|
|
974
990
|
*
|
|
975
991
|
* - true: Log on as a non-root user (ecs-user).
|
|
976
992
|
*
|
|
977
993
|
* - false: Log on as the root user.
|
|
994
|
+
* [_single.resp.200.props.nodepools.items.scaling_
|
|
978
995
|
*
|
|
979
996
|
* @example
|
|
980
997
|
* true
|
|
@@ -982,7 +999,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
982
999
|
loginAsNonRoot?: boolean;
|
|
983
1000
|
/**
|
|
984
1001
|
* @remarks
|
|
985
|
-
* The SSH login password.
|
|
1002
|
+
* The SSH login password. Mutually exclusive with `key_pair`. Logon 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.
|
|
986
1003
|
*
|
|
987
1004
|
* For security purposes, logon password is encrypted in query results.
|
|
988
1005
|
*
|
|
@@ -996,11 +1013,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
996
1013
|
*
|
|
997
1014
|
* - `PRIORITY`: Scales 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 next-priority vSwitch to create ECS instances.
|
|
998
1015
|
*
|
|
999
|
-
* - `COST_OPTIMIZED`: Creates instances based on the unit price of vCPUs,
|
|
1016
|
+
* - `COST_OPTIMIZED`: Creates instances based on the unit price of vCPUs, from low to high. When the scaling configuration settings specify multiple instance types with preemptible billing methods, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1000
1017
|
*
|
|
1001
|
-
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or
|
|
1018
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
1002
1019
|
*
|
|
1003
|
-
* - `BALANCE`:
|
|
1020
|
+
* - `BALANCE`: Distributes ECS instances evenly across the active zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to allocate resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1004
1021
|
*
|
|
1005
1022
|
* @example
|
|
1006
1023
|
* COST_OPTIMIZED
|
|
@@ -1008,7 +1025,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1008
1025
|
multiAzPolicy?: string;
|
|
1009
1026
|
/**
|
|
1010
1027
|
* @remarks
|
|
1011
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1028
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value.
|
|
1012
1029
|
*
|
|
1013
1030
|
* @example
|
|
1014
1031
|
* 0
|
|
@@ -1016,7 +1033,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1016
1033
|
onDemandBaseCapacity?: number;
|
|
1017
1034
|
/**
|
|
1018
1035
|
* @remarks
|
|
1019
|
-
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1036
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1020
1037
|
*
|
|
1021
1038
|
* @example
|
|
1022
1039
|
* 20
|
|
@@ -1037,8 +1054,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1037
1054
|
* @remarks
|
|
1038
1055
|
* The subscription period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1039
1056
|
*
|
|
1040
|
-
* - `Month`: month
|
|
1041
|
-
* - `Week`: week
|
|
1057
|
+
* - `Month`: month.
|
|
1058
|
+
* - `Week`: week.
|
|
1042
1059
|
*
|
|
1043
1060
|
* @example
|
|
1044
1061
|
* Month
|
|
@@ -1082,7 +1099,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1082
1099
|
ramRoleName?: string;
|
|
1083
1100
|
/**
|
|
1084
1101
|
* @remarks
|
|
1085
|
-
* If
|
|
1102
|
+
* If RDS instances are specified, the ECS instances in the cluster node are automatically added to the whitelist of the RDS instances.
|
|
1086
1103
|
*/
|
|
1087
1104
|
rdsInstances?: string[];
|
|
1088
1105
|
/**
|
|
@@ -1102,8 +1119,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1102
1119
|
* @remarks
|
|
1103
1120
|
* The scaling group mode. Valid values:
|
|
1104
1121
|
*
|
|
1105
|
-
* - `release`:
|
|
1106
|
-
* - `recycle`:
|
|
1122
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1123
|
+
* - `recycle`: swift mode. Scales 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.
|
|
1107
1124
|
*
|
|
1108
1125
|
* @example
|
|
1109
1126
|
* release
|
|
@@ -1126,7 +1143,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1126
1143
|
securityGroupIds?: string[];
|
|
1127
1144
|
/**
|
|
1128
1145
|
* @remarks
|
|
1129
|
-
* Specifies whether Alibaba Cloud OS security hardening
|
|
1146
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1130
1147
|
*
|
|
1131
1148
|
* - `true`: Enabled.
|
|
1132
1149
|
* - `false`: Disabled.
|
|
@@ -1139,7 +1156,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1139
1156
|
securityHardeningOs?: boolean;
|
|
1140
1157
|
/**
|
|
1141
1158
|
* @remarks
|
|
1142
|
-
* Specifies whether MLPS 2.0 security hardening
|
|
1159
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1143
1160
|
*
|
|
1144
1161
|
* @example
|
|
1145
1162
|
* false
|
|
@@ -1147,7 +1164,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1147
1164
|
socEnabled?: boolean;
|
|
1148
1165
|
/**
|
|
1149
1166
|
* @remarks
|
|
1150
|
-
* The number of
|
|
1167
|
+
* The number of active instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10\\].
|
|
1151
1168
|
*
|
|
1152
1169
|
* @example
|
|
1153
1170
|
* 5
|
|
@@ -1155,10 +1172,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1155
1172
|
spotInstancePools?: number;
|
|
1156
1173
|
/**
|
|
1157
1174
|
* @remarks
|
|
1158
|
-
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1175
|
+
* Specifies whether to enable supplementing of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1159
1176
|
*
|
|
1160
|
-
* - `true`:
|
|
1161
|
-
* - `false`:
|
|
1177
|
+
* - `true`: Enabled.
|
|
1178
|
+
* - `false`: Disabled.
|
|
1162
1179
|
*
|
|
1163
1180
|
* @example
|
|
1164
1181
|
* false
|
|
@@ -1214,7 +1231,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1214
1231
|
systemDiskCategory?: string;
|
|
1215
1232
|
/**
|
|
1216
1233
|
* @remarks
|
|
1217
|
-
* The encryption algorithm used
|
|
1234
|
+
* The encryption algorithm used for the system cloud disk. Valid values: aes-256.
|
|
1218
1235
|
*
|
|
1219
1236
|
* @example
|
|
1220
1237
|
* aes-256
|
|
@@ -1233,7 +1250,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1233
1250
|
systemDiskEncrypted?: boolean;
|
|
1234
1251
|
/**
|
|
1235
1252
|
* @remarks
|
|
1236
|
-
* The KMS key ID used
|
|
1253
|
+
* The KMS key ID used for the system cloud disk.
|
|
1237
1254
|
*
|
|
1238
1255
|
* @example
|
|
1239
1256
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1241,7 +1258,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1241
1258
|
systemDiskKmsKeyId?: string;
|
|
1242
1259
|
/**
|
|
1243
1260
|
* @remarks
|
|
1244
|
-
* The node system cloud disk
|
|
1261
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1245
1262
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1246
1263
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1247
1264
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1253,7 +1270,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1253
1270
|
systemDiskPerformanceLevel?: string;
|
|
1254
1271
|
/**
|
|
1255
1272
|
* @remarks
|
|
1256
|
-
* The provisioned read/write IOPS for the node system cloud disk. This parameter is
|
|
1273
|
+
* The provisioned read/write IOPS for the node system cloud disk. This parameter is configured when the disk type is cloud_auto.
|
|
1257
1274
|
*
|
|
1258
1275
|
* @example
|
|
1259
1276
|
* 1000
|
|
@@ -1261,7 +1278,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1261
1278
|
systemDiskProvisionedIops?: number;
|
|
1262
1279
|
/**
|
|
1263
1280
|
* @remarks
|
|
1264
|
-
* The node system cloud disk size
|
|
1281
|
+
* The node system cloud disk size, in GiB.
|
|
1265
1282
|
*
|
|
1266
1283
|
* Valid values: [20,2048\\].
|
|
1267
1284
|
*
|
|
@@ -1271,7 +1288,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1271
1288
|
systemDiskSize?: number;
|
|
1272
1289
|
/**
|
|
1273
1290
|
* @remarks
|
|
1274
|
-
* The
|
|
1291
|
+
* The system cloud disk snapshot policy.
|
|
1275
1292
|
*
|
|
1276
1293
|
* @example
|
|
1277
1294
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1279,7 +1296,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1279
1296
|
systemDiskSnapshotPolicyId?: string;
|
|
1280
1297
|
/**
|
|
1281
1298
|
* @remarks
|
|
1282
|
-
* The ECS instance
|
|
1299
|
+
* The ECS instance tags.
|
|
1283
1300
|
*/
|
|
1284
1301
|
tags?: Tag[];
|
|
1285
1302
|
/**
|
|
@@ -1349,7 +1366,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends
|
|
|
1349
1366
|
servingNodes?: number;
|
|
1350
1367
|
/**
|
|
1351
1368
|
* @remarks
|
|
1352
|
-
* The node pool
|
|
1369
|
+
* The node pool state. Valid values:
|
|
1353
1370
|
*
|
|
1354
1371
|
* - `active`: Active.
|
|
1355
1372
|
* - `scaling`: Scaling.
|
|
@@ -1430,8 +1447,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1430
1447
|
* @remarks
|
|
1431
1448
|
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1432
1449
|
*
|
|
1433
|
-
* - `basic`:
|
|
1434
|
-
* - `private`:
|
|
1450
|
+
* - `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 internal network.
|
|
1451
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud through leased lines, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1435
1452
|
*
|
|
1436
1453
|
* @example
|
|
1437
1454
|
* basic
|
|
@@ -1472,7 +1489,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1472
1489
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
1473
1490
|
/**
|
|
1474
1491
|
* @remarks
|
|
1475
|
-
* The
|
|
1492
|
+
* The scaling group configuration of the node pool.
|
|
1476
1493
|
*/
|
|
1477
1494
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
1478
1495
|
/**
|
|
@@ -288,6 +288,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Mode
|
|
|
288
288
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
289
289
|
autoVulFix: 'auto_vul_fix',
|
|
290
290
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
291
|
+
driftEnabled: 'drift_enabled',
|
|
291
292
|
enable: 'enable',
|
|
292
293
|
upgradeConfig: 'upgrade_config',
|
|
293
294
|
};
|
|
@@ -301,6 +302,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Mode
|
|
|
301
302
|
autoUpgradePolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy,
|
|
302
303
|
autoVulFix: 'boolean',
|
|
303
304
|
autoVulFixPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy,
|
|
305
|
+
driftEnabled: 'boolean',
|
|
304
306
|
enable: 'boolean',
|
|
305
307
|
upgradeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig,
|
|
306
308
|
};
|