@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
|
@@ -11,7 +11,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
-
* The peak EIP
|
|
14
|
+
* The peak bandwidth of the EIP.
|
|
15
15
|
*
|
|
16
16
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
17
17
|
*
|
|
@@ -28,7 +28,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
28
28
|
* The EIP billing type. Valid values:
|
|
29
29
|
*
|
|
30
30
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-
|
|
31
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
32
32
|
*
|
|
33
33
|
* Default value: `PayByBandwidth`.
|
|
34
34
|
*
|
|
@@ -42,9 +42,9 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
42
42
|
* @remarks
|
|
43
43
|
* Specifies whether to enable auto scaling. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* - `true`:
|
|
45
|
+
* - `true`: enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
46
46
|
*
|
|
47
|
-
* - `false`:
|
|
47
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
48
48
|
*
|
|
49
49
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
50
50
|
*
|
|
@@ -58,8 +58,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
58
58
|
* @remarks
|
|
59
59
|
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
60
60
|
*
|
|
61
|
-
* - `true`:
|
|
62
|
-
* - `false`:
|
|
61
|
+
* - `true`: associates an EIP.
|
|
62
|
+
* - `false`: does not associate an EIP.
|
|
63
63
|
*
|
|
64
64
|
* Default value: `false`.
|
|
65
65
|
*
|
|
@@ -71,7 +71,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
71
71
|
isBondEip?: boolean;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The maximum number of instances that can be scaled in the node pool, excluding
|
|
74
|
+
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
75
75
|
*
|
|
76
76
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
77
77
|
*
|
|
@@ -81,12 +81,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
81
81
|
maxInstances?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The minimum number of instances that can be scaled in the node pool, excluding
|
|
84
|
+
* The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
85
85
|
*
|
|
86
86
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
87
87
|
*
|
|
88
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
89
|
-
* > -
|
|
88
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after the settings take effect.
|
|
89
|
+
* > - Make sure that the maximum number of instances is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* 2
|
|
@@ -143,6 +143,10 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
|
|
149
|
+
*/
|
|
146
150
|
autoAttachEnabled?: string;
|
|
147
151
|
static names(): { [key: string]: string } {
|
|
148
152
|
return {
|
|
@@ -168,10 +172,10 @@ export class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
168
172
|
export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
169
173
|
/**
|
|
170
174
|
* @remarks
|
|
171
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
175
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
172
176
|
*
|
|
173
|
-
* - `true`:
|
|
174
|
-
* - `false`:
|
|
177
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
178
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
175
179
|
*
|
|
176
180
|
* Default value: `false`.
|
|
177
181
|
*
|
|
@@ -181,9 +185,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
181
185
|
cmsEnabled?: boolean;
|
|
182
186
|
/**
|
|
183
187
|
* @remarks
|
|
184
|
-
* The CPU management policy
|
|
188
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
185
189
|
*
|
|
186
|
-
* - `static`: allows pods with certain resource characteristics on the node
|
|
190
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
187
191
|
* - `none`: enables the existing default CPU affinity scheme.
|
|
188
192
|
*
|
|
189
193
|
* Default value: `none`.
|
|
@@ -194,7 +198,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
194
198
|
cpuPolicy?: string;
|
|
195
199
|
/**
|
|
196
200
|
* @remarks
|
|
197
|
-
* The node labels
|
|
201
|
+
* The node labels added to Kubernetes cluster nodes. Label definition rules:
|
|
198
202
|
*
|
|
199
203
|
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
200
204
|
* - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Neither label keys nor label values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
@@ -214,7 +218,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
214
218
|
nodeNameMode?: string;
|
|
215
219
|
/**
|
|
216
220
|
* @remarks
|
|
217
|
-
* The pre-user data
|
|
221
|
+
* The pre-instance user data. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
218
222
|
*
|
|
219
223
|
* @example
|
|
220
224
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -224,9 +228,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
224
228
|
* @remarks
|
|
225
229
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
226
230
|
*
|
|
227
|
-
* - containerd: recommended
|
|
228
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation
|
|
229
|
-
* - docker: no longer maintained
|
|
231
|
+
* - containerd: recommended, supports all cluster versions.
|
|
232
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation, supports cluster versions 1.31 and earlier.
|
|
233
|
+
* - docker: no longer maintained, supports cluster versions 1.22 and earlier.
|
|
230
234
|
*
|
|
231
235
|
* Default value: containerd.
|
|
232
236
|
*
|
|
@@ -249,7 +253,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
249
253
|
taints?: Taint[];
|
|
250
254
|
/**
|
|
251
255
|
* @remarks
|
|
252
|
-
* Specifies whether the nodes added
|
|
256
|
+
* Specifies whether the nodes added after scale-out are unschedulable. Valid values:
|
|
253
257
|
*
|
|
254
258
|
* - true: unschedulable.
|
|
255
259
|
*
|
|
@@ -261,7 +265,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
261
265
|
unschedulable?: boolean;
|
|
262
266
|
/**
|
|
263
267
|
* @remarks
|
|
264
|
-
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User
|
|
268
|
+
* 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).
|
|
265
269
|
*
|
|
266
270
|
* @example
|
|
267
271
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -330,8 +334,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
330
334
|
* @remarks
|
|
331
335
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
332
336
|
*
|
|
333
|
-
* - `true`:
|
|
334
|
-
* - `false`:
|
|
337
|
+
* - `true`: allows node restart.
|
|
338
|
+
* - `false`: does not allow node restart.
|
|
335
339
|
*
|
|
336
340
|
* Default value: `true`.
|
|
337
341
|
*
|
|
@@ -368,8 +372,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
368
372
|
/**
|
|
369
373
|
* @remarks
|
|
370
374
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
371
|
-
* - `true`:
|
|
372
|
-
* - `false`:
|
|
375
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
376
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
373
377
|
*
|
|
374
378
|
* Default value: `true`.
|
|
375
379
|
*
|
|
@@ -380,8 +384,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
380
384
|
/**
|
|
381
385
|
* @remarks
|
|
382
386
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
383
|
-
* - `true`:
|
|
384
|
-
* - `false`:
|
|
387
|
+
* - `true`: allows automatic OS upgrade.
|
|
388
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
385
389
|
*
|
|
386
390
|
* Default value: `false`.
|
|
387
391
|
*
|
|
@@ -392,8 +396,8 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
392
396
|
/**
|
|
393
397
|
* @remarks
|
|
394
398
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
395
|
-
* - `true`:
|
|
396
|
-
* - `false`:
|
|
399
|
+
* - `true`: allows automatic runtime upgrade.
|
|
400
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
397
401
|
*
|
|
398
402
|
* Default value: `true`.
|
|
399
403
|
*
|
|
@@ -440,8 +444,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
440
444
|
/**
|
|
441
445
|
* @remarks
|
|
442
446
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
443
|
-
* - `true`:
|
|
444
|
-
* - `false`:
|
|
447
|
+
* - `true`: allows node restart.
|
|
448
|
+
* - `false`: does not allow node restart.
|
|
445
449
|
*
|
|
446
450
|
* Default value: `true`.
|
|
447
451
|
*
|
|
@@ -495,8 +499,8 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
495
499
|
*
|
|
496
500
|
* Specifies whether to enable auto upgrade:
|
|
497
501
|
*
|
|
498
|
-
* - true:
|
|
499
|
-
* - false:
|
|
502
|
+
* - true: enables auto upgrade.
|
|
503
|
+
* - false: disables auto upgrade.
|
|
500
504
|
*
|
|
501
505
|
* Default value: `true`.
|
|
502
506
|
*
|
|
@@ -568,14 +572,18 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
568
572
|
}
|
|
569
573
|
|
|
570
574
|
export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
575
|
+
/**
|
|
576
|
+
* @remarks
|
|
577
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
578
|
+
*/
|
|
571
579
|
autoFaultDiagnosis?: boolean;
|
|
572
580
|
/**
|
|
573
581
|
* @remarks
|
|
574
582
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
575
583
|
*
|
|
576
|
-
* - `true`:
|
|
584
|
+
* - `true`: enables auto repair.
|
|
577
585
|
*
|
|
578
|
-
* - `false`:
|
|
586
|
+
* - `false`: disables auto repair.
|
|
579
587
|
*
|
|
580
588
|
* Default value: `true`.
|
|
581
589
|
*
|
|
@@ -591,8 +599,8 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
591
599
|
/**
|
|
592
600
|
* @remarks
|
|
593
601
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
594
|
-
* - `true`:
|
|
595
|
-
* - `false`:
|
|
602
|
+
* - `true`: enables auto upgrade.
|
|
603
|
+
* - `false`: disables auto upgrade.
|
|
596
604
|
*
|
|
597
605
|
* Default value: `true`.
|
|
598
606
|
*
|
|
@@ -609,8 +617,8 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
609
617
|
* @remarks
|
|
610
618
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
611
619
|
*
|
|
612
|
-
* - `true`:
|
|
613
|
-
* - `false`:
|
|
620
|
+
* - `true`: allows automatic CVE fixing.
|
|
621
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
614
622
|
*
|
|
615
623
|
* Default value: `true`.
|
|
616
624
|
*
|
|
@@ -623,12 +631,13 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
623
631
|
* The auto CVE fix policy.
|
|
624
632
|
*/
|
|
625
633
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
634
|
+
driftEnabled?: boolean;
|
|
626
635
|
/**
|
|
627
636
|
* @remarks
|
|
628
637
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
629
638
|
*
|
|
630
|
-
* - `true`:
|
|
631
|
-
* - `false`:
|
|
639
|
+
* - `true`: enables the managed node pool.
|
|
640
|
+
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
632
641
|
*
|
|
633
642
|
* Default value: `false`.
|
|
634
643
|
*
|
|
@@ -654,6 +663,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
654
663
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
655
664
|
autoVulFix: 'auto_vul_fix',
|
|
656
665
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
666
|
+
driftEnabled: 'drift_enabled',
|
|
657
667
|
enable: 'enable',
|
|
658
668
|
upgradeConfig: 'upgrade_config',
|
|
659
669
|
};
|
|
@@ -668,6 +678,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
668
678
|
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
669
679
|
autoVulFix: 'boolean',
|
|
670
680
|
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
681
|
+
driftEnabled: 'boolean',
|
|
671
682
|
enable: 'boolean',
|
|
672
683
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
673
684
|
};
|
|
@@ -749,10 +760,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
749
760
|
id?: string;
|
|
750
761
|
/**
|
|
751
762
|
* @remarks
|
|
752
|
-
* The private node pool type
|
|
753
|
-
* - `Open`: open mode.
|
|
754
|
-
* - `Target`:
|
|
755
|
-
* - `None`:
|
|
763
|
+
* The private node pool type and private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
764
|
+
* - `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.
|
|
765
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
766
|
+
* - `None`: none mode. Instance launch does not use private pool capacity.
|
|
756
767
|
*
|
|
757
768
|
* @example
|
|
758
769
|
* Open
|
|
@@ -784,16 +795,12 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
784
795
|
export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
785
796
|
/**
|
|
786
797
|
* @remarks
|
|
787
|
-
* The list of private pool IDs, which are
|
|
798
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
788
799
|
*/
|
|
789
800
|
privatePoolIds?: string[];
|
|
790
801
|
/**
|
|
791
802
|
* @remarks
|
|
792
|
-
* The resource pool
|
|
793
|
-
* PrivatePoolFirst: private pool first. When this policy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pool capacity is automatically matched. If no matching private pool is available, public pool resources are used.
|
|
794
|
-
* PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
795
|
-
* None: no resource pool policy is used.
|
|
796
|
-
* Default value: None.
|
|
803
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launches. Valid values: PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances. PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, instance launch fails. None: no resource pool strategy. Default value: None.
|
|
797
804
|
*
|
|
798
805
|
* @example
|
|
799
806
|
* PrivatePoolFirst
|
|
@@ -876,8 +883,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
876
883
|
* @remarks
|
|
877
884
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
878
885
|
*
|
|
879
|
-
* - `true`:
|
|
880
|
-
* - `false`:
|
|
886
|
+
* - `true`: enables auto-renewal.
|
|
887
|
+
* - `false`: disables auto-renewal.
|
|
881
888
|
*
|
|
882
889
|
* Default value: `false`.
|
|
883
890
|
*
|
|
@@ -887,7 +894,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
887
894
|
autoRenew?: boolean;
|
|
888
895
|
/**
|
|
889
896
|
* @remarks
|
|
890
|
-
* The auto-renewal period
|
|
897
|
+
* The auto-renewal period. Valid values:
|
|
891
898
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
892
899
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
893
900
|
*
|
|
@@ -899,7 +906,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
899
906
|
autoRenewPeriod?: number;
|
|
900
907
|
/**
|
|
901
908
|
* @remarks
|
|
902
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances if spot instances cannot be created due to
|
|
909
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
903
910
|
*
|
|
904
911
|
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
905
912
|
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
@@ -910,12 +917,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
910
917
|
compensateWithOnDemand?: boolean;
|
|
911
918
|
/**
|
|
912
919
|
* @remarks
|
|
913
|
-
* The
|
|
920
|
+
* The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
914
921
|
*/
|
|
915
922
|
dataDisks?: DataDisk[];
|
|
916
923
|
/**
|
|
917
924
|
* @remarks
|
|
918
|
-
* The deployment set
|
|
925
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
919
926
|
*
|
|
920
927
|
* @example
|
|
921
928
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -925,9 +932,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
925
932
|
* @remarks
|
|
926
933
|
* The desired number of nodes in the node pool.
|
|
927
934
|
*
|
|
928
|
-
* The total number of nodes that the node pool should maintain.
|
|
935
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
929
936
|
*
|
|
930
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the
|
|
937
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
931
938
|
*
|
|
932
939
|
* @example
|
|
933
940
|
* 2
|
|
@@ -948,7 +955,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
948
955
|
imageId?: string;
|
|
949
956
|
/**
|
|
950
957
|
* @remarks
|
|
951
|
-
* The operating system distribution type.
|
|
958
|
+
* The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
|
|
952
959
|
*
|
|
953
960
|
* - `AliyunLinux`: Alinux2 image.
|
|
954
961
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -985,7 +992,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
985
992
|
instancePatterns?: InstancePatterns[];
|
|
986
993
|
/**
|
|
987
994
|
* @remarks
|
|
988
|
-
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The
|
|
995
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual purchased instance type may vary depending on inventory availability.
|
|
989
996
|
*
|
|
990
997
|
* Supported number of instance types: [1,10].
|
|
991
998
|
*/
|
|
@@ -995,7 +1002,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
995
1002
|
* The billing type for public IP addresses. Valid values:
|
|
996
1003
|
*
|
|
997
1004
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
998
|
-
* - `PayByTraffic`: pay-by-
|
|
1005
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
999
1006
|
*
|
|
1000
1007
|
* @example
|
|
1001
1008
|
* PayByBandwidth
|
|
@@ -1003,7 +1010,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1003
1010
|
internetChargeType?: string;
|
|
1004
1011
|
/**
|
|
1005
1012
|
* @remarks
|
|
1006
|
-
* The maximum outbound bandwidth for node public IP
|
|
1013
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1007
1014
|
*
|
|
1008
1015
|
* @example
|
|
1009
1016
|
* 5
|
|
@@ -1029,13 +1036,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1029
1036
|
* @remarks
|
|
1030
1037
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1031
1038
|
*
|
|
1032
|
-
* - `PRIORITY`:
|
|
1039
|
+
* - `PRIORITY`: scales instances based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1033
1040
|
*
|
|
1034
|
-
* - `COST_OPTIMIZED`:
|
|
1041
|
+
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1035
1042
|
*
|
|
1036
|
-
* > `COST_OPTIMIZED` takes effect only when
|
|
1043
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
1037
1044
|
*
|
|
1038
|
-
* - `BALANCE`:
|
|
1045
|
+
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1039
1046
|
*
|
|
1040
1047
|
* Default value: `PRIORITY`.
|
|
1041
1048
|
*
|
|
@@ -1045,7 +1052,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1045
1052
|
multiAzPolicy?: string;
|
|
1046
1053
|
/**
|
|
1047
1054
|
* @remarks
|
|
1048
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
1055
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1049
1056
|
*
|
|
1050
1057
|
* @example
|
|
1051
1058
|
* 0
|
|
@@ -1054,6 +1061,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1054
1061
|
/**
|
|
1055
1062
|
* @remarks
|
|
1056
1063
|
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1064
|
+
* [_single.params.body.props.scaling_group.spot
|
|
1057
1065
|
*
|
|
1058
1066
|
* @example
|
|
1059
1067
|
* 20
|
|
@@ -1072,10 +1080,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1072
1080
|
period?: number;
|
|
1073
1081
|
/**
|
|
1074
1082
|
* @remarks
|
|
1075
|
-
* The billing
|
|
1083
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1076
1084
|
*
|
|
1077
|
-
* - `Month`:
|
|
1078
|
-
* - `Week`:
|
|
1085
|
+
* - `Month`: uses month as the billing unit.
|
|
1086
|
+
* - `Week`: uses week as the billing unit.
|
|
1079
1087
|
*
|
|
1080
1088
|
* Default value: `Month`.
|
|
1081
1089
|
*
|
|
@@ -1085,7 +1093,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1085
1093
|
periodUnit?: string;
|
|
1086
1094
|
/**
|
|
1087
1095
|
* @remarks
|
|
1088
|
-
* **This
|
|
1096
|
+
* **This field is deprecated.** Use the `image_type` parameter instead.
|
|
1089
1097
|
*
|
|
1090
1098
|
* The operating system platform. Valid values:
|
|
1091
1099
|
*
|
|
@@ -1112,9 +1120,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1112
1120
|
rdsInstances?: string[];
|
|
1113
1121
|
/**
|
|
1114
1122
|
* @remarks
|
|
1115
|
-
* The resource
|
|
1116
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1117
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1123
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter: This parameter takes effect only when creating pay-as-you-go instances. This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1118
1124
|
*/
|
|
1119
1125
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1120
1126
|
/**
|
|
@@ -1122,7 +1128,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1122
1128
|
* The scaling group mode. Valid values:
|
|
1123
1129
|
*
|
|
1124
1130
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1125
|
-
* - `recycle`:
|
|
1131
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.)
|
|
1126
1132
|
*
|
|
1127
1133
|
* @example
|
|
1128
1134
|
* release
|
|
@@ -1135,7 +1141,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1135
1141
|
securityGroupIds?: string[];
|
|
1136
1142
|
/**
|
|
1137
1143
|
* @remarks
|
|
1138
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1144
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1139
1145
|
*
|
|
1140
1146
|
* @example
|
|
1141
1147
|
* 5
|
|
@@ -1143,7 +1149,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1143
1149
|
spotInstancePools?: number;
|
|
1144
1150
|
/**
|
|
1145
1151
|
* @remarks
|
|
1146
|
-
* Specifies whether to enable spot instance
|
|
1152
|
+
* Specifies whether to enable supplementing spot instances. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1153
|
+
*
|
|
1154
|
+
* - `true`: Enables supplementing spot instances.
|
|
1155
|
+
* - `false`: Disables supplementing spot instances.
|
|
1147
1156
|
*
|
|
1148
1157
|
* @example
|
|
1149
1158
|
* false
|
|
@@ -1151,7 +1160,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1151
1160
|
spotInstanceRemedy?: boolean;
|
|
1152
1161
|
/**
|
|
1153
1162
|
* @remarks
|
|
1154
|
-
* The
|
|
1163
|
+
* The price limit configuration for spot instances.
|
|
1155
1164
|
*/
|
|
1156
1165
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1157
1166
|
/**
|
|
@@ -1159,8 +1168,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1159
1168
|
* The spot instance type. Valid values:
|
|
1160
1169
|
*
|
|
1161
1170
|
* - `NoSpot`: non-spot instance.
|
|
1162
|
-
* - `SpotWithPriceLimit`:
|
|
1163
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1171
|
+
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1172
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1164
1173
|
*
|
|
1165
1174
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1166
1175
|
*
|
|
@@ -1171,8 +1180,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1171
1180
|
/**
|
|
1172
1181
|
* @remarks
|
|
1173
1182
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1174
|
-
* - true:
|
|
1175
|
-
* - false:
|
|
1183
|
+
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
1184
|
+
* - false: disables burst.
|
|
1176
1185
|
*
|
|
1177
1186
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1178
1187
|
*
|
|
@@ -1182,12 +1191,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1182
1191
|
systemDiskBurstingEnabled?: boolean;
|
|
1183
1192
|
/**
|
|
1184
1193
|
* @remarks
|
|
1185
|
-
*
|
|
1194
|
+
* Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
1186
1195
|
*/
|
|
1187
1196
|
systemDiskCategories?: string[];
|
|
1188
1197
|
/**
|
|
1189
1198
|
* @remarks
|
|
1190
|
-
* The node system cloud disk
|
|
1199
|
+
* The type of the node system cloud disk. Valid values:
|
|
1191
1200
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1192
1201
|
* - `cloud_ssd`: standard SSD.
|
|
1193
1202
|
* - `cloud_essd`: ESSD.
|
|
@@ -1212,9 +1221,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1212
1221
|
* @remarks
|
|
1213
1222
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1214
1223
|
*
|
|
1215
|
-
* - true:
|
|
1224
|
+
* - true: encrypts the system cloud disk.
|
|
1216
1225
|
*
|
|
1217
|
-
* - false:
|
|
1226
|
+
* - false: does not encrypt the system cloud disk.
|
|
1218
1227
|
*
|
|
1219
1228
|
* @example
|
|
1220
1229
|
* false
|
|
@@ -1230,11 +1239,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1230
1239
|
systemDiskKmsKeyId?: string;
|
|
1231
1240
|
/**
|
|
1232
1241
|
* @remarks
|
|
1233
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [
|
|
1242
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1234
1243
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1235
1244
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1236
1245
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1237
|
-
* - PL3:
|
|
1246
|
+
* - PL3: extremely high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1238
1247
|
*
|
|
1239
1248
|
* @example
|
|
1240
1249
|
* PL1
|
|
@@ -1244,7 +1253,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1244
1253
|
* @remarks
|
|
1245
1254
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1246
1255
|
*
|
|
1247
|
-
* Valid values: 0~min{50,000, 1000
|
|
1256
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1248
1257
|
*
|
|
1249
1258
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1250
1259
|
*
|
|
@@ -1254,7 +1263,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1254
1263
|
systemDiskProvisionedIops?: number;
|
|
1255
1264
|
/**
|
|
1256
1265
|
* @remarks
|
|
1257
|
-
* The node system cloud disk
|
|
1266
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1258
1267
|
*
|
|
1259
1268
|
* Valid values: [20,2048\\].
|
|
1260
1269
|
*
|
|
@@ -1276,7 +1285,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1276
1285
|
systemDiskSnapshotPolicyId?: string;
|
|
1277
1286
|
/**
|
|
1278
1287
|
* @remarks
|
|
1279
|
-
* Tags added to ECS instances
|
|
1288
|
+
* Tags added only to ECS instances.
|
|
1280
1289
|
*
|
|
1281
1290
|
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1282
1291
|
*/
|
|
@@ -1434,8 +1443,8 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1434
1443
|
* @remarks
|
|
1435
1444
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1436
1445
|
*
|
|
1437
|
-
* - `true`:
|
|
1438
|
-
* - `false`:
|
|
1446
|
+
* - `true`: Enabled.
|
|
1447
|
+
* - `false`: Disabled.
|
|
1439
1448
|
*
|
|
1440
1449
|
* Default value: `false`.
|
|
1441
1450
|
*
|
|
@@ -1478,6 +1487,10 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1478
1487
|
* true
|
|
1479
1488
|
*/
|
|
1480
1489
|
concurrency?: boolean;
|
|
1490
|
+
/**
|
|
1491
|
+
* @remarks
|
|
1492
|
+
* The Lingjun node pool configuration. (Not effective)
|
|
1493
|
+
*/
|
|
1481
1494
|
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1482
1495
|
/**
|
|
1483
1496
|
* @remarks
|