@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
|
@@ -7,7 +7,8 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* [
|
|
10
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
*
|
|
11
12
|
* The peak bandwidth of the EIP.
|
|
12
13
|
*
|
|
13
14
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
@@ -20,14 +21,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
20
21
|
eipBandwidth?: number;
|
|
21
22
|
/**
|
|
22
23
|
* @remarks
|
|
23
|
-
* [
|
|
24
|
-
*
|
|
25
|
-
* The EIP billing type. Valid values:
|
|
26
|
-
*
|
|
27
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
29
|
-
*
|
|
30
|
-
* Default value: `PayByBandwidth`.
|
|
24
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
31
25
|
*
|
|
32
26
|
* @example
|
|
33
27
|
* null
|
|
@@ -39,26 +33,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
39
33
|
* @remarks
|
|
40
34
|
* Specifies whether to enable auto scaling. Valid values:
|
|
41
35
|
*
|
|
42
|
-
* - `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).
|
|
43
|
-
*
|
|
44
|
-
* - `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.
|
|
45
|
-
*
|
|
46
|
-
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
|
-
*
|
|
48
|
-
* Default value: `false`.
|
|
49
|
-
*
|
|
50
36
|
* @example
|
|
51
37
|
* true
|
|
52
38
|
*/
|
|
53
39
|
enable?: boolean;
|
|
54
40
|
/**
|
|
55
41
|
* @remarks
|
|
56
|
-
* [
|
|
57
|
-
*
|
|
58
|
-
* - `true`: associates an EIP.
|
|
59
|
-
* - `false`: does not associate an EIP.
|
|
60
|
-
*
|
|
61
|
-
* Default value: `false`.
|
|
42
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
62
43
|
*
|
|
63
44
|
* @example
|
|
64
45
|
* null
|
|
@@ -68,9 +49,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
68
49
|
isBondEip?: boolean;
|
|
69
50
|
/**
|
|
70
51
|
* @remarks
|
|
71
|
-
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
72
|
-
*
|
|
73
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
52
|
+
* 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`.
|
|
74
53
|
*
|
|
75
54
|
* @example
|
|
76
55
|
* 10
|
|
@@ -78,12 +57,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
78
57
|
maxInstances?: number;
|
|
79
58
|
/**
|
|
80
59
|
* @remarks
|
|
81
|
-
* The minimum number of instances
|
|
60
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
82
61
|
*
|
|
83
62
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
84
63
|
*
|
|
85
|
-
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after
|
|
86
|
-
* > -
|
|
64
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after it takes effect.
|
|
65
|
+
* > - 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.
|
|
87
66
|
*
|
|
88
67
|
* @example
|
|
89
68
|
* 2
|
|
@@ -93,13 +72,6 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
93
72
|
* @remarks
|
|
94
73
|
* The auto scaling type, classified by instance type. Valid values:
|
|
95
74
|
*
|
|
96
|
-
* - `cpu`: regular instance type.
|
|
97
|
-
* - `gpu`: GPU instance type.
|
|
98
|
-
* - `gpushare`: GPU sharing type.
|
|
99
|
-
* - `spot`: spot instance type.
|
|
100
|
-
*
|
|
101
|
-
* Default value: `cpu`.
|
|
102
|
-
*
|
|
103
75
|
* @example
|
|
104
76
|
* cpu
|
|
105
77
|
*
|
|
@@ -150,12 +122,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
150
122
|
cmsEnabled?: boolean;
|
|
151
123
|
/**
|
|
152
124
|
* @remarks
|
|
153
|
-
* The
|
|
154
|
-
*
|
|
155
|
-
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
156
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
157
|
-
*
|
|
158
|
-
* Default value: `none`.
|
|
125
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
159
126
|
*
|
|
160
127
|
* @example
|
|
161
128
|
* none
|
|
@@ -163,19 +130,12 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
163
130
|
cpuPolicy?: string;
|
|
164
131
|
/**
|
|
165
132
|
* @remarks
|
|
166
|
-
* The node labels
|
|
167
|
-
*
|
|
168
|
-
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
169
|
-
* - 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).
|
|
133
|
+
* The node labels. You can add labels to the nodes in the Kubernetes cluster. Label definition rules:
|
|
170
134
|
*/
|
|
171
135
|
labels?: Tag[];
|
|
172
136
|
/**
|
|
173
137
|
* @remarks
|
|
174
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
175
|
-
*
|
|
176
|
-
* 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.
|
|
177
|
-
*
|
|
178
|
-
* 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.
|
|
138
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP address + suffix.
|
|
179
139
|
*
|
|
180
140
|
* @example
|
|
181
141
|
* customized,aliyun,ip,com
|
|
@@ -183,7 +143,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
183
143
|
nodeNameMode?: string;
|
|
184
144
|
/**
|
|
185
145
|
* @remarks
|
|
186
|
-
* The pre-
|
|
146
|
+
* 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).
|
|
187
147
|
*
|
|
188
148
|
* @example
|
|
189
149
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -191,11 +151,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
191
151
|
preUserData?: string;
|
|
192
152
|
/**
|
|
193
153
|
* @remarks
|
|
194
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
154
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
195
155
|
*
|
|
196
|
-
* - containerd:
|
|
197
|
-
* - Sandboxed-Container.runv:
|
|
198
|
-
* - docker:
|
|
156
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
157
|
+
* - Sandboxed-Container.runv: Sandboxed container runtime that provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
158
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
199
159
|
*
|
|
200
160
|
* Default value: containerd.
|
|
201
161
|
*
|
|
@@ -218,11 +178,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
218
178
|
taints?: Taint[];
|
|
219
179
|
/**
|
|
220
180
|
* @remarks
|
|
221
|
-
* Specifies whether the nodes added
|
|
222
|
-
*
|
|
223
|
-
* - true: unschedulable.
|
|
224
|
-
*
|
|
225
|
-
* - false: schedulable.
|
|
181
|
+
* Specifies whether the nodes added during the scale-out are unschedulable.
|
|
226
182
|
*
|
|
227
183
|
* @example
|
|
228
184
|
* false
|
|
@@ -230,7 +186,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
230
186
|
unschedulable?: boolean;
|
|
231
187
|
/**
|
|
232
188
|
* @remarks
|
|
233
|
-
* The instance user data. After
|
|
189
|
+
* 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).
|
|
234
190
|
*
|
|
235
191
|
* @example
|
|
236
192
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -263,12 +219,23 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
263
219
|
autoRepairPolicyId?: string;
|
|
264
220
|
/**
|
|
265
221
|
* @remarks
|
|
266
|
-
*
|
|
222
|
+
* 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.
|
|
267
223
|
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
224
|
+
* @example
|
|
225
|
+
* 5
|
|
226
|
+
*/
|
|
227
|
+
maxParallelRepairingNodes?: string;
|
|
228
|
+
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* 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%.
|
|
270
231
|
*
|
|
271
|
-
*
|
|
232
|
+
* @example
|
|
233
|
+
* 20%
|
|
234
|
+
*/
|
|
235
|
+
maxUnhealthyNodesThreshold?: string;
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
272
239
|
*
|
|
273
240
|
* @example
|
|
274
241
|
* true
|
|
@@ -288,11 +255,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
288
255
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
289
256
|
/**
|
|
290
257
|
* @remarks
|
|
291
|
-
* Specifies whether to allow
|
|
292
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
293
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
294
|
-
*
|
|
295
|
-
* Default value: `true`.
|
|
258
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
296
259
|
*
|
|
297
260
|
* @example
|
|
298
261
|
* true
|
|
@@ -300,11 +263,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
300
263
|
autoUpgradeKubelet?: boolean;
|
|
301
264
|
/**
|
|
302
265
|
* @remarks
|
|
303
|
-
* Specifies whether to allow
|
|
304
|
-
* - `true`: allows automatic OS upgrade.
|
|
305
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
306
|
-
*
|
|
307
|
-
* Default value: `false`.
|
|
266
|
+
* Specifies whether to allow auto upgrade of the operating system. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
308
267
|
*
|
|
309
268
|
* @example
|
|
310
269
|
* false
|
|
@@ -312,11 +271,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
312
271
|
autoUpgradeOs?: boolean;
|
|
313
272
|
/**
|
|
314
273
|
* @remarks
|
|
315
|
-
* Specifies whether to allow
|
|
316
|
-
* - `true`: allows automatic runtime upgrade.
|
|
317
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
318
|
-
*
|
|
319
|
-
* Default value: `true`.
|
|
274
|
+
* Specifies whether to allow auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
320
275
|
*
|
|
321
276
|
* @example
|
|
322
277
|
* false
|
|
@@ -336,9 +291,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
336
291
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
337
292
|
/**
|
|
338
293
|
* @remarks
|
|
339
|
-
* Specifies the packages to exclude during vulnerability
|
|
340
|
-
*
|
|
341
|
-
* Default value: `kernel`.
|
|
294
|
+
* Specifies the packages to exclude during vulnerability fix.
|
|
342
295
|
*
|
|
343
296
|
* @example
|
|
344
297
|
* kernel
|
|
@@ -346,11 +299,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
346
299
|
excludePackages?: string;
|
|
347
300
|
/**
|
|
348
301
|
* @remarks
|
|
349
|
-
* Specifies whether to allow node
|
|
350
|
-
* - `true`:
|
|
351
|
-
* - `false`:
|
|
302
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
303
|
+
* - `true`: Node restarts are allowed.
|
|
304
|
+
* - `false`: Node restarts are not allowed.
|
|
352
305
|
*
|
|
353
|
-
* Default value: `true
|
|
306
|
+
* Default value: `true`
|
|
354
307
|
*
|
|
355
308
|
* @example
|
|
356
309
|
* true
|
|
@@ -358,13 +311,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
358
311
|
restartNode?: boolean;
|
|
359
312
|
/**
|
|
360
313
|
* @remarks
|
|
361
|
-
* The vulnerability levels allowed for
|
|
362
|
-
*
|
|
363
|
-
* - `asap`: high
|
|
364
|
-
* - `later`: medium
|
|
365
|
-
* - `nntf`: low
|
|
366
|
-
*
|
|
367
|
-
* Default value: `asap`.
|
|
314
|
+
* The vulnerability levels that are allowed for auto fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
368
315
|
*
|
|
369
316
|
* @example
|
|
370
317
|
* asap,nntf
|
|
@@ -384,14 +331,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
384
331
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
385
332
|
/**
|
|
386
333
|
* @remarks
|
|
387
|
-
* [
|
|
388
|
-
*
|
|
389
|
-
* Specifies whether to enable auto upgrade:
|
|
390
|
-
*
|
|
391
|
-
* - true: enables auto upgrade.
|
|
392
|
-
* - false: disables auto upgrade.
|
|
393
|
-
*
|
|
394
|
-
* Default value: `true`.
|
|
334
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
395
335
|
*
|
|
396
336
|
* @example
|
|
397
337
|
* true
|
|
@@ -403,21 +343,13 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
403
343
|
* @remarks
|
|
404
344
|
* The maximum number of unavailable nodes.
|
|
405
345
|
*
|
|
406
|
-
* Valid values: [1,1000\\].
|
|
407
|
-
*
|
|
408
|
-
* Default value: 1.
|
|
409
|
-
*
|
|
410
346
|
* @example
|
|
411
347
|
* 1
|
|
412
348
|
*/
|
|
413
349
|
maxUnavailable?: number;
|
|
414
350
|
/**
|
|
415
351
|
* @remarks
|
|
416
|
-
* The number of extra nodes.
|
|
417
|
-
*
|
|
418
|
-
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
419
|
-
*
|
|
420
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
352
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
421
353
|
*
|
|
422
354
|
* @example
|
|
423
355
|
* 5
|
|
@@ -425,9 +357,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
425
357
|
surge?: number;
|
|
426
358
|
/**
|
|
427
359
|
* @remarks
|
|
428
|
-
* The percentage of extra nodes.
|
|
429
|
-
*
|
|
430
|
-
* 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.
|
|
360
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
431
361
|
*
|
|
432
362
|
* @example
|
|
433
363
|
* 0
|
|
@@ -454,9 +384,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
454
384
|
* @remarks
|
|
455
385
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
456
386
|
*
|
|
457
|
-
* - `true`:
|
|
387
|
+
* - `true`: Automatically repairs nodes.
|
|
458
388
|
*
|
|
459
|
-
* - `false`:
|
|
389
|
+
* - `false`: Does not automatically repair nodes.
|
|
460
390
|
*
|
|
461
391
|
* Default value: `true`.
|
|
462
392
|
*
|
|
@@ -472,10 +402,6 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
472
402
|
/**
|
|
473
403
|
* @remarks
|
|
474
404
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
475
|
-
* - `true`: enables auto upgrade.
|
|
476
|
-
* - `false`: disables auto upgrade.
|
|
477
|
-
*
|
|
478
|
-
* Default value: `true`.
|
|
479
405
|
*
|
|
480
406
|
* @example
|
|
481
407
|
* true
|
|
@@ -490,11 +416,6 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
490
416
|
* @remarks
|
|
491
417
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
492
418
|
*
|
|
493
|
-
* - `true`: allows automatic CVE fixing.
|
|
494
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
495
|
-
*
|
|
496
|
-
* Default value: `true`.
|
|
497
|
-
*
|
|
498
419
|
* @example
|
|
499
420
|
* true
|
|
500
421
|
*/
|
|
@@ -504,25 +425,24 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
504
425
|
* The auto CVE fix policy.
|
|
505
426
|
*/
|
|
506
427
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
428
|
+
/**
|
|
429
|
+
* @remarks
|
|
430
|
+
* 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.
|
|
431
|
+
*/
|
|
507
432
|
driftEnabled?: boolean;
|
|
508
433
|
/**
|
|
509
434
|
* @remarks
|
|
510
435
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
511
436
|
*
|
|
512
|
-
* - `true`: enables the managed node pool.
|
|
513
|
-
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
514
|
-
*
|
|
515
|
-
* Default value: `false`.
|
|
516
|
-
*
|
|
517
437
|
* @example
|
|
518
438
|
* true
|
|
519
439
|
*/
|
|
520
440
|
enable?: boolean;
|
|
521
441
|
/**
|
|
522
442
|
* @remarks
|
|
523
|
-
* [
|
|
443
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
524
444
|
*
|
|
525
|
-
* The
|
|
445
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
526
446
|
*
|
|
527
447
|
* @deprecated
|
|
528
448
|
*/
|
|
@@ -551,9 +471,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
551
471
|
name?: string;
|
|
552
472
|
/**
|
|
553
473
|
* @remarks
|
|
554
|
-
* The resource group ID of the node pool. Instances
|
|
555
|
-
*
|
|
556
|
-
* 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.
|
|
474
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
557
475
|
*
|
|
558
476
|
* @example
|
|
559
477
|
* rg-acfmyvw3wjm****
|
|
@@ -581,10 +499,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
581
499
|
id?: string;
|
|
582
500
|
/**
|
|
583
501
|
* @remarks
|
|
584
|
-
* The private node pool
|
|
585
|
-
* - `Open`: open mode.
|
|
586
|
-
* - `Target`: targeted mode.
|
|
587
|
-
* - `None`: none mode.
|
|
502
|
+
* 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:
|
|
503
|
+
* - `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.
|
|
504
|
+
* - `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.
|
|
505
|
+
* - `None`: none mode. The instance launch does not use private pool capacity.
|
|
588
506
|
*
|
|
589
507
|
* @example
|
|
590
508
|
* Open
|
|
@@ -609,7 +527,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
609
527
|
privatePoolIds?: string[];
|
|
610
528
|
/**
|
|
611
529
|
* @remarks
|
|
612
|
-
* The resource pool strategy used when
|
|
530
|
+
* 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:
|
|
531
|
+
*
|
|
532
|
+
* - 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.
|
|
533
|
+
* - 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.
|
|
534
|
+
* - None: no resource pool strategy is used.
|
|
535
|
+
*
|
|
536
|
+
* Default value: None.
|
|
613
537
|
*
|
|
614
538
|
* @example
|
|
615
539
|
* PrivatePoolFirst
|
|
@@ -637,7 +561,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
637
561
|
instanceType?: string;
|
|
638
562
|
/**
|
|
639
563
|
* @remarks
|
|
640
|
-
* The maximum price
|
|
564
|
+
* The maximum price of a single instance.
|
|
641
565
|
*
|
|
642
566
|
* <props="china">Unit: CNY/hour.
|
|
643
567
|
*
|
|
@@ -665,22 +589,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
665
589
|
* @remarks
|
|
666
590
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
667
591
|
*
|
|
668
|
-
* - `true`: enables auto-renewal.
|
|
669
|
-
* - `false`: disables auto-renewal.
|
|
670
|
-
*
|
|
671
|
-
* Default value: `false`.
|
|
672
|
-
*
|
|
673
592
|
* @example
|
|
674
593
|
* true
|
|
675
594
|
*/
|
|
676
595
|
autoRenew?: boolean;
|
|
677
596
|
/**
|
|
678
597
|
* @remarks
|
|
679
|
-
* The auto-renewal
|
|
680
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
681
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
682
|
-
*
|
|
683
|
-
* Default value: 1.
|
|
598
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
684
599
|
*
|
|
685
600
|
* @example
|
|
686
601
|
* 1
|
|
@@ -688,10 +603,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
688
603
|
autoRenewPeriod?: number;
|
|
689
604
|
/**
|
|
690
605
|
* @remarks
|
|
691
|
-
*
|
|
606
|
+
* 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:
|
|
692
607
|
*
|
|
693
|
-
* - `true`:
|
|
694
|
-
* - `false`:
|
|
608
|
+
* - `true`: allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
609
|
+
* - `false`: does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
695
610
|
*
|
|
696
611
|
* @example
|
|
697
612
|
* true
|
|
@@ -699,7 +614,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
699
614
|
compensateWithOnDemand?: boolean;
|
|
700
615
|
/**
|
|
701
616
|
* @remarks
|
|
702
|
-
* The data cloud disk
|
|
617
|
+
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can add up to 10 data cloud disks.
|
|
703
618
|
*/
|
|
704
619
|
dataDisks?: DataDisk[];
|
|
705
620
|
/**
|
|
@@ -714,10 +629,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
714
629
|
* @remarks
|
|
715
630
|
* The desired number of nodes in the node pool.
|
|
716
631
|
*
|
|
717
|
-
* 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.
|
|
718
|
-
*
|
|
719
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
720
|
-
*
|
|
721
632
|
* @example
|
|
722
633
|
* 2
|
|
723
634
|
*/
|
|
@@ -727,6 +638,14 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
727
638
|
* The block device initialization configuration.
|
|
728
639
|
*/
|
|
729
640
|
diskInit?: DiskInit[];
|
|
641
|
+
/**
|
|
642
|
+
* @remarks
|
|
643
|
+
* 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.
|
|
644
|
+
*
|
|
645
|
+
* @example
|
|
646
|
+
* false
|
|
647
|
+
*/
|
|
648
|
+
enableHighDensityMode?: boolean;
|
|
730
649
|
/**
|
|
731
650
|
* @remarks
|
|
732
651
|
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
@@ -747,7 +666,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
747
666
|
* - `CentOS`: CentOS image.
|
|
748
667
|
* - `Windows`: Windows image.
|
|
749
668
|
* - `WindowsCore`: WindowsCore image.
|
|
750
|
-
* - `ContainerOS`:
|
|
669
|
+
* - `ContainerOS`: Container-optimized image.
|
|
751
670
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
752
671
|
*
|
|
753
672
|
* @example
|
|
@@ -758,33 +677,23 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
758
677
|
* @remarks
|
|
759
678
|
* The billing method of nodes in the node pool. Valid values:
|
|
760
679
|
*
|
|
761
|
-
* - `PrePaid`: subscription.
|
|
762
|
-
* - `PostPaid`: pay-as-you-go.
|
|
763
|
-
*
|
|
764
|
-
* Default value: `PostPaid`.
|
|
765
|
-
*
|
|
766
680
|
* @example
|
|
767
681
|
* PostPaid
|
|
768
682
|
*/
|
|
769
683
|
instanceChargeType?: string;
|
|
770
684
|
/**
|
|
771
685
|
* @remarks
|
|
772
|
-
* The instance attribute
|
|
686
|
+
* The instance attribute configurations.
|
|
773
687
|
*/
|
|
774
688
|
instancePatterns?: InstancePatterns[];
|
|
775
689
|
/**
|
|
776
690
|
* @remarks
|
|
777
|
-
* The list of node instance types. You can
|
|
778
|
-
*
|
|
779
|
-
* Supported number of instance types: [1,10].
|
|
691
|
+
* 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.
|
|
780
692
|
*/
|
|
781
693
|
instanceTypes?: string[];
|
|
782
694
|
/**
|
|
783
695
|
* @remarks
|
|
784
|
-
* The billing
|
|
785
|
-
*
|
|
786
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
787
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
696
|
+
* The billing method for public IP addresses. Valid values:
|
|
788
697
|
*
|
|
789
698
|
* @example
|
|
790
699
|
* PayByBandwidth
|
|
@@ -792,7 +701,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
792
701
|
internetChargeType?: string;
|
|
793
702
|
/**
|
|
794
703
|
* @remarks
|
|
795
|
-
* The maximum outbound bandwidth for the node public IP address. Unit:
|
|
704
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
796
705
|
*
|
|
797
706
|
* @example
|
|
798
707
|
* 5
|
|
@@ -800,7 +709,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
800
709
|
internetMaxBandwidthOut?: number;
|
|
801
710
|
/**
|
|
802
711
|
* @remarks
|
|
803
|
-
* The key pair name.
|
|
712
|
+
* 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.
|
|
804
713
|
*
|
|
805
714
|
* @example
|
|
806
715
|
* pro-nodepool
|
|
@@ -808,7 +717,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
808
717
|
keyPair?: string;
|
|
809
718
|
/**
|
|
810
719
|
* @remarks
|
|
811
|
-
* The SSH logon password.
|
|
720
|
+
* 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.
|
|
812
721
|
*
|
|
813
722
|
* @example
|
|
814
723
|
* Hello1234
|
|
@@ -818,23 +727,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
818
727
|
* @remarks
|
|
819
728
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
820
729
|
*
|
|
821
|
-
* - `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.
|
|
822
|
-
*
|
|
823
|
-
* - `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.
|
|
824
|
-
*
|
|
825
|
-
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
826
|
-
*
|
|
827
|
-
* - `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).
|
|
828
|
-
*
|
|
829
|
-
* Default value: `PRIORITY`.
|
|
830
|
-
*
|
|
831
730
|
* @example
|
|
832
731
|
* BALANCE
|
|
833
732
|
*/
|
|
834
733
|
multiAzPolicy?: string;
|
|
835
734
|
/**
|
|
836
735
|
* @remarks
|
|
837
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
736
|
+
* 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.
|
|
838
737
|
*
|
|
839
738
|
* @example
|
|
840
739
|
* 0
|
|
@@ -842,8 +741,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
842
741
|
onDemandBaseCapacity?: number;
|
|
843
742
|
/**
|
|
844
743
|
* @remarks
|
|
845
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go
|
|
846
|
-
* [_single.params.body.props.scaling_group.spot
|
|
744
|
+
* 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\\].
|
|
847
745
|
*
|
|
848
746
|
* @example
|
|
849
747
|
* 20
|
|
@@ -851,10 +749,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
851
749
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
852
750
|
/**
|
|
853
751
|
* @remarks
|
|
854
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect
|
|
752
|
+
* 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.
|
|
855
753
|
*
|
|
856
|
-
* - When `period_unit=Week`, valid values of `period`:
|
|
857
|
-
* - When `period_unit=Month`, valid values of `period`:
|
|
754
|
+
* - When `period_unit=Week`, valid values of `period`: 1, 2, 3, and 4.
|
|
755
|
+
* - When `period_unit=Month`, valid values of `period`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
858
756
|
*
|
|
859
757
|
* @example
|
|
860
758
|
* 1
|
|
@@ -864,18 +762,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
864
762
|
* @remarks
|
|
865
763
|
* 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`.
|
|
866
764
|
*
|
|
867
|
-
* - `Month`: uses month as the billing unit.
|
|
868
|
-
* - `Week`: uses week as the billing unit.
|
|
869
|
-
*
|
|
870
|
-
* Default value: `Month`.
|
|
871
|
-
*
|
|
872
765
|
* @example
|
|
873
766
|
* Month
|
|
874
767
|
*/
|
|
875
768
|
periodUnit?: string;
|
|
876
769
|
/**
|
|
877
770
|
* @remarks
|
|
878
|
-
* **
|
|
771
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
879
772
|
*
|
|
880
773
|
* The operating system platform. Valid values:
|
|
881
774
|
*
|
|
@@ -897,21 +790,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
897
790
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
898
791
|
/**
|
|
899
792
|
* @remarks
|
|
900
|
-
* The list of
|
|
793
|
+
* The list of RDS instances.
|
|
901
794
|
*/
|
|
902
795
|
rdsInstances?: string[];
|
|
903
796
|
/**
|
|
904
797
|
* @remarks
|
|
905
|
-
* The resource
|
|
798
|
+
* The resource pools and resource pool policies used when creating instances. After you set this parameter, note the following:
|
|
906
799
|
*/
|
|
907
800
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
908
801
|
/**
|
|
909
802
|
* @remarks
|
|
910
803
|
* The scaling group mode. Valid values:
|
|
911
804
|
*
|
|
912
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
913
|
-
* - `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.)
|
|
914
|
-
*
|
|
915
805
|
* @example
|
|
916
806
|
* release
|
|
917
807
|
*/
|
|
@@ -923,7 +813,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
923
813
|
securityGroupIds?: string[];
|
|
924
814
|
/**
|
|
925
815
|
* @remarks
|
|
926
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
816
|
+
* 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\\].
|
|
927
817
|
*
|
|
928
818
|
* @example
|
|
929
819
|
* 5
|
|
@@ -931,10 +821,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
931
821
|
spotInstancePools?: number;
|
|
932
822
|
/**
|
|
933
823
|
* @remarks
|
|
934
|
-
* Specifies whether to enable
|
|
935
|
-
*
|
|
936
|
-
* - `true`: Enables supplementing spot instances.
|
|
937
|
-
* - `false`: Disables supplementing spot instances.
|
|
824
|
+
* 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:
|
|
938
825
|
*
|
|
939
826
|
* @example
|
|
940
827
|
* false
|
|
@@ -942,18 +829,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
942
829
|
spotInstanceRemedy?: boolean;
|
|
943
830
|
/**
|
|
944
831
|
* @remarks
|
|
945
|
-
* The price limit
|
|
832
|
+
* The price limit configurations for spot instances.
|
|
946
833
|
*/
|
|
947
834
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
948
835
|
/**
|
|
949
836
|
* @remarks
|
|
950
|
-
* The spot instance
|
|
951
|
-
*
|
|
952
|
-
* - `NoSpot`: non-spot instance.
|
|
953
|
-
* - `SpotWithPriceLimit`: sets a maximum price for the spot instance.
|
|
954
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
955
|
-
*
|
|
956
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
837
|
+
* The type of spot instance. Valid values:
|
|
957
838
|
*
|
|
958
839
|
* @example
|
|
959
840
|
* SpotWithPriceLimit
|
|
@@ -961,11 +842,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
961
842
|
spotStrategy?: string;
|
|
962
843
|
/**
|
|
963
844
|
* @remarks
|
|
964
|
-
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
965
|
-
* - 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.
|
|
966
|
-
* - false: disables burst.
|
|
967
|
-
*
|
|
968
|
-
* 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).
|
|
845
|
+
* Specifies whether to enable burst (I/O performance burst) for the node system cloud disk. Valid values:
|
|
969
846
|
*
|
|
970
847
|
* @example
|
|
971
848
|
* true
|
|
@@ -973,17 +850,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
973
850
|
systemDiskBurstingEnabled?: boolean;
|
|
974
851
|
/**
|
|
975
852
|
* @remarks
|
|
976
|
-
*
|
|
853
|
+
* 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.
|
|
977
854
|
*/
|
|
978
855
|
systemDiskCategories?: string[];
|
|
979
856
|
/**
|
|
980
857
|
* @remarks
|
|
981
|
-
* The type of the
|
|
858
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
982
859
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
983
860
|
* - `cloud_ssd`: standard SSD.
|
|
984
861
|
* - `cloud_essd`: ESSD.
|
|
985
862
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
986
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
863
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
987
864
|
*
|
|
988
865
|
* Default value: `cloud_efficiency`.
|
|
989
866
|
*
|
|
@@ -1003,10 +880,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1003
880
|
* @remarks
|
|
1004
881
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1005
882
|
*
|
|
1006
|
-
* - true: encrypts the system cloud disk.
|
|
1007
|
-
*
|
|
1008
|
-
* - false: does not encrypt the system cloud disk.
|
|
1009
|
-
*
|
|
1010
883
|
* @example
|
|
1011
884
|
* false
|
|
1012
885
|
*/
|
|
@@ -1021,11 +894,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1021
894
|
systemDiskKmsKeyId?: string;
|
|
1022
895
|
/**
|
|
1023
896
|
* @remarks
|
|
1024
|
-
* 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 [
|
|
1025
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1026
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1027
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1028
|
-
* - PL3: extremely high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
897
|
+
* 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).
|
|
1029
898
|
*
|
|
1030
899
|
* @example
|
|
1031
900
|
* PL1
|
|
@@ -1035,10 +904,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1035
904
|
* @remarks
|
|
1036
905
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1037
906
|
*
|
|
1038
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1039
|
-
*
|
|
1040
|
-
* 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).
|
|
1041
|
-
*
|
|
1042
907
|
* @example
|
|
1043
908
|
* 1000
|
|
1044
909
|
*/
|
|
@@ -1047,12 +912,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1047
912
|
* @remarks
|
|
1048
913
|
* The size of the node system cloud disk. Unit: GiB.
|
|
1049
914
|
*
|
|
1050
|
-
* Valid values: [20,2048\\].
|
|
1051
|
-
*
|
|
1052
|
-
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1053
|
-
*
|
|
1054
|
-
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1055
|
-
*
|
|
1056
915
|
* @example
|
|
1057
916
|
* 120
|
|
1058
917
|
*/
|
|
@@ -1067,14 +926,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1067
926
|
systemDiskSnapshotPolicyId?: string;
|
|
1068
927
|
/**
|
|
1069
928
|
* @remarks
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
* 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://".
|
|
929
|
+
* Adds tags only to ECS instances.
|
|
1073
930
|
*/
|
|
1074
931
|
tags?: Tag[];
|
|
1075
932
|
/**
|
|
1076
933
|
* @remarks
|
|
1077
|
-
* The list of vSwitch IDs. Valid values:
|
|
934
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1078
935
|
*
|
|
1079
936
|
* > To ensure high availability, select vSwitches in different zones.
|
|
1080
937
|
*/
|
|
@@ -1096,7 +953,7 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1096
953
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1097
954
|
*
|
|
1098
955
|
* - `true`: Enabled.
|
|
1099
|
-
* - `false`:
|
|
956
|
+
* - `false`: Not enabled.
|
|
1100
957
|
*
|
|
1101
958
|
* Default value: `false`.
|
|
1102
959
|
*
|
|
@@ -1161,7 +1018,7 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1161
1018
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1162
1019
|
/**
|
|
1163
1020
|
* @remarks
|
|
1164
|
-
*
|
|
1021
|
+
* Specifies whether to synchronously update node labels and taints.
|
|
1165
1022
|
*
|
|
1166
1023
|
* @example
|
|
1167
1024
|
* true
|