@alicloud/cs20151215 7.0.2 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -9,7 +9,8 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Specifies whether to enable intelligent managed mode.
|
|
12
|
+
* Specifies whether to enable intelligent managed mode.
|
|
13
|
+
* Valid values:
|
|
13
14
|
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
14
15
|
* - false: Disables intelligent managed mode.
|
|
15
16
|
*
|
|
@@ -47,7 +48,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
47
48
|
*
|
|
48
49
|
* The billing method of the EIP. Valid values:
|
|
49
50
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
50
|
-
* - `PayByTraffic`: pay-by-
|
|
51
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
51
52
|
*
|
|
52
53
|
* Default value: `PayByBandwidth`.
|
|
53
54
|
*
|
|
@@ -61,7 +62,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
61
62
|
* @remarks
|
|
62
63
|
* Specifies whether to enable automatic scaling. Valid values:
|
|
63
64
|
*
|
|
64
|
-
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet
|
|
65
|
+
* - `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 and later enable instant node elasticity by default. Clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
65
66
|
*
|
|
66
67
|
* - `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.
|
|
67
68
|
*
|
|
@@ -77,7 +78,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
77
78
|
* @remarks
|
|
78
79
|
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
79
80
|
*
|
|
80
|
-
* Specifies whether to associate an
|
|
81
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
81
82
|
*
|
|
82
83
|
* - `true`: associates an EIP.
|
|
83
84
|
*
|
|
@@ -107,8 +108,8 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
107
108
|
*
|
|
108
109
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
109
110
|
*
|
|
110
|
-
* > - If the minimum
|
|
111
|
-
* > - Set the maximum
|
|
111
|
+
* > - If the minimum instance count is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
112
|
+
* > - Set the maximum instance count to a value no 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.
|
|
112
113
|
*
|
|
113
114
|
* @example
|
|
114
115
|
* 1
|
|
@@ -116,13 +117,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
116
117
|
minInstances?: number;
|
|
117
118
|
/**
|
|
118
119
|
* @remarks
|
|
119
|
-
* The automatic
|
|
120
|
+
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
120
121
|
*
|
|
121
122
|
* - `cpu`: regular instance type.
|
|
122
123
|
*
|
|
123
124
|
* - `gpu`: GPU instance type.
|
|
124
125
|
*
|
|
125
|
-
* - `gpushare`: GPU
|
|
126
|
+
* - `gpushare`: GPU shared type.
|
|
126
127
|
*
|
|
127
128
|
* - `spot`: spot instance type.
|
|
128
129
|
*
|
|
@@ -145,10 +146,14 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
145
146
|
});
|
|
146
147
|
}
|
|
147
148
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool.
|
|
152
|
+
*/
|
|
148
153
|
autoAttachEnabled?: boolean;
|
|
149
154
|
/**
|
|
150
155
|
* @remarks
|
|
151
|
-
* The Lingjun cluster ID to associate
|
|
156
|
+
* The Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
152
157
|
*
|
|
153
158
|
* @example
|
|
154
159
|
* i1169130516633730****
|
|
@@ -156,12 +161,16 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
156
161
|
clusterId?: string;
|
|
157
162
|
/**
|
|
158
163
|
* @remarks
|
|
159
|
-
* The Lingjun group ID of the Lingjun cluster to associate
|
|
164
|
+
* The Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
160
165
|
*
|
|
161
166
|
* @example
|
|
162
167
|
* ng-ec3c96ff0aa****
|
|
163
168
|
*/
|
|
164
169
|
groupId?: string;
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The Worker RAM role used by the Lingjun node pool.
|
|
173
|
+
*/
|
|
165
174
|
workerRamRoleName?: string;
|
|
166
175
|
static names(): {
|
|
167
176
|
[key: string]: string;
|
|
@@ -253,7 +262,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
253
262
|
cmsEnabled?: boolean;
|
|
254
263
|
/**
|
|
255
264
|
* @remarks
|
|
256
|
-
* The node CPU management policy. The following two policies are supported for
|
|
265
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
257
266
|
*
|
|
258
267
|
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
259
268
|
* - `none`: Enables the existing default CPU affinity scheme.
|
|
@@ -294,7 +303,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
294
303
|
nodeNameMode?: string;
|
|
295
304
|
/**
|
|
296
305
|
* @remarks
|
|
297
|
-
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is
|
|
306
|
+
* The instance pre-user data. Before the node joins the cluster, the specified instance pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
298
307
|
*
|
|
299
308
|
* @example
|
|
300
309
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -329,7 +338,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
329
338
|
taints?: Taint[];
|
|
330
339
|
/**
|
|
331
340
|
* @remarks
|
|
332
|
-
* Specifies whether
|
|
341
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
333
342
|
*
|
|
334
343
|
* - true: Unschedulable.
|
|
335
344
|
*
|
|
@@ -341,7 +350,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
341
350
|
unschedulable?: boolean;
|
|
342
351
|
/**
|
|
343
352
|
* @remarks
|
|
344
|
-
* The instance user data. After the node joins the cluster, the specified user data script is
|
|
353
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
345
354
|
*
|
|
346
355
|
* @example
|
|
347
356
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -364,6 +373,16 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
364
373
|
* Specifies whether node repair requires manual approval.
|
|
365
374
|
*/
|
|
366
375
|
approvalRequired?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* @example
|
|
378
|
+
* 5
|
|
379
|
+
*/
|
|
380
|
+
maxParallelRepairingNodes?: string;
|
|
381
|
+
/**
|
|
382
|
+
* @example
|
|
383
|
+
* 20%
|
|
384
|
+
*/
|
|
385
|
+
maxUnhealthyNodesThreshold?: string;
|
|
367
386
|
/**
|
|
368
387
|
* @remarks
|
|
369
388
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
@@ -404,8 +423,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
404
423
|
/**
|
|
405
424
|
* @remarks
|
|
406
425
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
407
|
-
* - `true`: allows automatic
|
|
408
|
-
* - `false`: does not allow automatic
|
|
426
|
+
* - `true`: allows automatic OS upgrade.
|
|
427
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
409
428
|
*
|
|
410
429
|
*
|
|
411
430
|
* Default value: `false`.
|
|
@@ -490,11 +509,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
490
509
|
* @remarks
|
|
491
510
|
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
492
511
|
*
|
|
493
|
-
* Specifies whether to enable
|
|
512
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
494
513
|
*
|
|
495
|
-
* - `true`: enables
|
|
514
|
+
* - `true`: enables auto upgrade.
|
|
496
515
|
*
|
|
497
|
-
* - `false`: disables
|
|
516
|
+
* - `false`: disables auto upgrade.
|
|
498
517
|
*
|
|
499
518
|
* @example
|
|
500
519
|
* null
|
|
@@ -517,7 +536,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
517
536
|
* @remarks
|
|
518
537
|
* The number of extra nodes. Specify either this parameter or `surge_percentage`.
|
|
519
538
|
*
|
|
520
|
-
* Nodes become unavailable during
|
|
539
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
521
540
|
*
|
|
522
541
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
523
542
|
*
|
|
@@ -529,7 +548,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
529
548
|
* @remarks
|
|
530
549
|
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
531
550
|
*
|
|
532
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
551
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
533
552
|
*
|
|
534
553
|
* @example
|
|
535
554
|
* 0
|
|
@@ -547,6 +566,10 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
547
566
|
});
|
|
548
567
|
}
|
|
549
568
|
export declare class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
569
|
+
/**
|
|
570
|
+
* @remarks
|
|
571
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
572
|
+
*/
|
|
550
573
|
autoFaultDiagnosis?: boolean;
|
|
551
574
|
/**
|
|
552
575
|
* @remarks
|
|
@@ -570,8 +593,8 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
570
593
|
/**
|
|
571
594
|
* @remarks
|
|
572
595
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
573
|
-
* - `true`: enables
|
|
574
|
-
* - `false`: disables
|
|
596
|
+
* - `true`: enables auto upgrade.
|
|
597
|
+
* - `false`: disables auto upgrade.
|
|
575
598
|
*
|
|
576
599
|
* Default value: `true`.
|
|
577
600
|
*
|
|
@@ -602,6 +625,11 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
602
625
|
* The auto CVE fix policy.
|
|
603
626
|
*/
|
|
604
627
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
|
+
/**
|
|
629
|
+
* @remarks
|
|
630
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Standard node pools do not support this feature.
|
|
631
|
+
*/
|
|
632
|
+
driftEnabled?: boolean;
|
|
605
633
|
/**
|
|
606
634
|
* @remarks
|
|
607
635
|
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
@@ -620,7 +648,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
620
648
|
* @remarks
|
|
621
649
|
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
622
650
|
*
|
|
623
|
-
* The
|
|
651
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
624
652
|
*
|
|
625
653
|
* @deprecated
|
|
626
654
|
*/
|
|
@@ -639,7 +667,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
639
667
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
640
668
|
/**
|
|
641
669
|
* @remarks
|
|
642
|
-
* The node component
|
|
670
|
+
* The custom node component configuration.
|
|
643
671
|
*
|
|
644
672
|
* @example
|
|
645
673
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -721,7 +749,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
721
749
|
name?: string;
|
|
722
750
|
/**
|
|
723
751
|
* @remarks
|
|
724
|
-
* The resource group ID of the node pool. Instances
|
|
752
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
725
753
|
*
|
|
726
754
|
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
727
755
|
*
|
|
@@ -733,7 +761,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
733
761
|
* @remarks
|
|
734
762
|
* The node pool type. Valid values:
|
|
735
763
|
*
|
|
736
|
-
* - `ess`: standard node pool (includes managed features and automatic
|
|
764
|
+
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
737
765
|
* - `edge`: edge node pool.
|
|
738
766
|
* - `lingjun`: Lingjun node pool.
|
|
739
767
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -753,6 +781,26 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
753
781
|
[key: string]: any;
|
|
754
782
|
});
|
|
755
783
|
}
|
|
784
|
+
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
785
|
+
/**
|
|
786
|
+
* @remarks
|
|
787
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: Disables nested virtualization. enabled: Enables nested virtualization.
|
|
788
|
+
*
|
|
789
|
+
* @example
|
|
790
|
+
* enabled
|
|
791
|
+
*/
|
|
792
|
+
nestedVirtualization?: string;
|
|
793
|
+
static names(): {
|
|
794
|
+
[key: string]: string;
|
|
795
|
+
};
|
|
796
|
+
static types(): {
|
|
797
|
+
[key: string]: any;
|
|
798
|
+
};
|
|
799
|
+
validate(): void;
|
|
800
|
+
constructor(map?: {
|
|
801
|
+
[key: string]: any;
|
|
802
|
+
});
|
|
803
|
+
}
|
|
756
804
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
757
805
|
/**
|
|
758
806
|
* @remarks
|
|
@@ -765,9 +813,9 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
765
813
|
/**
|
|
766
814
|
* @remarks
|
|
767
815
|
* The private node pool type. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
|
|
768
|
-
* - `Open`: Open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
769
|
-
* - `Target`:
|
|
770
|
-
* - `None`: No private pool
|
|
816
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
817
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to start instances. If the specified private pool capacity is unavailable, instance startup fails.
|
|
818
|
+
* - `None`: No private pool. Instances do not use private pool capacity.
|
|
771
819
|
*
|
|
772
820
|
* @example
|
|
773
821
|
* Target
|
|
@@ -792,10 +840,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
792
840
|
privatePoolIds?: string[];
|
|
793
841
|
/**
|
|
794
842
|
* @remarks
|
|
795
|
-
* The resource pool strategy used when creating instances. Resource pools include private pools generated
|
|
796
|
-
* PrivatePoolFirst: Private pool first. When
|
|
797
|
-
* PrivatePoolOnly: Private pool only.
|
|
798
|
-
* None: No resource pool strategy
|
|
843
|
+
* 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 startup. Valid values:
|
|
844
|
+
* PrivatePoolFirst: Private pool first. When 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.
|
|
845
|
+
* PrivatePoolOnly: Private pool only. resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance startup fails.
|
|
846
|
+
* None: No resource pool strategy.
|
|
799
847
|
* Default value: None.
|
|
800
848
|
*
|
|
801
849
|
* @example
|
|
@@ -891,8 +939,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
891
939
|
/**
|
|
892
940
|
* @remarks
|
|
893
941
|
* The duration of each auto-renewal cycle. Valid values:
|
|
894
|
-
* -
|
|
895
|
-
* -
|
|
942
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
943
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
896
944
|
*
|
|
897
945
|
* Default value: 1.
|
|
898
946
|
*
|
|
@@ -912,15 +960,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
912
960
|
cisEnabled?: boolean;
|
|
913
961
|
/**
|
|
914
962
|
* @remarks
|
|
915
|
-
*
|
|
963
|
+
* 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 price, inventory, or other reasons. Valid values:
|
|
916
964
|
*
|
|
917
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
918
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
965
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
966
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
919
967
|
*
|
|
920
968
|
* @example
|
|
921
969
|
* true
|
|
922
970
|
*/
|
|
923
971
|
compensateWithOnDemand?: boolean;
|
|
972
|
+
/**
|
|
973
|
+
* @remarks
|
|
974
|
+
* The CPU-related configuration options.
|
|
975
|
+
*/
|
|
976
|
+
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
924
977
|
/**
|
|
925
978
|
* @remarks
|
|
926
979
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -928,7 +981,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
928
981
|
dataDisks?: DataDisk[];
|
|
929
982
|
/**
|
|
930
983
|
* @remarks
|
|
931
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers
|
|
984
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers, ensuring high availability and underlying disaster recovery. When creating ECS instances within a deployment set, the system distributes and starts ECS instances in the specified region based on the preconfigured deployment strategy.
|
|
932
985
|
*
|
|
933
986
|
*
|
|
934
987
|
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × 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.
|
|
@@ -941,10 +994,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
941
994
|
* @remarks
|
|
942
995
|
* The desired number of nodes in the node pool.
|
|
943
996
|
*
|
|
944
|
-
* The total number of nodes
|
|
945
|
-
*
|
|
946
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
947
|
-
* [_single.params.body.props.scaling_group
|
|
997
|
+
* The total number of nodes.
|
|
948
998
|
*
|
|
949
999
|
* @example
|
|
950
1000
|
* 0
|
|
@@ -1010,10 +1060,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1010
1060
|
instancePatterns?: InstancePatterns[];
|
|
1011
1061
|
/**
|
|
1012
1062
|
* @remarks
|
|
1013
|
-
* The list of instance types for
|
|
1063
|
+
* The list of instance types for the node pool. When the node pool scales out, it selects eligible instance types from this list to create instances.
|
|
1014
1064
|
*
|
|
1015
1065
|
* The number of supported instance types ranges from 1 to 10.
|
|
1016
1066
|
*
|
|
1067
|
+
*
|
|
1017
1068
|
* > To ensure high availability, select multiple instance types.
|
|
1018
1069
|
*
|
|
1019
1070
|
* This parameter is required.
|
|
@@ -1021,10 +1072,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1021
1072
|
instanceTypes?: string[];
|
|
1022
1073
|
/**
|
|
1023
1074
|
* @remarks
|
|
1024
|
-
* The billing method
|
|
1075
|
+
* The billing method for public IP addresses. Valid values:
|
|
1025
1076
|
*
|
|
1026
1077
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1027
|
-
* - PayByTraffic: pay-by-
|
|
1078
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1028
1079
|
*
|
|
1029
1080
|
* @example
|
|
1030
1081
|
* PayByTraffic
|
|
@@ -1032,7 +1083,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1032
1083
|
internetChargeType?: string;
|
|
1033
1084
|
/**
|
|
1034
1085
|
* @remarks
|
|
1035
|
-
* The maximum outbound public bandwidth
|
|
1086
|
+
* The maximum outbound public bandwidth for nodes. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1036
1087
|
*
|
|
1037
1088
|
* @example
|
|
1038
1089
|
* 5
|
|
@@ -1050,7 +1101,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1050
1101
|
keyPair?: string;
|
|
1051
1102
|
/**
|
|
1052
1103
|
* @remarks
|
|
1053
|
-
* Specifies whether
|
|
1104
|
+
* Specifies whether ECS instances use a non-root user for logon.
|
|
1054
1105
|
*
|
|
1055
1106
|
* - true: logs on as a non-root user (ecs-user).
|
|
1056
1107
|
*
|
|
@@ -1062,7 +1113,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1062
1113
|
loginAsNonRoot?: boolean;
|
|
1063
1114
|
/**
|
|
1064
1115
|
* @remarks
|
|
1065
|
-
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and
|
|
1116
|
+
* The SSH logon password. Specify 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.
|
|
1066
1117
|
*
|
|
1067
1118
|
* @example
|
|
1068
1119
|
* ****
|
|
@@ -1074,11 +1125,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1074
1125
|
*
|
|
1075
1126
|
* - `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.
|
|
1076
1127
|
*
|
|
1077
|
-
* - `COST_OPTIMIZED`:
|
|
1128
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in ascending order of vCPU unit price. When the scaling configuration sets multiple instance types with the spot billable methods, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1078
1129
|
*
|
|
1079
1130
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1080
1131
|
*
|
|
1081
|
-
* - `BALANCE`:
|
|
1132
|
+
* - `BALANCE`: Evenly allocates ECS instances across the active zones specified in the scaling group. If 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.
|
|
1082
1133
|
*
|
|
1083
1134
|
* Default value: `PRIORITY`.
|
|
1084
1135
|
*
|
|
@@ -1115,10 +1166,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1115
1166
|
period?: number;
|
|
1116
1167
|
/**
|
|
1117
1168
|
* @remarks
|
|
1118
|
-
* The billing
|
|
1169
|
+
* The billing period unit of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1119
1170
|
*
|
|
1120
|
-
* - `Month`: uses month as the
|
|
1121
|
-
* - `Week`: uses week as the
|
|
1171
|
+
* - `Month`: uses month as the billing unit.
|
|
1172
|
+
* - `Week`: uses week as the billing unit.
|
|
1122
1173
|
*
|
|
1123
1174
|
* Default value: `Month`.
|
|
1124
1175
|
*
|
|
@@ -1154,9 +1205,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1154
1205
|
* The Worker RAM role name.
|
|
1155
1206
|
*
|
|
1156
1207
|
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1157
|
-
* * If specified, the RAM role must be a **normal service role** with its **trusted service**
|
|
1208
|
+
* * If specified, the RAM role must be a **normal service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a normal 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-`.
|
|
1158
1209
|
*
|
|
1159
|
-
* >Notice:
|
|
1210
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support this parameter.
|
|
1160
1211
|
*
|
|
1161
1212
|
* @example
|
|
1162
1213
|
* example-role
|
|
@@ -1164,7 +1215,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1164
1215
|
ramRoleName?: string;
|
|
1165
1216
|
/**
|
|
1166
1217
|
* @remarks
|
|
1167
|
-
* The list of RDS instances.
|
|
1218
|
+
* The list of ApsaraDB RDS instances.
|
|
1168
1219
|
*/
|
|
1169
1220
|
rdsInstances?: string[];
|
|
1170
1221
|
/**
|
|
@@ -1179,7 +1230,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1179
1230
|
* The scaling group mode. Valid values:
|
|
1180
1231
|
*
|
|
1181
1232
|
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1182
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources
|
|
1233
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources but are charged for storage, except for instances with local disks.
|
|
1183
1234
|
*
|
|
1184
1235
|
* Default value: `release`.
|
|
1185
1236
|
*
|
|
@@ -1199,7 +1250,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1199
1250
|
securityGroupId?: string;
|
|
1200
1251
|
/**
|
|
1201
1252
|
* @remarks
|
|
1202
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend
|
|
1253
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend using `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1203
1254
|
*/
|
|
1204
1255
|
securityGroupIds?: string[];
|
|
1205
1256
|
/**
|
|
@@ -1233,10 +1284,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1233
1284
|
spotInstancePools?: number;
|
|
1234
1285
|
/**
|
|
1235
1286
|
* @remarks
|
|
1236
|
-
* Specifies whether to enable
|
|
1287
|
+
* 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:
|
|
1237
1288
|
*
|
|
1238
|
-
* - `true`: Enables
|
|
1239
|
-
* - `false`: Disables
|
|
1289
|
+
* - `true`: Enables supplementing spot instances.
|
|
1290
|
+
* - `false`: Disables supplementing spot instances.
|
|
1240
1291
|
*
|
|
1241
1292
|
* @example
|
|
1242
1293
|
* false
|
|
@@ -1244,18 +1295,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1244
1295
|
spotInstanceRemedy?: boolean;
|
|
1245
1296
|
/**
|
|
1246
1297
|
* @remarks
|
|
1247
|
-
* The
|
|
1298
|
+
* The price limit configuration for the current spot instance type.
|
|
1248
1299
|
*/
|
|
1249
1300
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1250
1301
|
/**
|
|
1251
1302
|
* @remarks
|
|
1252
|
-
* The
|
|
1303
|
+
* The bidding policy for spot instances. Valid values:
|
|
1253
1304
|
*
|
|
1254
1305
|
* - `NoSpot`: non-spot instance.
|
|
1255
1306
|
*
|
|
1256
|
-
* - `SpotWithPriceLimit`:
|
|
1307
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1257
1308
|
*
|
|
1258
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1309
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1259
1310
|
*
|
|
1260
1311
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1261
1312
|
*
|
|
@@ -1266,8 +1317,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1266
1317
|
/**
|
|
1267
1318
|
* @remarks
|
|
1268
1319
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1269
|
-
* - true:
|
|
1270
|
-
* - false:
|
|
1320
|
+
* - true: enables burst.
|
|
1321
|
+
* - false: disables burst.
|
|
1271
1322
|
*
|
|
1272
1323
|
* 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).
|
|
1273
1324
|
*
|
|
@@ -1277,12 +1328,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1277
1328
|
systemDiskBurstingEnabled?: boolean;
|
|
1278
1329
|
/**
|
|
1279
1330
|
* @remarks
|
|
1280
|
-
*
|
|
1331
|
+
* Multiple system cloud disk types. When a higher-priority disk type is unavailable, the system automatically tries the next-priority disk type to create the system cloud disk.
|
|
1281
1332
|
*/
|
|
1282
1333
|
systemDiskCategories?: string[];
|
|
1283
1334
|
/**
|
|
1284
1335
|
* @remarks
|
|
1285
|
-
* The
|
|
1336
|
+
* The system cloud disk type of nodes. Valid values:
|
|
1286
1337
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1287
1338
|
* - `cloud_ssd`: standard SSD.
|
|
1288
1339
|
* - `cloud_essd`: ESSD.
|
|
@@ -1297,7 +1348,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1297
1348
|
systemDiskCategory?: string;
|
|
1298
1349
|
/**
|
|
1299
1350
|
* @remarks
|
|
1300
|
-
* The encryption algorithm
|
|
1351
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1301
1352
|
*
|
|
1302
1353
|
* @example
|
|
1303
1354
|
* aes-256
|
|
@@ -1307,9 +1358,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1307
1358
|
* @remarks
|
|
1308
1359
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1309
1360
|
*
|
|
1310
|
-
* - true:
|
|
1361
|
+
* - true: encrypts the system cloud disk.
|
|
1311
1362
|
*
|
|
1312
|
-
* - false:
|
|
1363
|
+
* - false: does not encrypt the system cloud disk.
|
|
1313
1364
|
*
|
|
1314
1365
|
* @example
|
|
1315
1366
|
* false
|
|
@@ -1325,7 +1376,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1325
1376
|
systemDiskKmsKeyId?: string;
|
|
1326
1377
|
/**
|
|
1327
1378
|
* @remarks
|
|
1328
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
1379
|
+
* 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 disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1329
1380
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1330
1381
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1331
1382
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1339,7 +1390,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1339
1390
|
* @remarks
|
|
1340
1391
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1341
1392
|
*
|
|
1342
|
-
* Valid values: 0
|
|
1393
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1343
1394
|
*
|
|
1344
1395
|
* 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).
|
|
1345
1396
|
*
|
|
@@ -1349,7 +1400,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1349
1400
|
systemDiskProvisionedIops?: number;
|
|
1350
1401
|
/**
|
|
1351
1402
|
* @remarks
|
|
1352
|
-
* The
|
|
1403
|
+
* The system cloud disk size of nodes. Unit: GiB.
|
|
1353
1404
|
*
|
|
1354
1405
|
* Valid values: [20,2048\\].
|
|
1355
1406
|
*
|
|
@@ -1369,7 +1420,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1369
1420
|
* @remarks
|
|
1370
1421
|
* Tags added only to ECS instances.
|
|
1371
1422
|
*
|
|
1372
|
-
* Tag keys cannot be duplicated and
|
|
1423
|
+
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1373
1424
|
*/
|
|
1374
1425
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1375
1426
|
/**
|
|
@@ -1424,7 +1475,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1424
1475
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1425
1476
|
/**
|
|
1426
1477
|
* @remarks
|
|
1427
|
-
* The automatic
|
|
1478
|
+
* The automatic scaling configuration.
|
|
1428
1479
|
*/
|
|
1429
1480
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1430
1481
|
/**
|
|
@@ -1476,9 +1527,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1476
1527
|
interconnectMode?: string;
|
|
1477
1528
|
/**
|
|
1478
1529
|
* @remarks
|
|
1479
|
-
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1480
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1481
|
-
* - `false`: Not connected. All
|
|
1530
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1531
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
1532
|
+
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1482
1533
|
*
|
|
1483
1534
|
* @example
|
|
1484
1535
|
* true
|
|
@@ -1491,7 +1542,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1491
1542
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1492
1543
|
/**
|
|
1493
1544
|
* @remarks
|
|
1494
|
-
* The managed
|
|
1545
|
+
* The managed node pool configuration.
|
|
1495
1546
|
*/
|
|
1496
1547
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1497
1548
|
/**
|