@alicloud/cs20151215 7.0.3 → 7.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
|
@@ -12,9 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable intelligent managed mode.
|
|
16
|
-
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
17
|
-
* - false: Does not enable intelligent managed mode.
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* true
|
|
@@ -44,7 +42,7 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
44
42
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
45
43
|
/**
|
|
46
44
|
* @remarks
|
|
47
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
45
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
48
46
|
*
|
|
49
47
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
50
48
|
*
|
|
@@ -56,13 +54,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
56
54
|
eipBandwidth?: number;
|
|
57
55
|
/**
|
|
58
56
|
* @remarks
|
|
59
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
60
|
-
*
|
|
61
|
-
* The billing method of the EIP. Valid values:
|
|
62
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
63
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
64
|
-
*
|
|
65
|
-
* Default value: `PayByBandwidth`.
|
|
57
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
66
58
|
*
|
|
67
59
|
* @example
|
|
68
60
|
* null
|
|
@@ -72,15 +64,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
72
64
|
eipInternetChargeType?: string;
|
|
73
65
|
/**
|
|
74
66
|
* @remarks
|
|
75
|
-
* Specifies whether to enable
|
|
76
|
-
*
|
|
77
|
-
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant node elastic scaling by default. Clusters of versions earlier than 1.24 use node automatic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
78
|
-
*
|
|
79
|
-
* - `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.
|
|
80
|
-
*
|
|
81
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
82
|
-
*
|
|
83
|
-
* Default value: `false`.
|
|
67
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
84
68
|
*
|
|
85
69
|
* @example
|
|
86
70
|
* false
|
|
@@ -88,15 +72,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
88
72
|
enable?: boolean;
|
|
89
73
|
/**
|
|
90
74
|
* @remarks
|
|
91
|
-
* [Deprecated] This
|
|
92
|
-
*
|
|
93
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
94
|
-
*
|
|
95
|
-
* - `true`: associates an EIP.
|
|
96
|
-
*
|
|
97
|
-
* - `false`: does not associate an EIP.
|
|
98
|
-
*
|
|
99
|
-
* Default value: `false`.
|
|
75
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
100
76
|
*
|
|
101
77
|
* @example
|
|
102
78
|
* null
|
|
@@ -106,9 +82,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
106
82
|
isBondEip?: boolean;
|
|
107
83
|
/**
|
|
108
84
|
* @remarks
|
|
109
|
-
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
110
|
-
*
|
|
111
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
85
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
112
86
|
*
|
|
113
87
|
* @example
|
|
114
88
|
* 10
|
|
@@ -116,12 +90,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
116
90
|
maxInstances?: number;
|
|
117
91
|
/**
|
|
118
92
|
* @remarks
|
|
119
|
-
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
120
|
-
*
|
|
121
|
-
* Valid values: [0, max_instances]. Default value: 0.
|
|
122
|
-
*
|
|
123
|
-
* > - If the minimum instance count is not 0, the scaling group triggers automatic creation of the corresponding number of ECS instances after the automatic scaling feature takes effect.
|
|
124
|
-
* > - 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 are scaled in after the automatic scaling feature takes effect.
|
|
93
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
125
94
|
*
|
|
126
95
|
* @example
|
|
127
96
|
* 1
|
|
@@ -129,18 +98,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
129
98
|
minInstances?: number;
|
|
130
99
|
/**
|
|
131
100
|
* @remarks
|
|
132
|
-
* The automatic scaling instance type.
|
|
133
|
-
*
|
|
134
|
-
* - `cpu`: regular instance type.
|
|
135
|
-
*
|
|
136
|
-
* - `gpu`: GPU instance type.
|
|
137
|
-
*
|
|
138
|
-
* - `gpushare`: GPU shared type.
|
|
139
|
-
*
|
|
140
|
-
* - `spot`: spot instance type.
|
|
141
|
-
*
|
|
142
|
-
* Default value: `cpu`.
|
|
143
|
-
* >Notice: This field cannot be modified after the node pool is created.
|
|
101
|
+
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
144
102
|
*
|
|
145
103
|
* @example
|
|
146
104
|
* cpu
|
|
@@ -180,6 +138,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
180
138
|
}
|
|
181
139
|
|
|
182
140
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
144
|
+
*/
|
|
183
145
|
autoAttachEnabled?: boolean;
|
|
184
146
|
/**
|
|
185
147
|
* @remarks
|
|
@@ -197,6 +159,10 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
197
159
|
* ng-ec3c96ff0aa****
|
|
198
160
|
*/
|
|
199
161
|
groupId?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The Worker RAM role used by the Lingjun node pool.
|
|
165
|
+
*/
|
|
200
166
|
workerRamRoleName?: string;
|
|
201
167
|
static names(): { [key: string]: string } {
|
|
202
168
|
return {
|
|
@@ -228,9 +194,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
228
194
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
229
195
|
/**
|
|
230
196
|
* @remarks
|
|
231
|
-
* [
|
|
232
|
-
*
|
|
233
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
197
|
+
* **[Deprecated]**
|
|
234
198
|
*
|
|
235
199
|
* @example
|
|
236
200
|
* null
|
|
@@ -238,9 +202,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
238
202
|
bandwidth?: number;
|
|
239
203
|
/**
|
|
240
204
|
* @remarks
|
|
241
|
-
* [
|
|
242
|
-
*
|
|
243
|
-
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
205
|
+
* **[Deprecated]**
|
|
244
206
|
*
|
|
245
207
|
* @example
|
|
246
208
|
* null
|
|
@@ -248,9 +210,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
248
210
|
ccnId?: string;
|
|
249
211
|
/**
|
|
250
212
|
* @remarks
|
|
251
|
-
* [
|
|
252
|
-
*
|
|
253
|
-
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
213
|
+
* **[Deprecated]**
|
|
254
214
|
*
|
|
255
215
|
* @example
|
|
256
216
|
* null
|
|
@@ -258,9 +218,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
258
218
|
ccnRegionId?: string;
|
|
259
219
|
/**
|
|
260
220
|
* @remarks
|
|
261
|
-
* [
|
|
262
|
-
*
|
|
263
|
-
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
221
|
+
* **[Deprecated]**
|
|
264
222
|
*
|
|
265
223
|
* @example
|
|
266
224
|
* null
|
|
@@ -268,9 +226,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
268
226
|
cenId?: string;
|
|
269
227
|
/**
|
|
270
228
|
* @remarks
|
|
271
|
-
* [
|
|
272
|
-
*
|
|
273
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
229
|
+
* **[Deprecated]**
|
|
274
230
|
*
|
|
275
231
|
* @example
|
|
276
232
|
* null
|
|
@@ -308,11 +264,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
308
264
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
309
265
|
/**
|
|
310
266
|
* @remarks
|
|
311
|
-
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information
|
|
267
|
+
* 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:
|
|
312
268
|
*
|
|
313
|
-
* - `true`: Installs CloudMonitor on ECS nodes.
|
|
269
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
314
270
|
*
|
|
315
|
-
* - `false`: Does not install CloudMonitor on ECS nodes.
|
|
271
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
316
272
|
*
|
|
317
273
|
* Default value: `false`.
|
|
318
274
|
*
|
|
@@ -322,12 +278,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
322
278
|
cmsEnabled?: boolean;
|
|
323
279
|
/**
|
|
324
280
|
* @remarks
|
|
325
|
-
* The
|
|
326
|
-
*
|
|
327
|
-
* - `static`: Allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
328
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
329
|
-
*
|
|
330
|
-
* Default value: `none`.
|
|
281
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
331
282
|
*
|
|
332
283
|
* @example
|
|
333
284
|
* none
|
|
@@ -335,27 +286,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
335
286
|
cpuPolicy?: string;
|
|
336
287
|
/**
|
|
337
288
|
* @remarks
|
|
338
|
-
* The node labels.
|
|
289
|
+
* The node labels. You can add labels to nodes in the Kubernetes cluster.
|
|
339
290
|
*/
|
|
340
291
|
labels?: Tag[];
|
|
341
292
|
/**
|
|
342
293
|
* @remarks
|
|
343
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed.
|
|
344
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
|
|
345
|
-
*
|
|
346
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
347
|
-
*
|
|
348
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
349
|
-
*
|
|
350
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
351
|
-
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
352
|
-
* - The node IP is the full private IP address of the node.
|
|
353
|
-
*
|
|
354
|
-
* Example: The node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
355
|
-
*
|
|
356
|
-
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
357
|
-
*
|
|
358
|
-
* - For Windows nodes, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
294
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
359
295
|
*
|
|
360
296
|
* @example
|
|
361
297
|
* aliyun.com192.XX.YY.55test
|
|
@@ -363,7 +299,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
363
299
|
nodeNameMode?: string;
|
|
364
300
|
/**
|
|
365
301
|
* @remarks
|
|
366
|
-
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script
|
|
302
|
+
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
367
303
|
*
|
|
368
304
|
* @example
|
|
369
305
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -371,13 +307,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
371
307
|
preUserData?: string;
|
|
372
308
|
/**
|
|
373
309
|
* @remarks
|
|
374
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
375
|
-
*
|
|
376
|
-
* - containerd: Recommended. Supports all cluster versions.
|
|
377
|
-
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
378
|
-
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
379
|
-
*
|
|
380
|
-
* Default value: containerd.
|
|
310
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
381
311
|
*
|
|
382
312
|
* @example
|
|
383
313
|
* containerd
|
|
@@ -398,11 +328,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
398
328
|
taints?: Taint[];
|
|
399
329
|
/**
|
|
400
330
|
* @remarks
|
|
401
|
-
* Specifies whether scaled-out nodes are unschedulable.
|
|
402
|
-
*
|
|
403
|
-
* - true: Unschedulable.
|
|
404
|
-
*
|
|
405
|
-
* - false: Schedulable.
|
|
331
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
406
332
|
*
|
|
407
333
|
* @example
|
|
408
334
|
* true
|
|
@@ -410,7 +336,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
410
336
|
unschedulable?: boolean;
|
|
411
337
|
/**
|
|
412
338
|
* @remarks
|
|
413
|
-
* The instance user data. After the node joins the cluster, the specified instance user data script
|
|
339
|
+
* 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).
|
|
414
340
|
*
|
|
415
341
|
* @example
|
|
416
342
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -464,17 +390,28 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
464
390
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
465
391
|
/**
|
|
466
392
|
* @remarks
|
|
467
|
-
* Specifies whether
|
|
393
|
+
* Specifies whether manual approval is required for node repair.
|
|
468
394
|
*/
|
|
469
395
|
approvalRequired?: boolean;
|
|
470
396
|
/**
|
|
471
397
|
* @remarks
|
|
472
|
-
*
|
|
398
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
473
399
|
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
400
|
+
* @example
|
|
401
|
+
* 5
|
|
402
|
+
*/
|
|
403
|
+
maxParallelRepairingNodes?: string;
|
|
404
|
+
/**
|
|
405
|
+
* @remarks
|
|
406
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
476
407
|
*
|
|
477
|
-
*
|
|
408
|
+
* @example
|
|
409
|
+
* 20%
|
|
410
|
+
*/
|
|
411
|
+
maxUnhealthyNodesThreshold?: string;
|
|
412
|
+
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
478
415
|
*
|
|
479
416
|
* @example
|
|
480
417
|
* true
|
|
@@ -483,6 +420,8 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
483
420
|
static names(): { [key: string]: string } {
|
|
484
421
|
return {
|
|
485
422
|
approvalRequired: 'approval_required',
|
|
423
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
424
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
486
425
|
restartNode: 'restart_node',
|
|
487
426
|
};
|
|
488
427
|
}
|
|
@@ -490,6 +429,8 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
490
429
|
static types(): { [key: string]: any } {
|
|
491
430
|
return {
|
|
492
431
|
approvalRequired: 'boolean',
|
|
432
|
+
maxParallelRepairingNodes: 'string',
|
|
433
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
493
434
|
restartNode: 'boolean',
|
|
494
435
|
};
|
|
495
436
|
}
|
|
@@ -506,11 +447,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
506
447
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
507
448
|
/**
|
|
508
449
|
* @remarks
|
|
509
|
-
* Specifies whether to allow automatic kubelet upgrade.
|
|
510
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
511
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
512
|
-
*
|
|
513
|
-
* Default value: `true`.
|
|
450
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
514
451
|
*
|
|
515
452
|
* @example
|
|
516
453
|
* true
|
|
@@ -518,12 +455,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
518
455
|
autoUpgradeKubelet?: boolean;
|
|
519
456
|
/**
|
|
520
457
|
* @remarks
|
|
521
|
-
* Specifies whether to allow automatic operating system upgrade.
|
|
522
|
-
* - `true`: allows automatic operating system upgrade.
|
|
523
|
-
* - `false`: does not allow automatic operating system upgrade.
|
|
524
|
-
*
|
|
525
|
-
*
|
|
526
|
-
* Default value: `false`.
|
|
458
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
527
459
|
*
|
|
528
460
|
* @example
|
|
529
461
|
* false
|
|
@@ -531,11 +463,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
531
463
|
autoUpgradeOs?: boolean;
|
|
532
464
|
/**
|
|
533
465
|
* @remarks
|
|
534
|
-
* Specifies whether to allow automatic runtime upgrade.
|
|
535
|
-
* - `true`: allows automatic runtime upgrade.
|
|
536
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
537
|
-
*
|
|
538
|
-
* Default value: `true`.
|
|
466
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
539
467
|
*
|
|
540
468
|
* @example
|
|
541
469
|
* false
|
|
@@ -569,9 +497,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
569
497
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
570
498
|
/**
|
|
571
499
|
* @remarks
|
|
572
|
-
* The packages to exclude during vulnerability
|
|
573
|
-
*
|
|
574
|
-
* Default value: `kernel`.
|
|
500
|
+
* The packages to exclude during vulnerability fix.
|
|
575
501
|
*
|
|
576
502
|
* @example
|
|
577
503
|
* kernel
|
|
@@ -579,9 +505,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
579
505
|
excludePackages?: string;
|
|
580
506
|
/**
|
|
581
507
|
* @remarks
|
|
582
|
-
* Specifies whether to allow node
|
|
583
|
-
* - `true`:
|
|
584
|
-
* - `false`:
|
|
508
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
509
|
+
* - `true`: Node restarts are allowed.
|
|
510
|
+
* - `false`: Node restarts are not allowed.
|
|
585
511
|
*
|
|
586
512
|
* Default value: `true`.
|
|
587
513
|
*
|
|
@@ -591,13 +517,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
591
517
|
restartNode?: boolean;
|
|
592
518
|
/**
|
|
593
519
|
* @remarks
|
|
594
|
-
* The vulnerability levels allowed for automatic
|
|
595
|
-
*
|
|
596
|
-
* - `asap`: high
|
|
597
|
-
* - `later`: medium
|
|
598
|
-
* - `nntf`: low
|
|
599
|
-
*
|
|
600
|
-
* Default value: `asap`.
|
|
520
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
601
521
|
*
|
|
602
522
|
* @example
|
|
603
523
|
* asap,nntf
|
|
@@ -631,13 +551,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
631
551
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
632
552
|
/**
|
|
633
553
|
* @remarks
|
|
634
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
635
|
-
*
|
|
636
|
-
* Specifies whether to enable auto upgrade. Valid values:
|
|
637
|
-
*
|
|
638
|
-
* - `true`: enables auto upgrade.
|
|
639
|
-
*
|
|
640
|
-
* - `false`: disables auto upgrade.
|
|
554
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
641
555
|
*
|
|
642
556
|
* @example
|
|
643
557
|
* null
|
|
@@ -648,9 +562,6 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
648
562
|
/**
|
|
649
563
|
* @remarks
|
|
650
564
|
* The maximum number of unavailable nodes.
|
|
651
|
-
* Valid values: [1,1000\\].
|
|
652
|
-
*
|
|
653
|
-
* Default value: 1.
|
|
654
565
|
*
|
|
655
566
|
* @example
|
|
656
567
|
* 1
|
|
@@ -658,11 +569,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
658
569
|
maxUnavailable?: number;
|
|
659
570
|
/**
|
|
660
571
|
* @remarks
|
|
661
|
-
* The number of extra nodes.
|
|
662
|
-
*
|
|
663
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
664
|
-
*
|
|
665
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
572
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
666
573
|
*
|
|
667
574
|
* @example
|
|
668
575
|
* 0
|
|
@@ -670,9 +577,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
670
577
|
surge?: number;
|
|
671
578
|
/**
|
|
672
579
|
* @remarks
|
|
673
|
-
* The percentage of extra nodes.
|
|
674
|
-
*
|
|
675
|
-
* 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.
|
|
580
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
676
581
|
*
|
|
677
582
|
* @example
|
|
678
583
|
* 0
|
|
@@ -706,16 +611,14 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
706
611
|
}
|
|
707
612
|
|
|
708
613
|
export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
614
|
+
/**
|
|
615
|
+
* @remarks
|
|
616
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
617
|
+
*/
|
|
709
618
|
autoFaultDiagnosis?: boolean;
|
|
710
619
|
/**
|
|
711
620
|
* @remarks
|
|
712
|
-
* Specifies whether to
|
|
713
|
-
*
|
|
714
|
-
* - `true`: enables auto repair.
|
|
715
|
-
*
|
|
716
|
-
* - `false`: disables auto repair.
|
|
717
|
-
*
|
|
718
|
-
* Default value: `true`.
|
|
621
|
+
* Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
719
622
|
*
|
|
720
623
|
* @example
|
|
721
624
|
* true
|
|
@@ -723,16 +626,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
723
626
|
autoRepair?: boolean;
|
|
724
627
|
/**
|
|
725
628
|
* @remarks
|
|
726
|
-
* The
|
|
629
|
+
* The automatic node repair policy.
|
|
727
630
|
*/
|
|
728
631
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
729
632
|
/**
|
|
730
633
|
* @remarks
|
|
731
|
-
* Specifies whether to
|
|
732
|
-
* - `true`: enables auto upgrade.
|
|
733
|
-
* - `false`: disables auto upgrade.
|
|
734
|
-
*
|
|
735
|
-
* Default value: `true`.
|
|
634
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
736
635
|
*
|
|
737
636
|
* @example
|
|
738
637
|
* true
|
|
@@ -740,17 +639,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
740
639
|
autoUpgrade?: boolean;
|
|
741
640
|
/**
|
|
742
641
|
* @remarks
|
|
743
|
-
* The
|
|
642
|
+
* The automatic node upgrade policy.
|
|
744
643
|
*/
|
|
745
644
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
746
645
|
/**
|
|
747
646
|
* @remarks
|
|
748
|
-
* Specifies whether to
|
|
749
|
-
*
|
|
750
|
-
* - `true`: allows automatic CVE fixing.
|
|
751
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
752
|
-
*
|
|
753
|
-
* Default value: `true`.
|
|
647
|
+
* Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
|
|
754
648
|
*
|
|
755
649
|
* @example
|
|
756
650
|
* true
|
|
@@ -758,19 +652,17 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
758
652
|
autoVulFix?: boolean;
|
|
759
653
|
/**
|
|
760
654
|
* @remarks
|
|
761
|
-
* The
|
|
655
|
+
* The automatic CVE fix policy.
|
|
762
656
|
*/
|
|
763
657
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
658
|
+
/**
|
|
659
|
+
* @remarks
|
|
660
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Regular node pools do not support this feature.
|
|
661
|
+
*/
|
|
764
662
|
driftEnabled?: boolean;
|
|
765
663
|
/**
|
|
766
664
|
* @remarks
|
|
767
|
-
* Specifies whether to enable the managed
|
|
768
|
-
*
|
|
769
|
-
* - `true`: enables the managed feature.
|
|
770
|
-
*
|
|
771
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
772
|
-
*
|
|
773
|
-
* Default value: false.
|
|
665
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
774
666
|
*
|
|
775
667
|
* @example
|
|
776
668
|
* false
|
|
@@ -778,9 +670,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
778
670
|
enable?: boolean;
|
|
779
671
|
/**
|
|
780
672
|
* @remarks
|
|
781
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
673
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
782
674
|
*
|
|
783
|
-
* The
|
|
675
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
784
676
|
*
|
|
785
677
|
* @deprecated
|
|
786
678
|
*/
|
|
@@ -839,7 +731,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
839
731
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
840
732
|
/**
|
|
841
733
|
* @remarks
|
|
842
|
-
* The node component
|
|
734
|
+
* The custom configuration of the node component.
|
|
843
735
|
*
|
|
844
736
|
* @example
|
|
845
737
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -962,9 +854,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
962
854
|
name?: string;
|
|
963
855
|
/**
|
|
964
856
|
* @remarks
|
|
965
|
-
* The resource group ID of the node pool. Instances
|
|
966
|
-
*
|
|
967
|
-
* 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.
|
|
857
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
968
858
|
*
|
|
969
859
|
* @example
|
|
970
860
|
* rg-acfmyvw3wjmb****
|
|
@@ -974,11 +864,6 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
974
864
|
* @remarks
|
|
975
865
|
* The node pool type. Valid values:
|
|
976
866
|
*
|
|
977
|
-
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
978
|
-
* - `edge`: edge node pool.
|
|
979
|
-
* - `lingjun`: Lingjun node pool.
|
|
980
|
-
* - `hybrid`: hybrid cloud node pool.
|
|
981
|
-
*
|
|
982
867
|
* @example
|
|
983
868
|
* ess
|
|
984
869
|
*/
|
|
@@ -1008,6 +893,36 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1008
893
|
}
|
|
1009
894
|
}
|
|
1010
895
|
|
|
896
|
+
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
897
|
+
/**
|
|
898
|
+
* @remarks
|
|
899
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
900
|
+
*
|
|
901
|
+
* @example
|
|
902
|
+
* enabled
|
|
903
|
+
*/
|
|
904
|
+
nestedVirtualization?: string;
|
|
905
|
+
static names(): { [key: string]: string } {
|
|
906
|
+
return {
|
|
907
|
+
nestedVirtualization: 'nested_virtualization',
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
static types(): { [key: string]: any } {
|
|
912
|
+
return {
|
|
913
|
+
nestedVirtualization: 'string',
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
validate() {
|
|
918
|
+
super.validate();
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
constructor(map?: { [key: string]: any }) {
|
|
922
|
+
super(map);
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
1011
926
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1012
927
|
/**
|
|
1013
928
|
* @remarks
|
|
@@ -1019,10 +934,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1019
934
|
id?: string;
|
|
1020
935
|
/**
|
|
1021
936
|
* @remarks
|
|
1022
|
-
* The private node pool
|
|
1023
|
-
* - `Open`:
|
|
1024
|
-
* - `Target`:
|
|
1025
|
-
* - `None`:
|
|
937
|
+
* The type of the private node pool. The private pool option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
|
|
938
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
939
|
+
* - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
940
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
1026
941
|
*
|
|
1027
942
|
* @example
|
|
1028
943
|
* Target
|
|
@@ -1059,7 +974,13 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1059
974
|
privatePoolIds?: string[];
|
|
1060
975
|
/**
|
|
1061
976
|
* @remarks
|
|
1062
|
-
* The resource pool strategy used when
|
|
977
|
+
* The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
|
|
978
|
+
*
|
|
979
|
+
* - PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
980
|
+
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
981
|
+
* - None: no resource pool strategy is used.
|
|
982
|
+
*
|
|
983
|
+
* Default value: None.
|
|
1063
984
|
*
|
|
1064
985
|
* @example
|
|
1065
986
|
* PrivatePoolFirst
|
|
@@ -1094,7 +1015,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1094
1015
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1095
1016
|
/**
|
|
1096
1017
|
* @remarks
|
|
1097
|
-
* The spot instance
|
|
1018
|
+
* The instance type of the spot instance.
|
|
1098
1019
|
*
|
|
1099
1020
|
* @example
|
|
1100
1021
|
* ecs.c6.large
|
|
@@ -1102,7 +1023,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1102
1023
|
instanceType?: string;
|
|
1103
1024
|
/**
|
|
1104
1025
|
* @remarks
|
|
1105
|
-
* The maximum price
|
|
1026
|
+
* The maximum price of a single instance.
|
|
1106
1027
|
* <props="china">Unit: CNY/hour.
|
|
1107
1028
|
*
|
|
1108
1029
|
*
|
|
@@ -1179,12 +1100,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1179
1100
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1180
1101
|
/**
|
|
1181
1102
|
* @remarks
|
|
1182
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool.
|
|
1183
|
-
*
|
|
1184
|
-
* - `true`: enables auto-renewal.
|
|
1185
|
-
* - `false`: disables auto-renewal.
|
|
1186
|
-
*
|
|
1187
|
-
* Default value: `false`.
|
|
1103
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1188
1104
|
*
|
|
1189
1105
|
* @example
|
|
1190
1106
|
* true
|
|
@@ -1192,11 +1108,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1192
1108
|
autoRenew?: boolean;
|
|
1193
1109
|
/**
|
|
1194
1110
|
* @remarks
|
|
1195
|
-
* The duration of
|
|
1196
|
-
* - PeriodUnit=Week: 1, 2, 3.
|
|
1197
|
-
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1198
|
-
*
|
|
1199
|
-
* Default value: 1.
|
|
1111
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
1200
1112
|
*
|
|
1201
1113
|
* @example
|
|
1202
1114
|
* 1
|
|
@@ -1204,7 +1116,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1204
1116
|
autoRenewPeriod?: number;
|
|
1205
1117
|
/**
|
|
1206
1118
|
* @remarks
|
|
1207
|
-
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1119
|
+
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
1208
1120
|
*
|
|
1209
1121
|
* @example
|
|
1210
1122
|
* null
|
|
@@ -1214,10 +1126,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1214
1126
|
cisEnabled?: boolean;
|
|
1215
1127
|
/**
|
|
1216
1128
|
* @remarks
|
|
1217
|
-
*
|
|
1129
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1218
1130
|
*
|
|
1219
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1220
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1131
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1132
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1221
1133
|
*
|
|
1222
1134
|
* @example
|
|
1223
1135
|
* true
|
|
@@ -1225,15 +1137,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1225
1137
|
compensateWithOnDemand?: boolean;
|
|
1226
1138
|
/**
|
|
1227
1139
|
* @remarks
|
|
1228
|
-
* The
|
|
1140
|
+
* The CPU-related configuration options.
|
|
1141
|
+
*/
|
|
1142
|
+
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1143
|
+
/**
|
|
1144
|
+
* @remarks
|
|
1145
|
+
* The data cloud disk configurations for nodes in the node pool.
|
|
1229
1146
|
*/
|
|
1230
1147
|
dataDisks?: DataDisk[];
|
|
1231
1148
|
/**
|
|
1232
1149
|
* @remarks
|
|
1233
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery. When
|
|
1150
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment strategy.
|
|
1234
1151
|
*
|
|
1235
1152
|
*
|
|
1236
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1153
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × number of zones (the number of zones is determined by the vSwitches). Select a deployment set with caution and ensure that the quota in the deployment set is sufficient to avoid node scale-out failures.
|
|
1237
1154
|
*
|
|
1238
1155
|
* @example
|
|
1239
1156
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1243,10 +1160,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1243
1160
|
* @remarks
|
|
1244
1161
|
* The desired number of nodes in the node pool.
|
|
1245
1162
|
*
|
|
1246
|
-
* 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.
|
|
1247
|
-
*
|
|
1248
|
-
* If you do not need to create nodes, set this value to 0 and manually adjust it later to add nodes.
|
|
1249
|
-
*
|
|
1250
1163
|
* @example
|
|
1251
1164
|
* 0
|
|
1252
1165
|
*/
|
|
@@ -1256,6 +1169,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1256
1169
|
* The block device initialization configuration.
|
|
1257
1170
|
*/
|
|
1258
1171
|
diskInit?: DiskInit[];
|
|
1172
|
+
/**
|
|
1173
|
+
* @remarks
|
|
1174
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud disk limit supported by the instance type.
|
|
1175
|
+
*
|
|
1176
|
+
* @example
|
|
1177
|
+
* false
|
|
1178
|
+
*/
|
|
1179
|
+
enableHighDensityMode?: boolean;
|
|
1259
1180
|
/**
|
|
1260
1181
|
* @remarks
|
|
1261
1182
|
* The custom image ID. The system-provided image is used by default.
|
|
@@ -1266,18 +1187,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1266
1187
|
imageId?: string;
|
|
1267
1188
|
/**
|
|
1268
1189
|
* @remarks
|
|
1269
|
-
* The operating system image
|
|
1270
|
-
*
|
|
1271
|
-
* - `AliyunLinux`: Alinux2 image.
|
|
1272
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1273
|
-
* - `AliyunLinux3`: Alinux3 image.
|
|
1274
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1275
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1276
|
-
* - `CentOS`: CentOS image.
|
|
1277
|
-
* - `Windows`: Windows image.
|
|
1278
|
-
* - `WindowsCore`: WindowsCore image.
|
|
1279
|
-
* - `ContainerOS`: container-optimized image.
|
|
1280
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1190
|
+
* The type of operating system image. Valid values:
|
|
1281
1191
|
*
|
|
1282
1192
|
* @example
|
|
1283
1193
|
* AliyunLinux3
|
|
@@ -1286,12 +1196,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1286
1196
|
/**
|
|
1287
1197
|
* @remarks
|
|
1288
1198
|
* The billing method of nodes in the node pool. Valid values:
|
|
1289
|
-
*
|
|
1290
|
-
* - `PrePaid`: subscription.
|
|
1291
|
-
*
|
|
1292
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1293
|
-
*
|
|
1294
|
-
* Default value: `PostPaid`.
|
|
1295
1199
|
*
|
|
1296
1200
|
* This parameter is required.
|
|
1297
1201
|
*
|
|
@@ -1311,10 +1215,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1311
1215
|
instancePatterns?: InstancePatterns[];
|
|
1312
1216
|
/**
|
|
1313
1217
|
* @remarks
|
|
1314
|
-
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created
|
|
1315
|
-
*
|
|
1316
|
-
* Supported number of instance types: [1,10].
|
|
1218
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created based on eligible instance types from this list.
|
|
1317
1219
|
*
|
|
1220
|
+
* Number of supported instance types: [1, 10].
|
|
1318
1221
|
*
|
|
1319
1222
|
* > To ensure high availability, select multiple instance types.
|
|
1320
1223
|
*
|
|
@@ -1323,10 +1226,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1323
1226
|
instanceTypes?: string[];
|
|
1324
1227
|
/**
|
|
1325
1228
|
* @remarks
|
|
1326
|
-
* The billing method
|
|
1229
|
+
* The billing method for public IP addresses. Valid values:
|
|
1327
1230
|
*
|
|
1328
1231
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1329
|
-
* - PayByTraffic: pay-by-
|
|
1232
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1330
1233
|
*
|
|
1331
1234
|
* @example
|
|
1332
1235
|
* PayByTraffic
|
|
@@ -1334,7 +1237,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1334
1237
|
internetChargeType?: string;
|
|
1335
1238
|
/**
|
|
1336
1239
|
* @remarks
|
|
1337
|
-
* The maximum outbound public
|
|
1240
|
+
* The maximum outbound bandwidth for the public IP of nodes. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1338
1241
|
*
|
|
1339
1242
|
* @example
|
|
1340
1243
|
* 5
|
|
@@ -1342,9 +1245,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1342
1245
|
internetMaxBandwidthOut?: number;
|
|
1343
1246
|
/**
|
|
1344
1247
|
* @remarks
|
|
1345
|
-
* The key pair
|
|
1346
|
-
*
|
|
1347
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1248
|
+
* The name of the key pair for password-free logon. Use either this parameter or `login_password`.
|
|
1348
1249
|
*
|
|
1349
1250
|
* @example
|
|
1350
1251
|
* np-key-name
|
|
@@ -1352,11 +1253,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1352
1253
|
keyPair?: string;
|
|
1353
1254
|
/**
|
|
1354
1255
|
* @remarks
|
|
1355
|
-
* Specifies whether to log on to the ECS
|
|
1356
|
-
*
|
|
1357
|
-
* - true: logs on as a non-root user (ecs-user).
|
|
1256
|
+
* Specifies whether to log on to the scaled-out ECS instances as a non-root user.
|
|
1358
1257
|
*
|
|
1359
|
-
* -
|
|
1258
|
+
* - true: Log on as a non-root user (ecs-user).
|
|
1259
|
+
*
|
|
1260
|
+
* - false: Log on as the root user.
|
|
1360
1261
|
*
|
|
1361
1262
|
* @example
|
|
1362
1263
|
* true
|
|
@@ -1364,7 +1265,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1364
1265
|
loginAsNonRoot?: boolean;
|
|
1365
1266
|
/**
|
|
1366
1267
|
* @remarks
|
|
1367
|
-
* The SSH logon password.
|
|
1268
|
+
* The SSH logon password. Use either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1368
1269
|
*
|
|
1369
1270
|
* @example
|
|
1370
1271
|
* ****
|
|
@@ -1372,15 +1273,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1372
1273
|
loginPassword?: string;
|
|
1373
1274
|
/**
|
|
1374
1275
|
* @remarks
|
|
1375
|
-
* The scaling policy for ECS instances in
|
|
1276
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1376
1277
|
*
|
|
1377
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of
|
|
1278
|
+
* - `PRIORITY`: Scales ECS 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.
|
|
1378
1279
|
*
|
|
1379
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the
|
|
1280
|
+
* - `COST_OPTIMIZED`: Attempts to create ECS instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1380
1281
|
*
|
|
1381
1282
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1382
1283
|
*
|
|
1383
|
-
* - `BALANCE`: Evenly
|
|
1284
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to rebalance resources.
|
|
1384
1285
|
*
|
|
1385
1286
|
* Default value: `PRIORITY`.
|
|
1386
1287
|
*
|
|
@@ -1390,7 +1291,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1390
1291
|
multiAzPolicy?: string;
|
|
1391
1292
|
/**
|
|
1392
1293
|
* @remarks
|
|
1393
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1294
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.
|
|
1394
1295
|
*
|
|
1395
1296
|
* @example
|
|
1396
1297
|
* 0
|
|
@@ -1406,10 +1307,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1406
1307
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1407
1308
|
/**
|
|
1408
1309
|
* @remarks
|
|
1409
|
-
* The subscription duration of nodes in the node pool.
|
|
1410
|
-
*
|
|
1411
|
-
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1412
|
-
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1310
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1413
1311
|
*
|
|
1414
1312
|
* @example
|
|
1415
1313
|
* 1
|
|
@@ -1417,12 +1315,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1417
1315
|
period?: number;
|
|
1418
1316
|
/**
|
|
1419
1317
|
* @remarks
|
|
1420
|
-
* The
|
|
1421
|
-
*
|
|
1422
|
-
* - `Month`: billed on a monthly basis.
|
|
1423
|
-
* - `Week`: billed on a weekly basis.
|
|
1424
|
-
*
|
|
1425
|
-
* Default value: `Month`.
|
|
1318
|
+
* The unit of the subscription period for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1426
1319
|
*
|
|
1427
1320
|
* @example
|
|
1428
1321
|
* Month
|
|
@@ -1430,15 +1323,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1430
1323
|
periodUnit?: string;
|
|
1431
1324
|
/**
|
|
1432
1325
|
* @remarks
|
|
1433
|
-
* [
|
|
1434
|
-
*
|
|
1435
|
-
* The operating system distribution. Valid values:
|
|
1436
|
-
* - `CentOS`
|
|
1437
|
-
* - `AliyunLinux`
|
|
1438
|
-
* - `Windows`
|
|
1439
|
-
* - `WindowsCore`
|
|
1440
|
-
*
|
|
1441
|
-
* Default value: `AliyunLinux`.
|
|
1326
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1442
1327
|
*
|
|
1443
1328
|
* @example
|
|
1444
1329
|
* null
|
|
@@ -1453,12 +1338,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1453
1338
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1454
1339
|
/**
|
|
1455
1340
|
* @remarks
|
|
1456
|
-
* The
|
|
1341
|
+
* The name of the worker RAM role.
|
|
1457
1342
|
*
|
|
1458
|
-
* * If left empty, the default
|
|
1459
|
-
* * If specified, the RAM role must be a **normal service role
|
|
1343
|
+
* * If this parameter is left empty, the default worker RAM role created by the cluster is used.
|
|
1344
|
+
* * If this parameter is specified, the specified RAM role must be a **normal service role**, and its **trusted service** must be configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1460
1345
|
*
|
|
1461
|
-
* >Notice:
|
|
1346
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.</notice>
|
|
1462
1347
|
*
|
|
1463
1348
|
* @example
|
|
1464
1349
|
* example-role
|
|
@@ -1471,18 +1356,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1471
1356
|
rdsInstances?: string[];
|
|
1472
1357
|
/**
|
|
1473
1358
|
* @remarks
|
|
1474
|
-
* The resource pool and resource pool
|
|
1359
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1475
1360
|
*/
|
|
1476
1361
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1477
1362
|
/**
|
|
1478
1363
|
* @remarks
|
|
1479
1364
|
* The scaling group mode. Valid values:
|
|
1480
1365
|
*
|
|
1481
|
-
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1482
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling speed. Stopped instances are not charged for compute resources, only for storage. This does not apply to instances with local disks.
|
|
1483
|
-
*
|
|
1484
|
-
* Default value: `release`.
|
|
1485
|
-
*
|
|
1486
1366
|
* @example
|
|
1487
1367
|
* release
|
|
1488
1368
|
*/
|
|
@@ -1499,17 +1379,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1499
1379
|
securityGroupId?: string;
|
|
1500
1380
|
/**
|
|
1501
1381
|
* @remarks
|
|
1502
|
-
* The list of security group IDs.
|
|
1382
|
+
* The list of security group IDs. Use either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1503
1383
|
*/
|
|
1504
1384
|
securityGroupIds?: string[];
|
|
1505
1385
|
/**
|
|
1506
1386
|
* @remarks
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1510
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1511
|
-
*
|
|
1512
|
-
* Default value: `false`.
|
|
1387
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1513
1388
|
*
|
|
1514
1389
|
* @example
|
|
1515
1390
|
* false
|
|
@@ -1517,7 +1392,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1517
1392
|
securityHardeningOs?: boolean;
|
|
1518
1393
|
/**
|
|
1519
1394
|
* @remarks
|
|
1520
|
-
* Specifies whether to enable
|
|
1395
|
+
* 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 classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1521
1396
|
*
|
|
1522
1397
|
* @example
|
|
1523
1398
|
* false
|
|
@@ -1525,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1525
1400
|
socEnabled?: boolean;
|
|
1526
1401
|
/**
|
|
1527
1402
|
* @remarks
|
|
1528
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1403
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1529
1404
|
*
|
|
1530
1405
|
* @example
|
|
1531
1406
|
* 5
|
|
@@ -1533,10 +1408,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1533
1408
|
spotInstancePools?: number;
|
|
1534
1409
|
/**
|
|
1535
1410
|
* @remarks
|
|
1536
|
-
* Specifies whether to enable
|
|
1537
|
-
*
|
|
1538
|
-
* - `true`: Enables supplementing spot instances.
|
|
1539
|
-
* - `false`: Disables supplementing spot instances.
|
|
1411
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, when the system receives a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1540
1412
|
*
|
|
1541
1413
|
* @example
|
|
1542
1414
|
* false
|
|
@@ -1544,20 +1416,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1544
1416
|
spotInstanceRemedy?: boolean;
|
|
1545
1417
|
/**
|
|
1546
1418
|
* @remarks
|
|
1547
|
-
* The price limit
|
|
1419
|
+
* The price limit configurations for a single spot instance of the current instance type.
|
|
1548
1420
|
*/
|
|
1549
1421
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1550
1422
|
/**
|
|
1551
1423
|
* @remarks
|
|
1552
|
-
* The spot instance
|
|
1553
|
-
*
|
|
1554
|
-
* - `NoSpot`: non-spot instance.
|
|
1555
|
-
*
|
|
1556
|
-
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1557
|
-
*
|
|
1558
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1559
|
-
*
|
|
1560
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1424
|
+
* The type of spot instance. Valid values:
|
|
1561
1425
|
*
|
|
1562
1426
|
* @example
|
|
1563
1427
|
* NoSpot
|
|
@@ -1565,11 +1429,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1565
1429
|
spotStrategy?: string;
|
|
1566
1430
|
/**
|
|
1567
1431
|
* @remarks
|
|
1568
|
-
* Specifies whether to enable burst (performance
|
|
1569
|
-
* - true: Enabled.
|
|
1570
|
-
* - false: Disabled.
|
|
1571
|
-
*
|
|
1572
|
-
* 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).
|
|
1432
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1573
1433
|
*
|
|
1574
1434
|
* @example
|
|
1575
1435
|
* true
|
|
@@ -1577,17 +1437,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1577
1437
|
systemDiskBurstingEnabled?: boolean;
|
|
1578
1438
|
/**
|
|
1579
1439
|
* @remarks
|
|
1580
|
-
* Multiple system cloud disk
|
|
1440
|
+
* Multiple disk types for the system cloud disk. If a disk type with a higher priority is unavailable, the system automatically attempts to create the system cloud disk with the next priority disk type.
|
|
1581
1441
|
*/
|
|
1582
1442
|
systemDiskCategories?: string[];
|
|
1583
1443
|
/**
|
|
1584
1444
|
* @remarks
|
|
1585
|
-
* The system cloud disk
|
|
1445
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1586
1446
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1587
1447
|
* - `cloud_ssd`: standard SSD.
|
|
1588
1448
|
* - `cloud_essd`: ESSD.
|
|
1589
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1590
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1449
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1450
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1591
1451
|
*
|
|
1592
1452
|
* Default value: `cloud_efficiency`.
|
|
1593
1453
|
*
|
|
@@ -1597,7 +1457,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1597
1457
|
systemDiskCategory?: string;
|
|
1598
1458
|
/**
|
|
1599
1459
|
* @remarks
|
|
1600
|
-
* The encryption algorithm
|
|
1460
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1601
1461
|
*
|
|
1602
1462
|
* @example
|
|
1603
1463
|
* aes-256
|
|
@@ -1607,10 +1467,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1607
1467
|
* @remarks
|
|
1608
1468
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1609
1469
|
*
|
|
1610
|
-
* - true: Encrypted.
|
|
1611
|
-
*
|
|
1612
|
-
* - false: Not encrypted.
|
|
1613
|
-
*
|
|
1614
1470
|
* @example
|
|
1615
1471
|
* false
|
|
1616
1472
|
*/
|
|
@@ -1625,11 +1481,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1625
1481
|
systemDiskKmsKeyId?: string;
|
|
1626
1482
|
/**
|
|
1627
1483
|
* @remarks
|
|
1628
|
-
* The performance level of the
|
|
1629
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1630
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1631
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1632
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1484
|
+
* The performance level of the system cloud disk for nodes. 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).
|
|
1633
1485
|
*
|
|
1634
1486
|
* @example
|
|
1635
1487
|
* PL1
|
|
@@ -1637,11 +1489,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1637
1489
|
systemDiskPerformanceLevel?: string;
|
|
1638
1490
|
/**
|
|
1639
1491
|
* @remarks
|
|
1640
|
-
* The provisioned read/write IOPS
|
|
1641
|
-
*
|
|
1642
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1643
|
-
*
|
|
1644
|
-
* 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).
|
|
1492
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1645
1493
|
*
|
|
1646
1494
|
* @example
|
|
1647
1495
|
* 1000
|
|
@@ -1649,9 +1497,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1649
1497
|
systemDiskProvisionedIops?: number;
|
|
1650
1498
|
/**
|
|
1651
1499
|
* @remarks
|
|
1652
|
-
* The system cloud disk
|
|
1653
|
-
*
|
|
1654
|
-
* Valid values: [20,2048\\].
|
|
1500
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1655
1501
|
*
|
|
1656
1502
|
* @example
|
|
1657
1503
|
* 120
|
|
@@ -1667,9 +1513,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1667
1513
|
systemDiskSnapshotPolicyId?: string;
|
|
1668
1514
|
/**
|
|
1669
1515
|
* @remarks
|
|
1670
|
-
* Tags added only to ECS instances.
|
|
1671
|
-
*
|
|
1672
|
-
* 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://".
|
|
1516
|
+
* Tags that are added only to ECS instances.
|
|
1673
1517
|
*/
|
|
1674
1518
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1675
1519
|
/**
|
|
@@ -1687,10 +1531,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1687
1531
|
autoRenewPeriod: 'auto_renew_period',
|
|
1688
1532
|
cisEnabled: 'cis_enabled',
|
|
1689
1533
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1534
|
+
cpuOptions: 'cpu_options',
|
|
1690
1535
|
dataDisks: 'data_disks',
|
|
1691
1536
|
deploymentsetId: 'deploymentset_id',
|
|
1692
1537
|
desiredSize: 'desired_size',
|
|
1693
1538
|
diskInit: 'disk_init',
|
|
1539
|
+
enableHighDensityMode: 'enable_high_density_mode',
|
|
1694
1540
|
imageId: 'image_id',
|
|
1695
1541
|
imageType: 'image_type',
|
|
1696
1542
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -1742,10 +1588,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1742
1588
|
autoRenewPeriod: 'number',
|
|
1743
1589
|
cisEnabled: 'boolean',
|
|
1744
1590
|
compensateWithOnDemand: 'boolean',
|
|
1591
|
+
cpuOptions: CreateClusterNodePoolRequestScalingGroupCpuOptions,
|
|
1745
1592
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1746
1593
|
deploymentsetId: 'string',
|
|
1747
1594
|
desiredSize: 'number',
|
|
1748
1595
|
diskInit: { 'type': 'array', 'itemType': DiskInit },
|
|
1596
|
+
enableHighDensityMode: 'boolean',
|
|
1749
1597
|
imageId: 'string',
|
|
1750
1598
|
imageType: 'string',
|
|
1751
1599
|
instanceChargeType: 'string',
|
|
@@ -1792,6 +1640,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1792
1640
|
}
|
|
1793
1641
|
|
|
1794
1642
|
validate() {
|
|
1643
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1644
|
+
(this.cpuOptions as any).validate();
|
|
1645
|
+
}
|
|
1795
1646
|
if(Array.isArray(this.dataDisks)) {
|
|
1796
1647
|
$dara.Model.validateArray(this.dataDisks);
|
|
1797
1648
|
}
|
|
@@ -1842,11 +1693,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1842
1693
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1843
1694
|
/**
|
|
1844
1695
|
* @remarks
|
|
1845
|
-
* Specifies whether to enable confidential computing
|
|
1846
|
-
*
|
|
1847
|
-
* - true: Enables confidential computing.
|
|
1848
|
-
*
|
|
1849
|
-
* - false: Does not enable confidential computing.
|
|
1696
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1850
1697
|
*
|
|
1851
1698
|
* @example
|
|
1852
1699
|
* true
|
|
@@ -1876,7 +1723,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1876
1723
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1877
1724
|
/**
|
|
1878
1725
|
* @remarks
|
|
1879
|
-
* The
|
|
1726
|
+
* The intelligent managed configuration for the node pool.
|
|
1880
1727
|
*/
|
|
1881
1728
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1882
1729
|
/**
|
|
@@ -1886,9 +1733,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1886
1733
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1887
1734
|
/**
|
|
1888
1735
|
* @remarks
|
|
1889
|
-
* [
|
|
1890
|
-
*
|
|
1891
|
-
* The number of nodes in the node pool.
|
|
1736
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1892
1737
|
*
|
|
1893
1738
|
* @example
|
|
1894
1739
|
* null
|
|
@@ -1903,9 +1748,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1903
1748
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1904
1749
|
/**
|
|
1905
1750
|
* @remarks
|
|
1906
|
-
* Specifies whether the
|
|
1907
|
-
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1908
|
-
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1751
|
+
* Specifies whether the Pod network mode uses host network mode.
|
|
1909
1752
|
*
|
|
1910
1753
|
* @example
|
|
1911
1754
|
* true
|
|
@@ -1913,19 +1756,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1913
1756
|
hostNetwork?: boolean;
|
|
1914
1757
|
/**
|
|
1915
1758
|
* @remarks
|
|
1916
|
-
* [
|
|
1917
|
-
*
|
|
1918
|
-
* The edge node pool configuration.
|
|
1759
|
+
* **[Deprecated]**
|
|
1919
1760
|
*
|
|
1920
1761
|
* @deprecated
|
|
1921
1762
|
*/
|
|
1922
1763
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1923
1764
|
/**
|
|
1924
1765
|
* @remarks
|
|
1925
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1926
|
-
*
|
|
1927
|
-
* - `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.
|
|
1928
|
-
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1766
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1929
1767
|
*
|
|
1930
1768
|
* @example
|
|
1931
1769
|
* basic
|
|
@@ -1934,8 +1772,6 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1934
1772
|
/**
|
|
1935
1773
|
* @remarks
|
|
1936
1774
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1937
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1938
|
-
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity.
|
|
1939
1775
|
*
|
|
1940
1776
|
* @example
|
|
1941
1777
|
* true
|
|
@@ -1948,14 +1784,12 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1948
1784
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1949
1785
|
/**
|
|
1950
1786
|
* @remarks
|
|
1951
|
-
* The managed node pool
|
|
1787
|
+
* The configuration of the managed node pool feature.
|
|
1952
1788
|
*/
|
|
1953
1789
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1954
1790
|
/**
|
|
1955
1791
|
* @remarks
|
|
1956
|
-
* [
|
|
1957
|
-
*
|
|
1958
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1792
|
+
* **[Deprecated]**
|
|
1959
1793
|
*
|
|
1960
1794
|
* @example
|
|
1961
1795
|
* null
|
|
@@ -1965,7 +1799,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1965
1799
|
maxNodes?: number;
|
|
1966
1800
|
/**
|
|
1967
1801
|
* @remarks
|
|
1968
|
-
* The node
|
|
1802
|
+
* The list of node components.
|
|
1969
1803
|
*/
|
|
1970
1804
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1971
1805
|
/**
|