@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
|
@@ -10,7 +10,8 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* [
|
|
13
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
*
|
|
14
15
|
* The peak bandwidth of the EIP.
|
|
15
16
|
*
|
|
16
17
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
@@ -23,14 +24,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
23
24
|
eipBandwidth?: number;
|
|
24
25
|
/**
|
|
25
26
|
* @remarks
|
|
26
|
-
* [
|
|
27
|
-
*
|
|
28
|
-
* The EIP billing type. Valid values:
|
|
29
|
-
*
|
|
30
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
32
|
-
*
|
|
33
|
-
* Default value: `PayByBandwidth`.
|
|
27
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
34
28
|
*
|
|
35
29
|
* @example
|
|
36
30
|
* null
|
|
@@ -42,26 +36,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
42
36
|
* @remarks
|
|
43
37
|
* Specifies whether to enable auto scaling. Valid values:
|
|
44
38
|
*
|
|
45
|
-
* - `true`: enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
46
|
-
*
|
|
47
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
48
|
-
*
|
|
49
|
-
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
50
|
-
*
|
|
51
|
-
* Default value: `false`.
|
|
52
|
-
*
|
|
53
39
|
* @example
|
|
54
40
|
* true
|
|
55
41
|
*/
|
|
56
42
|
enable?: boolean;
|
|
57
43
|
/**
|
|
58
44
|
* @remarks
|
|
59
|
-
* [
|
|
60
|
-
*
|
|
61
|
-
* - `true`: associates an EIP.
|
|
62
|
-
* - `false`: does not associate an EIP.
|
|
63
|
-
*
|
|
64
|
-
* Default value: `false`.
|
|
45
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
65
46
|
*
|
|
66
47
|
* @example
|
|
67
48
|
* null
|
|
@@ -71,9 +52,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
71
52
|
isBondEip?: boolean;
|
|
72
53
|
/**
|
|
73
54
|
* @remarks
|
|
74
|
-
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
75
|
-
*
|
|
76
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
55
|
+
* The maximum number of instances that can be scaled out in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
77
56
|
*
|
|
78
57
|
* @example
|
|
79
58
|
* 10
|
|
@@ -81,12 +60,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
81
60
|
maxInstances?: number;
|
|
82
61
|
/**
|
|
83
62
|
* @remarks
|
|
84
|
-
* The minimum number of instances
|
|
63
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
85
64
|
*
|
|
86
65
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
87
66
|
*
|
|
88
|
-
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after
|
|
89
|
-
* > -
|
|
67
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after it takes effect.
|
|
68
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the auto scaling feature takes effect.
|
|
90
69
|
*
|
|
91
70
|
* @example
|
|
92
71
|
* 2
|
|
@@ -96,13 +75,6 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
96
75
|
* @remarks
|
|
97
76
|
* The auto scaling type, classified by instance type. Valid values:
|
|
98
77
|
*
|
|
99
|
-
* - `cpu`: regular instance type.
|
|
100
|
-
* - `gpu`: GPU instance type.
|
|
101
|
-
* - `gpushare`: GPU sharing type.
|
|
102
|
-
* - `spot`: spot instance type.
|
|
103
|
-
*
|
|
104
|
-
* Default value: `cpu`.
|
|
105
|
-
*
|
|
106
78
|
* @example
|
|
107
79
|
* cpu
|
|
108
80
|
*
|
|
@@ -185,12 +157,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
185
157
|
cmsEnabled?: boolean;
|
|
186
158
|
/**
|
|
187
159
|
* @remarks
|
|
188
|
-
* The
|
|
189
|
-
*
|
|
190
|
-
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
191
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
192
|
-
*
|
|
193
|
-
* Default value: `none`.
|
|
160
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
194
161
|
*
|
|
195
162
|
* @example
|
|
196
163
|
* none
|
|
@@ -198,19 +165,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
198
165
|
cpuPolicy?: string;
|
|
199
166
|
/**
|
|
200
167
|
* @remarks
|
|
201
|
-
* The node labels
|
|
202
|
-
*
|
|
203
|
-
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
204
|
-
* - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. Neither label keys nor label values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
168
|
+
* The node labels. You can add labels to the nodes in the Kubernetes cluster. Label definition rules:
|
|
205
169
|
*/
|
|
206
170
|
labels?: Tag[];
|
|
207
171
|
/**
|
|
208
172
|
* @remarks
|
|
209
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
210
|
-
*
|
|
211
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
|
|
212
|
-
*
|
|
213
|
-
* The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
173
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP address + suffix.
|
|
214
174
|
*
|
|
215
175
|
* @example
|
|
216
176
|
* customized,aliyun,ip,com
|
|
@@ -218,7 +178,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
218
178
|
nodeNameMode?: string;
|
|
219
179
|
/**
|
|
220
180
|
* @remarks
|
|
221
|
-
* The pre-
|
|
181
|
+
* The pre-user data of the instance. Before a node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
222
182
|
*
|
|
223
183
|
* @example
|
|
224
184
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -226,11 +186,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
226
186
|
preUserData?: string;
|
|
227
187
|
/**
|
|
228
188
|
* @remarks
|
|
229
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
189
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
230
190
|
*
|
|
231
|
-
* - containerd:
|
|
232
|
-
* - Sandboxed-Container.runv:
|
|
233
|
-
* - docker:
|
|
191
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
192
|
+
* - Sandboxed-Container.runv: Sandboxed container runtime that provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
193
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
234
194
|
*
|
|
235
195
|
* Default value: containerd.
|
|
236
196
|
*
|
|
@@ -253,11 +213,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
253
213
|
taints?: Taint[];
|
|
254
214
|
/**
|
|
255
215
|
* @remarks
|
|
256
|
-
* Specifies whether the nodes added
|
|
257
|
-
*
|
|
258
|
-
* - true: unschedulable.
|
|
259
|
-
*
|
|
260
|
-
* - false: schedulable.
|
|
216
|
+
* Specifies whether the nodes added during the scale-out are unschedulable.
|
|
261
217
|
*
|
|
262
218
|
* @example
|
|
263
219
|
* false
|
|
@@ -265,7 +221,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
265
221
|
unschedulable?: boolean;
|
|
266
222
|
/**
|
|
267
223
|
* @remarks
|
|
268
|
-
* The instance user data. After
|
|
224
|
+
* The instance user data. After a node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
269
225
|
*
|
|
270
226
|
* @example
|
|
271
227
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -332,12 +288,23 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
332
288
|
autoRepairPolicyId?: string;
|
|
333
289
|
/**
|
|
334
290
|
* @remarks
|
|
335
|
-
*
|
|
291
|
+
* 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.
|
|
336
292
|
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
293
|
+
* @example
|
|
294
|
+
* 5
|
|
295
|
+
*/
|
|
296
|
+
maxParallelRepairingNodes?: string;
|
|
297
|
+
/**
|
|
298
|
+
* @remarks
|
|
299
|
+
* 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%.
|
|
339
300
|
*
|
|
340
|
-
*
|
|
301
|
+
* @example
|
|
302
|
+
* 20%
|
|
303
|
+
*/
|
|
304
|
+
maxUnhealthyNodesThreshold?: string;
|
|
305
|
+
/**
|
|
306
|
+
* @remarks
|
|
307
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
341
308
|
*
|
|
342
309
|
* @example
|
|
343
310
|
* true
|
|
@@ -347,6 +314,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
347
314
|
return {
|
|
348
315
|
approvalRequired: 'approval_required',
|
|
349
316
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
317
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
318
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
350
319
|
restartNode: 'restart_node',
|
|
351
320
|
};
|
|
352
321
|
}
|
|
@@ -355,6 +324,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
355
324
|
return {
|
|
356
325
|
approvalRequired: 'boolean',
|
|
357
326
|
autoRepairPolicyId: 'string',
|
|
327
|
+
maxParallelRepairingNodes: 'string',
|
|
328
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
358
329
|
restartNode: 'boolean',
|
|
359
330
|
};
|
|
360
331
|
}
|
|
@@ -371,11 +342,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
371
342
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
372
343
|
/**
|
|
373
344
|
* @remarks
|
|
374
|
-
* Specifies whether to allow
|
|
375
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
376
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
377
|
-
*
|
|
378
|
-
* Default value: `true`.
|
|
345
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
379
346
|
*
|
|
380
347
|
* @example
|
|
381
348
|
* true
|
|
@@ -383,11 +350,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
383
350
|
autoUpgradeKubelet?: boolean;
|
|
384
351
|
/**
|
|
385
352
|
* @remarks
|
|
386
|
-
* Specifies whether to allow
|
|
387
|
-
* - `true`: allows automatic OS upgrade.
|
|
388
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
389
|
-
*
|
|
390
|
-
* Default value: `false`.
|
|
353
|
+
* Specifies whether to allow auto upgrade of the operating system. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
391
354
|
*
|
|
392
355
|
* @example
|
|
393
356
|
* false
|
|
@@ -395,11 +358,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
395
358
|
autoUpgradeOs?: boolean;
|
|
396
359
|
/**
|
|
397
360
|
* @remarks
|
|
398
|
-
* Specifies whether to allow
|
|
399
|
-
* - `true`: allows automatic runtime upgrade.
|
|
400
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
401
|
-
*
|
|
402
|
-
* Default value: `true`.
|
|
361
|
+
* Specifies whether to allow auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
403
362
|
*
|
|
404
363
|
* @example
|
|
405
364
|
* false
|
|
@@ -433,9 +392,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
433
392
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
434
393
|
/**
|
|
435
394
|
* @remarks
|
|
436
|
-
* Specifies the packages to exclude during vulnerability
|
|
437
|
-
*
|
|
438
|
-
* Default value: `kernel`.
|
|
395
|
+
* Specifies the packages to exclude during vulnerability fix.
|
|
439
396
|
*
|
|
440
397
|
* @example
|
|
441
398
|
* kernel
|
|
@@ -443,11 +400,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
443
400
|
excludePackages?: string;
|
|
444
401
|
/**
|
|
445
402
|
* @remarks
|
|
446
|
-
* Specifies whether to allow node
|
|
447
|
-
* - `true`:
|
|
448
|
-
* - `false`:
|
|
403
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
404
|
+
* - `true`: Node restarts are allowed.
|
|
405
|
+
* - `false`: Node restarts are not allowed.
|
|
449
406
|
*
|
|
450
|
-
* Default value: `true
|
|
407
|
+
* Default value: `true`
|
|
451
408
|
*
|
|
452
409
|
* @example
|
|
453
410
|
* true
|
|
@@ -455,13 +412,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
455
412
|
restartNode?: boolean;
|
|
456
413
|
/**
|
|
457
414
|
* @remarks
|
|
458
|
-
* The vulnerability levels allowed for
|
|
459
|
-
*
|
|
460
|
-
* - `asap`: high
|
|
461
|
-
* - `later`: medium
|
|
462
|
-
* - `nntf`: low
|
|
463
|
-
*
|
|
464
|
-
* Default value: `asap`.
|
|
415
|
+
* The vulnerability levels that are allowed for auto fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
465
416
|
*
|
|
466
417
|
* @example
|
|
467
418
|
* asap,nntf
|
|
@@ -495,14 +446,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
495
446
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
496
447
|
/**
|
|
497
448
|
* @remarks
|
|
498
|
-
* [
|
|
499
|
-
*
|
|
500
|
-
* Specifies whether to enable auto upgrade:
|
|
501
|
-
*
|
|
502
|
-
* - true: enables auto upgrade.
|
|
503
|
-
* - false: disables auto upgrade.
|
|
504
|
-
*
|
|
505
|
-
* Default value: `true`.
|
|
449
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
506
450
|
*
|
|
507
451
|
* @example
|
|
508
452
|
* true
|
|
@@ -514,21 +458,13 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
514
458
|
* @remarks
|
|
515
459
|
* The maximum number of unavailable nodes.
|
|
516
460
|
*
|
|
517
|
-
* Valid values: [1,1000\\].
|
|
518
|
-
*
|
|
519
|
-
* Default value: 1.
|
|
520
|
-
*
|
|
521
461
|
* @example
|
|
522
462
|
* 1
|
|
523
463
|
*/
|
|
524
464
|
maxUnavailable?: number;
|
|
525
465
|
/**
|
|
526
466
|
* @remarks
|
|
527
|
-
* The number of extra nodes.
|
|
528
|
-
*
|
|
529
|
-
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
530
|
-
*
|
|
531
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
467
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
532
468
|
*
|
|
533
469
|
* @example
|
|
534
470
|
* 5
|
|
@@ -536,9 +472,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
536
472
|
surge?: number;
|
|
537
473
|
/**
|
|
538
474
|
* @remarks
|
|
539
|
-
* The percentage of extra nodes.
|
|
540
|
-
*
|
|
541
|
-
* 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.
|
|
475
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
542
476
|
*
|
|
543
477
|
* @example
|
|
544
478
|
* 0
|
|
@@ -581,9 +515,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
581
515
|
* @remarks
|
|
582
516
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
583
517
|
*
|
|
584
|
-
* - `true`:
|
|
518
|
+
* - `true`: Automatically repairs nodes.
|
|
585
519
|
*
|
|
586
|
-
* - `false`:
|
|
520
|
+
* - `false`: Does not automatically repair nodes.
|
|
587
521
|
*
|
|
588
522
|
* Default value: `true`.
|
|
589
523
|
*
|
|
@@ -599,10 +533,6 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
599
533
|
/**
|
|
600
534
|
* @remarks
|
|
601
535
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
602
|
-
* - `true`: enables auto upgrade.
|
|
603
|
-
* - `false`: disables auto upgrade.
|
|
604
|
-
*
|
|
605
|
-
* Default value: `true`.
|
|
606
536
|
*
|
|
607
537
|
* @example
|
|
608
538
|
* true
|
|
@@ -617,11 +547,6 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
617
547
|
* @remarks
|
|
618
548
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
619
549
|
*
|
|
620
|
-
* - `true`: allows automatic CVE fixing.
|
|
621
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
622
|
-
*
|
|
623
|
-
* Default value: `true`.
|
|
624
|
-
*
|
|
625
550
|
* @example
|
|
626
551
|
* true
|
|
627
552
|
*/
|
|
@@ -631,25 +556,24 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
631
556
|
* The auto CVE fix policy.
|
|
632
557
|
*/
|
|
633
558
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
559
|
+
/**
|
|
560
|
+
* @remarks
|
|
561
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
562
|
+
*/
|
|
634
563
|
driftEnabled?: boolean;
|
|
635
564
|
/**
|
|
636
565
|
* @remarks
|
|
637
566
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
638
567
|
*
|
|
639
|
-
* - `true`: enables the managed node pool.
|
|
640
|
-
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
641
|
-
*
|
|
642
|
-
* Default value: `false`.
|
|
643
|
-
*
|
|
644
568
|
* @example
|
|
645
569
|
* true
|
|
646
570
|
*/
|
|
647
571
|
enable?: boolean;
|
|
648
572
|
/**
|
|
649
573
|
* @remarks
|
|
650
|
-
* [
|
|
574
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
651
575
|
*
|
|
652
|
-
* The
|
|
576
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
653
577
|
*
|
|
654
578
|
* @deprecated
|
|
655
579
|
*/
|
|
@@ -718,9 +642,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
718
642
|
name?: string;
|
|
719
643
|
/**
|
|
720
644
|
* @remarks
|
|
721
|
-
* The resource group ID of the node pool. Instances
|
|
722
|
-
*
|
|
723
|
-
* 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.
|
|
645
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
724
646
|
*
|
|
725
647
|
* @example
|
|
726
648
|
* rg-acfmyvw3wjm****
|
|
@@ -760,10 +682,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
760
682
|
id?: string;
|
|
761
683
|
/**
|
|
762
684
|
* @remarks
|
|
763
|
-
* The private node pool
|
|
764
|
-
* - `Open`: open mode.
|
|
765
|
-
* - `Target`: targeted mode.
|
|
766
|
-
* - `None`: none mode.
|
|
685
|
+
* The type of the private node pool. The private pool option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during launch. Valid values:
|
|
686
|
+
* - `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 launch the instance.
|
|
687
|
+
* - `Target`: targeted mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
688
|
+
* - `None`: none mode. The instance launch does not use private pool capacity.
|
|
767
689
|
*
|
|
768
690
|
* @example
|
|
769
691
|
* Open
|
|
@@ -800,7 +722,13 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
800
722
|
privatePoolIds?: string[];
|
|
801
723
|
/**
|
|
802
724
|
* @remarks
|
|
803
|
-
* The resource pool strategy used when
|
|
725
|
+
* 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:
|
|
726
|
+
*
|
|
727
|
+
* - PrivatePoolFirst: private pool preferred. 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.
|
|
728
|
+
* - 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.
|
|
729
|
+
* - None: no resource pool strategy is used.
|
|
730
|
+
*
|
|
731
|
+
* Default value: None.
|
|
804
732
|
*
|
|
805
733
|
* @example
|
|
806
734
|
* PrivatePoolFirst
|
|
@@ -843,7 +771,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
843
771
|
instanceType?: string;
|
|
844
772
|
/**
|
|
845
773
|
* @remarks
|
|
846
|
-
* The maximum price
|
|
774
|
+
* The maximum price of a single instance.
|
|
847
775
|
*
|
|
848
776
|
* <props="china">Unit: CNY/hour.
|
|
849
777
|
*
|
|
@@ -883,22 +811,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
883
811
|
* @remarks
|
|
884
812
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
885
813
|
*
|
|
886
|
-
* - `true`: enables auto-renewal.
|
|
887
|
-
* - `false`: disables auto-renewal.
|
|
888
|
-
*
|
|
889
|
-
* Default value: `false`.
|
|
890
|
-
*
|
|
891
814
|
* @example
|
|
892
815
|
* true
|
|
893
816
|
*/
|
|
894
817
|
autoRenew?: boolean;
|
|
895
818
|
/**
|
|
896
819
|
* @remarks
|
|
897
|
-
* The auto-renewal
|
|
898
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
899
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
900
|
-
*
|
|
901
|
-
* Default value: 1.
|
|
820
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
902
821
|
*
|
|
903
822
|
* @example
|
|
904
823
|
* 1
|
|
@@ -906,10 +825,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
906
825
|
autoRenewPeriod?: number;
|
|
907
826
|
/**
|
|
908
827
|
* @remarks
|
|
909
|
-
*
|
|
828
|
+
* 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:
|
|
910
829
|
*
|
|
911
|
-
* - `true`:
|
|
912
|
-
* - `false`:
|
|
830
|
+
* - `true`: allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
831
|
+
* - `false`: does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
913
832
|
*
|
|
914
833
|
* @example
|
|
915
834
|
* true
|
|
@@ -917,7 +836,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
917
836
|
compensateWithOnDemand?: boolean;
|
|
918
837
|
/**
|
|
919
838
|
* @remarks
|
|
920
|
-
* The data cloud disk
|
|
839
|
+
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can add up to 10 data cloud disks.
|
|
921
840
|
*/
|
|
922
841
|
dataDisks?: DataDisk[];
|
|
923
842
|
/**
|
|
@@ -932,10 +851,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
932
851
|
* @remarks
|
|
933
852
|
* The desired number of nodes in the node pool.
|
|
934
853
|
*
|
|
935
|
-
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
936
|
-
*
|
|
937
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
938
|
-
*
|
|
939
854
|
* @example
|
|
940
855
|
* 2
|
|
941
856
|
*/
|
|
@@ -945,6 +860,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
945
860
|
* The block device initialization configuration.
|
|
946
861
|
*/
|
|
947
862
|
diskInit?: DiskInit[];
|
|
863
|
+
/**
|
|
864
|
+
* @remarks
|
|
865
|
+
* 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 count supported by the instance type.
|
|
866
|
+
*
|
|
867
|
+
* @example
|
|
868
|
+
* false
|
|
869
|
+
*/
|
|
870
|
+
enableHighDensityMode?: boolean;
|
|
948
871
|
/**
|
|
949
872
|
* @remarks
|
|
950
873
|
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
@@ -965,7 +888,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
965
888
|
* - `CentOS`: CentOS image.
|
|
966
889
|
* - `Windows`: Windows image.
|
|
967
890
|
* - `WindowsCore`: WindowsCore image.
|
|
968
|
-
* - `ContainerOS`:
|
|
891
|
+
* - `ContainerOS`: Container-optimized image.
|
|
969
892
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
970
893
|
*
|
|
971
894
|
* @example
|
|
@@ -976,33 +899,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
976
899
|
* @remarks
|
|
977
900
|
* The billing method of nodes in the node pool. Valid values:
|
|
978
901
|
*
|
|
979
|
-
* - `PrePaid`: subscription.
|
|
980
|
-
* - `PostPaid`: pay-as-you-go.
|
|
981
|
-
*
|
|
982
|
-
* Default value: `PostPaid`.
|
|
983
|
-
*
|
|
984
902
|
* @example
|
|
985
903
|
* PostPaid
|
|
986
904
|
*/
|
|
987
905
|
instanceChargeType?: string;
|
|
988
906
|
/**
|
|
989
907
|
* @remarks
|
|
990
|
-
* The instance attribute
|
|
908
|
+
* The instance attribute configurations.
|
|
991
909
|
*/
|
|
992
910
|
instancePatterns?: InstancePatterns[];
|
|
993
911
|
/**
|
|
994
912
|
* @remarks
|
|
995
|
-
* The list of node instance types. You can
|
|
996
|
-
*
|
|
997
|
-
* Supported number of instance types: [1,10].
|
|
913
|
+
* The list of node instance types. You can specify multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until the creation succeeds. The final purchased instance type may vary depending on inventory availability.
|
|
998
914
|
*/
|
|
999
915
|
instanceTypes?: string[];
|
|
1000
916
|
/**
|
|
1001
917
|
* @remarks
|
|
1002
|
-
* The billing
|
|
1003
|
-
*
|
|
1004
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1005
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
918
|
+
* The billing method for public IP addresses. Valid values:
|
|
1006
919
|
*
|
|
1007
920
|
* @example
|
|
1008
921
|
* PayByBandwidth
|
|
@@ -1010,7 +923,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1010
923
|
internetChargeType?: string;
|
|
1011
924
|
/**
|
|
1012
925
|
* @remarks
|
|
1013
|
-
* The maximum outbound bandwidth for the node public IP address. Unit:
|
|
926
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1014
927
|
*
|
|
1015
928
|
* @example
|
|
1016
929
|
* 5
|
|
@@ -1018,7 +931,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1018
931
|
internetMaxBandwidthOut?: number;
|
|
1019
932
|
/**
|
|
1020
933
|
* @remarks
|
|
1021
|
-
* The key pair name.
|
|
934
|
+
* The key pair name. Specify either this parameter or `login_password`. When the node pool is a managed node pool, only `key_pair` is supported.
|
|
1022
935
|
*
|
|
1023
936
|
* @example
|
|
1024
937
|
* pro-nodepool
|
|
@@ -1026,7 +939,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1026
939
|
keyPair?: string;
|
|
1027
940
|
/**
|
|
1028
941
|
* @remarks
|
|
1029
|
-
* The SSH logon password.
|
|
942
|
+
* The SSH logon password. Specify 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.
|
|
1030
943
|
*
|
|
1031
944
|
* @example
|
|
1032
945
|
* Hello1234
|
|
@@ -1036,23 +949,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1036
949
|
* @remarks
|
|
1037
950
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1038
951
|
*
|
|
1039
|
-
* - `PRIORITY`: scales instances based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1040
|
-
*
|
|
1041
|
-
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1042
|
-
*
|
|
1043
|
-
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
1044
|
-
*
|
|
1045
|
-
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1046
|
-
*
|
|
1047
|
-
* Default value: `PRIORITY`.
|
|
1048
|
-
*
|
|
1049
952
|
* @example
|
|
1050
953
|
* BALANCE
|
|
1051
954
|
*/
|
|
1052
955
|
multiAzPolicy?: string;
|
|
1053
956
|
/**
|
|
1054
957
|
* @remarks
|
|
1055
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
958
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created with priority when the number of pay-as-you-go instances is less than this value.
|
|
1056
959
|
*
|
|
1057
960
|
* @example
|
|
1058
961
|
* 0
|
|
@@ -1060,8 +963,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1060
963
|
onDemandBaseCapacity?: number;
|
|
1061
964
|
/**
|
|
1062
965
|
* @remarks
|
|
1063
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go
|
|
1064
|
-
* [_single.params.body.props.scaling_group.spot
|
|
966
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1065
967
|
*
|
|
1066
968
|
* @example
|
|
1067
969
|
* 20
|
|
@@ -1069,10 +971,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1069
971
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1070
972
|
/**
|
|
1071
973
|
* @remarks
|
|
1072
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect
|
|
974
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid` and is required in this case.
|
|
1073
975
|
*
|
|
1074
|
-
* - When `period_unit=Week`, valid values of `period`:
|
|
1075
|
-
* - When `period_unit=Month`, valid values of `period`:
|
|
976
|
+
* - When `period_unit=Week`, valid values of `period`: 1, 2, 3, and 4.
|
|
977
|
+
* - When `period_unit=Month`, valid values of `period`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1076
978
|
*
|
|
1077
979
|
* @example
|
|
1078
980
|
* 1
|
|
@@ -1082,18 +984,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1082
984
|
* @remarks
|
|
1083
985
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1084
986
|
*
|
|
1085
|
-
* - `Month`: uses month as the billing unit.
|
|
1086
|
-
* - `Week`: uses week as the billing unit.
|
|
1087
|
-
*
|
|
1088
|
-
* Default value: `Month`.
|
|
1089
|
-
*
|
|
1090
987
|
* @example
|
|
1091
988
|
* Month
|
|
1092
989
|
*/
|
|
1093
990
|
periodUnit?: string;
|
|
1094
991
|
/**
|
|
1095
992
|
* @remarks
|
|
1096
|
-
* **
|
|
993
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1097
994
|
*
|
|
1098
995
|
* The operating system platform. Valid values:
|
|
1099
996
|
*
|
|
@@ -1115,21 +1012,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1115
1012
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1116
1013
|
/**
|
|
1117
1014
|
* @remarks
|
|
1118
|
-
* The list of
|
|
1015
|
+
* The list of RDS instances.
|
|
1119
1016
|
*/
|
|
1120
1017
|
rdsInstances?: string[];
|
|
1121
1018
|
/**
|
|
1122
1019
|
* @remarks
|
|
1123
|
-
* The resource
|
|
1020
|
+
* The resource pools and resource pool policies used when creating instances. After you set this parameter, note the following:
|
|
1124
1021
|
*/
|
|
1125
1022
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1126
1023
|
/**
|
|
1127
1024
|
* @remarks
|
|
1128
1025
|
* The scaling group mode. Valid values:
|
|
1129
1026
|
*
|
|
1130
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1131
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.)
|
|
1132
|
-
*
|
|
1133
1027
|
* @example
|
|
1134
1028
|
* release
|
|
1135
1029
|
*/
|
|
@@ -1141,7 +1035,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1141
1035
|
securityGroupIds?: string[];
|
|
1142
1036
|
/**
|
|
1143
1037
|
* @remarks
|
|
1144
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1038
|
+
* The number of available instance types. The scaling group creates spot instances in a cost-optimized manner across multiple instance types. Valid values: [1,10\\].
|
|
1145
1039
|
*
|
|
1146
1040
|
* @example
|
|
1147
1041
|
* 5
|
|
@@ -1149,10 +1043,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1149
1043
|
spotInstancePools?: number;
|
|
1150
1044
|
/**
|
|
1151
1045
|
* @remarks
|
|
1152
|
-
* Specifies whether to enable
|
|
1153
|
-
*
|
|
1154
|
-
* - `true`: Enables supplementing spot instances.
|
|
1155
|
-
* - `false`: Disables supplementing spot instances.
|
|
1046
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance that is about to be reclaimed. Valid values:
|
|
1156
1047
|
*
|
|
1157
1048
|
* @example
|
|
1158
1049
|
* false
|
|
@@ -1160,18 +1051,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1160
1051
|
spotInstanceRemedy?: boolean;
|
|
1161
1052
|
/**
|
|
1162
1053
|
* @remarks
|
|
1163
|
-
* The price limit
|
|
1054
|
+
* The price limit configurations for spot instances.
|
|
1164
1055
|
*/
|
|
1165
1056
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1166
1057
|
/**
|
|
1167
1058
|
* @remarks
|
|
1168
|
-
* The spot instance
|
|
1169
|
-
*
|
|
1170
|
-
* - `NoSpot`: non-spot instance.
|
|
1171
|
-
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
1172
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1173
|
-
*
|
|
1174
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1059
|
+
* The type of spot instance. Valid values:
|
|
1175
1060
|
*
|
|
1176
1061
|
* @example
|
|
1177
1062
|
* SpotWithPriceLimit
|
|
@@ -1179,11 +1064,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1179
1064
|
spotStrategy?: string;
|
|
1180
1065
|
/**
|
|
1181
1066
|
* @remarks
|
|
1182
|
-
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1183
|
-
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
1184
|
-
* - false: disables burst.
|
|
1185
|
-
*
|
|
1186
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1067
|
+
* Specifies whether to enable burst (I/O performance burst) for the node system cloud disk. Valid values:
|
|
1187
1068
|
*
|
|
1188
1069
|
* @example
|
|
1189
1070
|
* true
|
|
@@ -1191,17 +1072,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1191
1072
|
systemDiskBurstingEnabled?: boolean;
|
|
1192
1073
|
/**
|
|
1193
1074
|
* @remarks
|
|
1194
|
-
*
|
|
1075
|
+
* The multiple cloud disk types for the system cloud disk. If a cloud disk type with a higher priority is unavailable, the system automatically attempts the next priority cloud disk type to create the system cloud disk.
|
|
1195
1076
|
*/
|
|
1196
1077
|
systemDiskCategories?: string[];
|
|
1197
1078
|
/**
|
|
1198
1079
|
* @remarks
|
|
1199
|
-
* The type of the
|
|
1080
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1200
1081
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1201
1082
|
* - `cloud_ssd`: standard SSD.
|
|
1202
1083
|
* - `cloud_essd`: ESSD.
|
|
1203
1084
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1204
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1085
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1205
1086
|
*
|
|
1206
1087
|
* Default value: `cloud_efficiency`.
|
|
1207
1088
|
*
|
|
@@ -1221,10 +1102,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1221
1102
|
* @remarks
|
|
1222
1103
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1223
1104
|
*
|
|
1224
|
-
* - true: encrypts the system cloud disk.
|
|
1225
|
-
*
|
|
1226
|
-
* - false: does not encrypt the system cloud disk.
|
|
1227
|
-
*
|
|
1228
1105
|
* @example
|
|
1229
1106
|
* false
|
|
1230
1107
|
*/
|
|
@@ -1239,11 +1116,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1239
1116
|
systemDiskKmsKeyId?: string;
|
|
1240
1117
|
/**
|
|
1241
1118
|
* @remarks
|
|
1242
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [
|
|
1243
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1244
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1245
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1246
|
-
* - PL3: extremely high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1119
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1247
1120
|
*
|
|
1248
1121
|
* @example
|
|
1249
1122
|
* PL1
|
|
@@ -1253,10 +1126,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1253
1126
|
* @remarks
|
|
1254
1127
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1255
1128
|
*
|
|
1256
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1257
|
-
*
|
|
1258
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1259
|
-
*
|
|
1260
1129
|
* @example
|
|
1261
1130
|
* 1000
|
|
1262
1131
|
*/
|
|
@@ -1265,12 +1134,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1265
1134
|
* @remarks
|
|
1266
1135
|
* The size of the node system cloud disk. Unit: GiB.
|
|
1267
1136
|
*
|
|
1268
|
-
* Valid values: [20,2048\\].
|
|
1269
|
-
*
|
|
1270
|
-
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1271
|
-
*
|
|
1272
|
-
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1273
|
-
*
|
|
1274
1137
|
* @example
|
|
1275
1138
|
* 120
|
|
1276
1139
|
*/
|
|
@@ -1285,14 +1148,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1285
1148
|
systemDiskSnapshotPolicyId?: string;
|
|
1286
1149
|
/**
|
|
1287
1150
|
* @remarks
|
|
1288
|
-
*
|
|
1289
|
-
*
|
|
1290
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1151
|
+
* Adds tags only to ECS instances.
|
|
1291
1152
|
*/
|
|
1292
1153
|
tags?: Tag[];
|
|
1293
1154
|
/**
|
|
1294
1155
|
* @remarks
|
|
1295
|
-
* The list of vSwitch IDs. Valid values:
|
|
1156
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1296
1157
|
*
|
|
1297
1158
|
* > To ensure high availability, select vSwitches in different zones.
|
|
1298
1159
|
*/
|
|
@@ -1306,6 +1167,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1306
1167
|
deploymentsetId: 'deploymentset_id',
|
|
1307
1168
|
desiredSize: 'desired_size',
|
|
1308
1169
|
diskInit: 'disk_init',
|
|
1170
|
+
enableHighDensityMode: 'enable_high_density_mode',
|
|
1309
1171
|
imageId: 'image_id',
|
|
1310
1172
|
imageType: 'image_type',
|
|
1311
1173
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -1354,6 +1216,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1354
1216
|
deploymentsetId: 'string',
|
|
1355
1217
|
desiredSize: 'number',
|
|
1356
1218
|
diskInit: { 'type': 'array', 'itemType': DiskInit },
|
|
1219
|
+
enableHighDensityMode: 'boolean',
|
|
1357
1220
|
imageId: 'string',
|
|
1358
1221
|
imageType: 'string',
|
|
1359
1222
|
instanceChargeType: 'string',
|
|
@@ -1444,7 +1307,7 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1444
1307
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1445
1308
|
*
|
|
1446
1309
|
* - `true`: Enabled.
|
|
1447
|
-
* - `false`:
|
|
1310
|
+
* - `false`: Not enabled.
|
|
1448
1311
|
*
|
|
1449
1312
|
* Default value: `false`.
|
|
1450
1313
|
*
|
|
@@ -1519,7 +1382,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1519
1382
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1520
1383
|
/**
|
|
1521
1384
|
* @remarks
|
|
1522
|
-
*
|
|
1385
|
+
* Specifies whether to synchronously update node labels and taints.
|
|
1523
1386
|
*
|
|
1524
1387
|
* @example
|
|
1525
1388
|
* true
|