@alicloud/cs20151215 7.0.1 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +34 -12
- package/dist/client.js +37 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +259 -264
- package/dist/models/CreateClusterNodePoolRequest.js +6 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -229
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +177 -153
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +8 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +238 -217
- package/dist/models/ModifyClusterNodePoolRequest.js +27 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +38 -12
- package/src/models/CreateClusterNodePoolRequest.ts +265 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +240 -229
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +185 -153
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +255 -217
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/Nodepool.ts +200 -196
- package/src/models/model.ts +1 -0
|
@@ -7,10 +7,10 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* [This field is deprecated]
|
|
11
|
-
*
|
|
10
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
* The peak bandwidth of the EIP.
|
|
12
12
|
*
|
|
13
|
-
* Valid values: [1,100]. Unit:
|
|
13
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* null
|
|
@@ -20,12 +20,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* [This field is deprecated]
|
|
23
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
24
24
|
*
|
|
25
|
-
* EIP billing type. Valid values:
|
|
25
|
+
* The EIP billing type. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - `PayByBandwidth`:
|
|
28
|
-
* - `PayByTraffic`:
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
29
29
|
*
|
|
30
30
|
* Default value: `PayByBandwidth`.
|
|
31
31
|
*
|
|
@@ -37,14 +37,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
37
37
|
eipInternetChargeType?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
41
41
|
*
|
|
42
|
-
* - `true`:
|
|
43
|
-
* clusters with versions below 1.24 enable node auto scaling by default. For more information, see [Node Scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
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).
|
|
44
43
|
*
|
|
45
|
-
* - `false`:
|
|
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.
|
|
46
45
|
*
|
|
47
|
-
* When
|
|
46
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
48
47
|
*
|
|
49
48
|
* Default value: `false`.
|
|
50
49
|
*
|
|
@@ -54,10 +53,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
54
53
|
enable?: boolean;
|
|
55
54
|
/**
|
|
56
55
|
* @remarks
|
|
57
|
-
* [This field is deprecated] This field is deprecated.
|
|
56
|
+
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
58
57
|
*
|
|
59
|
-
* - `true`:
|
|
60
|
-
* - `false`:
|
|
58
|
+
* - `true`: associates an EIP.
|
|
59
|
+
* - `false`: does not associate an EIP.
|
|
61
60
|
*
|
|
62
61
|
* Default value: `false`.
|
|
63
62
|
*
|
|
@@ -69,7 +68,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
69
68
|
isBondEip?: boolean;
|
|
70
69
|
/**
|
|
71
70
|
* @remarks
|
|
72
|
-
* The maximum number of
|
|
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`.
|
|
73
72
|
*
|
|
74
73
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
75
74
|
*
|
|
@@ -79,12 +78,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
79
78
|
maxInstances?: number;
|
|
80
79
|
/**
|
|
81
80
|
* @remarks
|
|
82
|
-
* The minimum number of
|
|
81
|
+
* The minimum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
83
82
|
*
|
|
84
83
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
85
84
|
*
|
|
86
|
-
* > -
|
|
87
|
-
* > -
|
|
85
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after the settings take effect.
|
|
86
|
+
* > - Make sure that the maximum number of instances is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
88
87
|
*
|
|
89
88
|
* @example
|
|
90
89
|
* 2
|
|
@@ -92,12 +91,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
92
91
|
minInstances?: number;
|
|
93
92
|
/**
|
|
94
93
|
* @remarks
|
|
95
|
-
*
|
|
94
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
96
95
|
*
|
|
97
|
-
* - `cpu`:
|
|
96
|
+
* - `cpu`: regular instance type.
|
|
98
97
|
* - `gpu`: GPU instance type.
|
|
99
98
|
* - `gpushare`: GPU sharing type.
|
|
100
|
-
* - `spot`:
|
|
99
|
+
* - `spot`: spot instance type.
|
|
101
100
|
*
|
|
102
101
|
* Default value: `cpu`.
|
|
103
102
|
*
|
|
@@ -118,13 +117,30 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
118
117
|
[key: string]: any;
|
|
119
118
|
});
|
|
120
119
|
}
|
|
120
|
+
export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool. (Not effective)
|
|
124
|
+
*/
|
|
125
|
+
autoAttachEnabled?: string;
|
|
126
|
+
static names(): {
|
|
127
|
+
[key: string]: string;
|
|
128
|
+
};
|
|
129
|
+
static types(): {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
};
|
|
132
|
+
validate(): void;
|
|
133
|
+
constructor(map?: {
|
|
134
|
+
[key: string]: any;
|
|
135
|
+
});
|
|
136
|
+
}
|
|
121
137
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
122
138
|
/**
|
|
123
139
|
* @remarks
|
|
124
|
-
*
|
|
140
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
125
141
|
*
|
|
126
|
-
* - `true`:
|
|
127
|
-
* - `false`:
|
|
142
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
143
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
128
144
|
*
|
|
129
145
|
* Default value: `false`.
|
|
130
146
|
*
|
|
@@ -134,10 +150,10 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
134
150
|
cmsEnabled?: boolean;
|
|
135
151
|
/**
|
|
136
152
|
* @remarks
|
|
137
|
-
*
|
|
153
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
138
154
|
*
|
|
139
|
-
* - `static`:
|
|
140
|
-
* - `none`:
|
|
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.
|
|
141
157
|
*
|
|
142
158
|
* Default value: `none`.
|
|
143
159
|
*
|
|
@@ -147,19 +163,19 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
147
163
|
cpuPolicy?: string;
|
|
148
164
|
/**
|
|
149
165
|
* @remarks
|
|
150
|
-
*
|
|
166
|
+
* The node labels added to Kubernetes cluster nodes. Label definition rules:
|
|
151
167
|
*
|
|
152
|
-
* - Labels
|
|
153
|
-
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and up to 128 characters.
|
|
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).
|
|
154
170
|
*/
|
|
155
171
|
labels?: Tag[];
|
|
156
172
|
/**
|
|
157
173
|
* @remarks
|
|
158
|
-
*
|
|
174
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
159
175
|
*
|
|
160
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can
|
|
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.
|
|
161
177
|
*
|
|
162
|
-
* The parameter
|
|
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.
|
|
163
179
|
*
|
|
164
180
|
* @example
|
|
165
181
|
* customized,aliyun,ip,com
|
|
@@ -167,7 +183,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
167
183
|
nodeNameMode?: string;
|
|
168
184
|
/**
|
|
169
185
|
* @remarks
|
|
170
|
-
*
|
|
186
|
+
* The pre-instance user data. Before the node joins the cluster, the specified pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
171
187
|
*
|
|
172
188
|
* @example
|
|
173
189
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -175,11 +191,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
175
191
|
preUserData?: string;
|
|
176
192
|
/**
|
|
177
193
|
* @remarks
|
|
178
|
-
*
|
|
194
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
179
195
|
*
|
|
180
|
-
* - containerd:
|
|
181
|
-
* - Sandboxed-Container.runv:
|
|
182
|
-
* - docker:
|
|
196
|
+
* - containerd: recommended, supports all cluster versions.
|
|
197
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation, supports cluster versions 1.31 and earlier.
|
|
198
|
+
* - docker: no longer maintained, supports cluster versions 1.22 and earlier.
|
|
183
199
|
*
|
|
184
200
|
* Default value: containerd.
|
|
185
201
|
*
|
|
@@ -189,7 +205,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
189
205
|
runtime?: string;
|
|
190
206
|
/**
|
|
191
207
|
* @remarks
|
|
192
|
-
*
|
|
208
|
+
* The container runtime version.
|
|
193
209
|
*
|
|
194
210
|
* @example
|
|
195
211
|
* 1.6.38
|
|
@@ -197,16 +213,16 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
197
213
|
runtimeVersion?: string;
|
|
198
214
|
/**
|
|
199
215
|
* @remarks
|
|
200
|
-
*
|
|
216
|
+
* The node taint configuration.
|
|
201
217
|
*/
|
|
202
218
|
taints?: Taint[];
|
|
203
219
|
/**
|
|
204
220
|
* @remarks
|
|
205
|
-
*
|
|
221
|
+
* Specifies whether the nodes added after scale-out are unschedulable. Valid values:
|
|
206
222
|
*
|
|
207
|
-
* - true:
|
|
223
|
+
* - true: unschedulable.
|
|
208
224
|
*
|
|
209
|
-
* - false:
|
|
225
|
+
* - false: schedulable.
|
|
210
226
|
*
|
|
211
227
|
* @example
|
|
212
228
|
* false
|
|
@@ -214,7 +230,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
214
230
|
unschedulable?: boolean;
|
|
215
231
|
/**
|
|
216
232
|
* @remarks
|
|
217
|
-
*
|
|
233
|
+
* The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
218
234
|
*
|
|
219
235
|
* @example
|
|
220
236
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -234,12 +250,12 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
234
250
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
235
251
|
/**
|
|
236
252
|
* @remarks
|
|
237
|
-
*
|
|
253
|
+
* Specifies whether node repair requires manual approval.
|
|
238
254
|
*/
|
|
239
255
|
approvalRequired?: boolean;
|
|
240
256
|
/**
|
|
241
257
|
* @remarks
|
|
242
|
-
*
|
|
258
|
+
* The auto repair policy ID.
|
|
243
259
|
*
|
|
244
260
|
* @example
|
|
245
261
|
* r-xxxxxxxxxx
|
|
@@ -247,10 +263,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
247
263
|
autoRepairPolicyId?: string;
|
|
248
264
|
/**
|
|
249
265
|
* @remarks
|
|
250
|
-
*
|
|
266
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
251
267
|
*
|
|
252
|
-
* - `true`:
|
|
253
|
-
* - `false`:
|
|
268
|
+
* - `true`: allows node restart.
|
|
269
|
+
* - `false`: does not allow node restart.
|
|
254
270
|
*
|
|
255
271
|
* Default value: `true`.
|
|
256
272
|
*
|
|
@@ -272,9 +288,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
272
288
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
273
289
|
/**
|
|
274
290
|
* @remarks
|
|
275
|
-
*
|
|
276
|
-
* - `true`:
|
|
277
|
-
* - `false`:
|
|
291
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
292
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
293
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
278
294
|
*
|
|
279
295
|
* Default value: `true`.
|
|
280
296
|
*
|
|
@@ -284,9 +300,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
284
300
|
autoUpgradeKubelet?: boolean;
|
|
285
301
|
/**
|
|
286
302
|
* @remarks
|
|
287
|
-
*
|
|
288
|
-
* - `true`:
|
|
289
|
-
* - `false`:
|
|
303
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
304
|
+
* - `true`: allows automatic OS upgrade.
|
|
305
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
290
306
|
*
|
|
291
307
|
* Default value: `false`.
|
|
292
308
|
*
|
|
@@ -296,9 +312,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
296
312
|
autoUpgradeOs?: boolean;
|
|
297
313
|
/**
|
|
298
314
|
* @remarks
|
|
299
|
-
*
|
|
300
|
-
* - `true`:
|
|
301
|
-
* - `false`:
|
|
315
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
316
|
+
* - `true`: allows automatic runtime upgrade.
|
|
317
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
302
318
|
*
|
|
303
319
|
* Default value: `true`.
|
|
304
320
|
*
|
|
@@ -320,7 +336,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
320
336
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
321
337
|
/**
|
|
322
338
|
* @remarks
|
|
323
|
-
* Specifies the packages to
|
|
339
|
+
* Specifies the packages to exclude during vulnerability fixing.
|
|
324
340
|
*
|
|
325
341
|
* Default value: `kernel`.
|
|
326
342
|
*
|
|
@@ -330,9 +346,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
330
346
|
excludePackages?: string;
|
|
331
347
|
/**
|
|
332
348
|
* @remarks
|
|
333
|
-
*
|
|
334
|
-
* - `true`:
|
|
335
|
-
* - `false`:
|
|
349
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
350
|
+
* - `true`: allows node restart.
|
|
351
|
+
* - `false`: does not allow node restart.
|
|
336
352
|
*
|
|
337
353
|
* Default value: `true`.
|
|
338
354
|
*
|
|
@@ -342,11 +358,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
342
358
|
restartNode?: boolean;
|
|
343
359
|
/**
|
|
344
360
|
* @remarks
|
|
345
|
-
*
|
|
361
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
346
362
|
*
|
|
347
|
-
* - `asap`:
|
|
348
|
-
* - `later`:
|
|
349
|
-
* - `nntf`:
|
|
363
|
+
* - `asap`: high
|
|
364
|
+
* - `later`: medium
|
|
365
|
+
* - `nntf`: low
|
|
350
366
|
*
|
|
351
367
|
* Default value: `asap`.
|
|
352
368
|
*
|
|
@@ -368,12 +384,12 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
368
384
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
369
385
|
/**
|
|
370
386
|
* @remarks
|
|
371
|
-
* [This field is deprecated]
|
|
387
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
372
388
|
*
|
|
373
|
-
*
|
|
389
|
+
* Specifies whether to enable auto upgrade:
|
|
374
390
|
*
|
|
375
|
-
* - true:
|
|
376
|
-
* - false:
|
|
391
|
+
* - true: enables auto upgrade.
|
|
392
|
+
* - false: disables auto upgrade.
|
|
377
393
|
*
|
|
378
394
|
* Default value: `true`.
|
|
379
395
|
*
|
|
@@ -385,9 +401,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
385
401
|
autoUpgrade?: boolean;
|
|
386
402
|
/**
|
|
387
403
|
* @remarks
|
|
388
|
-
*
|
|
404
|
+
* The maximum number of unavailable nodes.
|
|
389
405
|
*
|
|
390
|
-
* Valid values: [1,1000\\]
|
|
406
|
+
* Valid values: [1,1000\\].
|
|
391
407
|
*
|
|
392
408
|
* Default value: 1.
|
|
393
409
|
*
|
|
@@ -397,11 +413,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
397
413
|
maxUnavailable?: number;
|
|
398
414
|
/**
|
|
399
415
|
* @remarks
|
|
400
|
-
*
|
|
416
|
+
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
401
417
|
*
|
|
402
|
-
*
|
|
418
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
403
419
|
*
|
|
404
|
-
* >
|
|
420
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
405
421
|
*
|
|
406
422
|
* @example
|
|
407
423
|
* 5
|
|
@@ -409,9 +425,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
409
425
|
surge?: number;
|
|
410
426
|
/**
|
|
411
427
|
* @remarks
|
|
412
|
-
*
|
|
428
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
413
429
|
*
|
|
414
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
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.
|
|
415
431
|
*
|
|
416
432
|
* @example
|
|
417
433
|
* 0
|
|
@@ -429,14 +445,18 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
429
445
|
});
|
|
430
446
|
}
|
|
431
447
|
export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
448
|
+
/**
|
|
449
|
+
* @remarks
|
|
450
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
451
|
+
*/
|
|
432
452
|
autoFaultDiagnosis?: boolean;
|
|
433
453
|
/**
|
|
434
454
|
* @remarks
|
|
435
|
-
*
|
|
455
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
436
456
|
*
|
|
437
|
-
* - `true`:
|
|
457
|
+
* - `true`: enables auto repair.
|
|
438
458
|
*
|
|
439
|
-
* - `false`:
|
|
459
|
+
* - `false`: disables auto repair.
|
|
440
460
|
*
|
|
441
461
|
* Default value: `true`.
|
|
442
462
|
*
|
|
@@ -446,14 +466,14 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
446
466
|
autoRepair?: boolean;
|
|
447
467
|
/**
|
|
448
468
|
* @remarks
|
|
449
|
-
*
|
|
469
|
+
* The auto repair node policy.
|
|
450
470
|
*/
|
|
451
471
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
452
472
|
/**
|
|
453
473
|
* @remarks
|
|
454
|
-
*
|
|
455
|
-
* - `true`:
|
|
456
|
-
* - `false`:
|
|
474
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
475
|
+
* - `true`: enables auto upgrade.
|
|
476
|
+
* - `false`: disables auto upgrade.
|
|
457
477
|
*
|
|
458
478
|
* Default value: `true`.
|
|
459
479
|
*
|
|
@@ -463,15 +483,15 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
463
483
|
autoUpgrade?: boolean;
|
|
464
484
|
/**
|
|
465
485
|
* @remarks
|
|
466
|
-
*
|
|
486
|
+
* The auto upgrade policy.
|
|
467
487
|
*/
|
|
468
488
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
469
489
|
/**
|
|
470
490
|
* @remarks
|
|
471
|
-
*
|
|
491
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
472
492
|
*
|
|
473
|
-
* - `true`:
|
|
474
|
-
* - `false`:
|
|
493
|
+
* - `true`: allows automatic CVE fixing.
|
|
494
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
475
495
|
*
|
|
476
496
|
* Default value: `true`.
|
|
477
497
|
*
|
|
@@ -481,15 +501,16 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
481
501
|
autoVulFix?: boolean;
|
|
482
502
|
/**
|
|
483
503
|
* @remarks
|
|
484
|
-
*
|
|
504
|
+
* The auto CVE fix policy.
|
|
485
505
|
*/
|
|
486
506
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
507
|
+
driftEnabled?: boolean;
|
|
487
508
|
/**
|
|
488
509
|
* @remarks
|
|
489
|
-
*
|
|
510
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
490
511
|
*
|
|
491
|
-
* - `true`:
|
|
492
|
-
* - `false`:
|
|
512
|
+
* - `true`: enables the managed node pool.
|
|
513
|
+
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
493
514
|
*
|
|
494
515
|
* Default value: `false`.
|
|
495
516
|
*
|
|
@@ -499,9 +520,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
499
520
|
enable?: boolean;
|
|
500
521
|
/**
|
|
501
522
|
* @remarks
|
|
502
|
-
* [This field is deprecated]
|
|
523
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
503
524
|
*
|
|
504
|
-
*
|
|
525
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
505
526
|
*
|
|
506
527
|
* @deprecated
|
|
507
528
|
*/
|
|
@@ -520,9 +541,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
520
541
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
521
542
|
/**
|
|
522
543
|
* @remarks
|
|
523
|
-
*
|
|
544
|
+
* The node pool name.
|
|
524
545
|
*
|
|
525
|
-
* Naming rules: The name can contain digits, Chinese characters,
|
|
546
|
+
* Naming rules: The name must be 1 to 63 characters in length and can contain digits, Chinese characters, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
526
547
|
*
|
|
527
548
|
* @example
|
|
528
549
|
* default-nodepool
|
|
@@ -530,9 +551,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
530
551
|
name?: string;
|
|
531
552
|
/**
|
|
532
553
|
* @remarks
|
|
533
|
-
* The resource group ID of the node pool. Instances created by the node pool
|
|
554
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
534
555
|
*
|
|
535
|
-
* A resource can
|
|
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.
|
|
536
557
|
*
|
|
537
558
|
* @example
|
|
538
559
|
* rg-acfmyvw3wjm****
|
|
@@ -552,7 +573,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
552
573
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
553
574
|
/**
|
|
554
575
|
* @remarks
|
|
555
|
-
*
|
|
576
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
556
577
|
*
|
|
557
578
|
* @example
|
|
558
579
|
* eap-bp67acfmxazb4****
|
|
@@ -560,10 +581,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
560
581
|
id?: string;
|
|
561
582
|
/**
|
|
562
583
|
* @remarks
|
|
563
|
-
*
|
|
564
|
-
* - `Open`:
|
|
565
|
-
* - `Target`:
|
|
566
|
-
* - `None`:
|
|
584
|
+
* The private node pool type and private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launches. Valid values:
|
|
585
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
586
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
587
|
+
* - `None`: none mode. Instance launch does not use private pool capacity.
|
|
567
588
|
*
|
|
568
589
|
* @example
|
|
569
590
|
* Open
|
|
@@ -583,16 +604,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
583
604
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
584
605
|
/**
|
|
585
606
|
* @remarks
|
|
586
|
-
*
|
|
607
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
587
608
|
*/
|
|
588
609
|
privatePoolIds?: string[];
|
|
589
610
|
/**
|
|
590
611
|
* @remarks
|
|
591
|
-
*
|
|
592
|
-
* PrivatePoolFirst: Private pool first. When specified private_pool_ids are set, the specified private pools are used preferentially. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances.
|
|
593
|
-
* PrivatePoolOnly: Private pool only. private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance launch fails.
|
|
594
|
-
* None: Do not use resource pool policy.
|
|
595
|
-
* Default value: None.
|
|
612
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launches. Valid values: PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances. PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, instance launch fails. None: no resource pool strategy. Default value: None.
|
|
596
613
|
*
|
|
597
614
|
* @example
|
|
598
615
|
* PrivatePoolFirst
|
|
@@ -612,7 +629,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
612
629
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
613
630
|
/**
|
|
614
631
|
* @remarks
|
|
615
|
-
*
|
|
632
|
+
* The spot instance type.
|
|
616
633
|
*
|
|
617
634
|
* @example
|
|
618
635
|
* ecs.c6.large
|
|
@@ -620,7 +637,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
620
637
|
instanceType?: string;
|
|
621
638
|
/**
|
|
622
639
|
* @remarks
|
|
623
|
-
*
|
|
640
|
+
* The maximum price per instance.
|
|
624
641
|
*
|
|
625
642
|
* <props="china">Unit: CNY/hour.
|
|
626
643
|
*
|
|
@@ -646,10 +663,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
646
663
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
647
664
|
/**
|
|
648
665
|
* @remarks
|
|
649
|
-
*
|
|
666
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
650
667
|
*
|
|
651
|
-
* - `true`:
|
|
652
|
-
* - `false`:
|
|
668
|
+
* - `true`: enables auto-renewal.
|
|
669
|
+
* - `false`: disables auto-renewal.
|
|
653
670
|
*
|
|
654
671
|
* Default value: `false`.
|
|
655
672
|
*
|
|
@@ -659,7 +676,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
659
676
|
autoRenew?: boolean;
|
|
660
677
|
/**
|
|
661
678
|
* @remarks
|
|
662
|
-
*
|
|
679
|
+
* The auto-renewal period. Valid values:
|
|
663
680
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
664
681
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
665
682
|
*
|
|
@@ -671,10 +688,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
671
688
|
autoRenewPeriod?: number;
|
|
672
689
|
/**
|
|
673
690
|
* @remarks
|
|
674
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatically
|
|
691
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
675
692
|
*
|
|
676
|
-
* - `true`:
|
|
677
|
-
* - `false`:
|
|
693
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
694
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
678
695
|
*
|
|
679
696
|
* @example
|
|
680
697
|
* true
|
|
@@ -682,12 +699,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
682
699
|
compensateWithOnDemand?: boolean;
|
|
683
700
|
/**
|
|
684
701
|
* @remarks
|
|
685
|
-
*
|
|
702
|
+
* The data cloud disk configuration for nodes. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
686
703
|
*/
|
|
687
704
|
dataDisks?: DataDisk[];
|
|
688
705
|
/**
|
|
689
706
|
* @remarks
|
|
690
|
-
* The deployment set
|
|
707
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
691
708
|
*
|
|
692
709
|
* @example
|
|
693
710
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -695,11 +712,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
695
712
|
deploymentsetId?: string;
|
|
696
713
|
/**
|
|
697
714
|
* @remarks
|
|
698
|
-
*
|
|
715
|
+
* The desired number of nodes in the node pool.
|
|
699
716
|
*
|
|
700
|
-
* The total number of nodes that the node pool should maintain.
|
|
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.
|
|
701
718
|
*
|
|
702
|
-
* If you do not need to create nodes,
|
|
719
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
703
720
|
*
|
|
704
721
|
* @example
|
|
705
722
|
* 2
|
|
@@ -707,12 +724,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
707
724
|
desiredSize?: number;
|
|
708
725
|
/**
|
|
709
726
|
* @remarks
|
|
710
|
-
*
|
|
727
|
+
* The block device initialization configuration.
|
|
711
728
|
*/
|
|
712
729
|
diskInit?: DiskInit[];
|
|
713
730
|
/**
|
|
714
731
|
* @remarks
|
|
715
|
-
*
|
|
732
|
+
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
716
733
|
*
|
|
717
734
|
* @example
|
|
718
735
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -720,18 +737,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
720
737
|
imageId?: string;
|
|
721
738
|
/**
|
|
722
739
|
* @remarks
|
|
723
|
-
*
|
|
740
|
+
* The operating system distribution type. We recommend that you use this field to specify the node operating system. Valid values:
|
|
724
741
|
*
|
|
725
742
|
* - `AliyunLinux`: Alinux2 image.
|
|
726
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
743
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
727
744
|
* - `AliyunLinux3`: Alinux3 image.
|
|
728
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
729
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
745
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
746
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
730
747
|
* - `CentOS`: CentOS image.
|
|
731
748
|
* - `Windows`: Windows image.
|
|
732
749
|
* - `WindowsCore`: WindowsCore image.
|
|
733
|
-
* - `ContainerOS`:
|
|
734
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3
|
|
750
|
+
* - `ContainerOS`: container-optimized image.
|
|
751
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
735
752
|
*
|
|
736
753
|
* @example
|
|
737
754
|
* AliyunLinux3
|
|
@@ -739,10 +756,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
739
756
|
imageType?: string;
|
|
740
757
|
/**
|
|
741
758
|
* @remarks
|
|
742
|
-
*
|
|
759
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
743
760
|
*
|
|
744
|
-
* - `PrePaid`:
|
|
745
|
-
* - `PostPaid`:
|
|
761
|
+
* - `PrePaid`: subscription.
|
|
762
|
+
* - `PostPaid`: pay-as-you-go.
|
|
746
763
|
*
|
|
747
764
|
* Default value: `PostPaid`.
|
|
748
765
|
*
|
|
@@ -752,22 +769,22 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
752
769
|
instanceChargeType?: string;
|
|
753
770
|
/**
|
|
754
771
|
* @remarks
|
|
755
|
-
*
|
|
772
|
+
* The instance attribute configuration.
|
|
756
773
|
*/
|
|
757
774
|
instancePatterns?: InstancePatterns[];
|
|
758
775
|
/**
|
|
759
776
|
* @remarks
|
|
760
|
-
*
|
|
777
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual purchased instance type may vary depending on inventory availability.
|
|
761
778
|
*
|
|
762
779
|
* Supported number of instance types: [1,10].
|
|
763
780
|
*/
|
|
764
781
|
instanceTypes?: string[];
|
|
765
782
|
/**
|
|
766
783
|
* @remarks
|
|
767
|
-
*
|
|
784
|
+
* The billing type for public IP addresses. Valid values:
|
|
768
785
|
*
|
|
769
|
-
* - `PayByBandwidth`:
|
|
770
|
-
* - `PayByTraffic`:
|
|
786
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
787
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
771
788
|
*
|
|
772
789
|
* @example
|
|
773
790
|
* PayByBandwidth
|
|
@@ -775,7 +792,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
775
792
|
internetChargeType?: string;
|
|
776
793
|
/**
|
|
777
794
|
* @remarks
|
|
778
|
-
*
|
|
795
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbit/s. Valid values: [1,100\\].
|
|
779
796
|
*
|
|
780
797
|
* @example
|
|
781
798
|
* 5
|
|
@@ -783,7 +800,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
783
800
|
internetMaxBandwidthOut?: number;
|
|
784
801
|
/**
|
|
785
802
|
* @remarks
|
|
786
|
-
*
|
|
803
|
+
* The key pair name. This parameter is mutually exclusive with `login_password`. For managed node pools, only `key_pair` is supported.
|
|
787
804
|
*
|
|
788
805
|
* @example
|
|
789
806
|
* pro-nodepool
|
|
@@ -791,7 +808,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
791
808
|
keyPair?: string;
|
|
792
809
|
/**
|
|
793
810
|
* @remarks
|
|
794
|
-
* SSH
|
|
811
|
+
* The SSH logon password. This parameter is mutually exclusive with `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.
|
|
795
812
|
*
|
|
796
813
|
* @example
|
|
797
814
|
* Hello1234
|
|
@@ -799,15 +816,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
799
816
|
loginPassword?: string;
|
|
800
817
|
/**
|
|
801
818
|
* @remarks
|
|
802
|
-
*
|
|
819
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
803
820
|
*
|
|
804
|
-
* - `PRIORITY`:
|
|
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.
|
|
805
822
|
*
|
|
806
|
-
* - `COST_OPTIMIZED`:
|
|
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.
|
|
807
824
|
*
|
|
808
|
-
* > `COST_OPTIMIZED`
|
|
825
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types are set in the scaling configuration or spot instances are selected.
|
|
809
826
|
*
|
|
810
|
-
* - `BALANCE`:
|
|
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).
|
|
811
828
|
*
|
|
812
829
|
* Default value: `PRIORITY`.
|
|
813
830
|
*
|
|
@@ -817,7 +834,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
817
834
|
multiAzPolicy?: string;
|
|
818
835
|
/**
|
|
819
836
|
* @remarks
|
|
820
|
-
*
|
|
837
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
821
838
|
*
|
|
822
839
|
* @example
|
|
823
840
|
* 0
|
|
@@ -825,7 +842,8 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
825
842
|
onDemandBaseCapacity?: number;
|
|
826
843
|
/**
|
|
827
844
|
* @remarks
|
|
828
|
-
*
|
|
845
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
846
|
+
* [_single.params.body.props.scaling_group.spot
|
|
829
847
|
*
|
|
830
848
|
* @example
|
|
831
849
|
* 20
|
|
@@ -833,10 +851,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
833
851
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
834
852
|
/**
|
|
835
853
|
* @remarks
|
|
836
|
-
*
|
|
854
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
837
855
|
*
|
|
838
|
-
* - When `period_unit=Week`, valid values
|
|
839
|
-
* - When `period_unit=Month`, valid values
|
|
856
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
857
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
840
858
|
*
|
|
841
859
|
* @example
|
|
842
860
|
* 1
|
|
@@ -844,10 +862,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
844
862
|
period?: number;
|
|
845
863
|
/**
|
|
846
864
|
* @remarks
|
|
847
|
-
*
|
|
865
|
+
* 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`.
|
|
848
866
|
*
|
|
849
|
-
* - `Month`:
|
|
850
|
-
* - `Week`:
|
|
867
|
+
* - `Month`: uses month as the billing unit.
|
|
868
|
+
* - `Week`: uses week as the billing unit.
|
|
851
869
|
*
|
|
852
870
|
* Default value: `Month`.
|
|
853
871
|
*
|
|
@@ -857,9 +875,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
857
875
|
periodUnit?: string;
|
|
858
876
|
/**
|
|
859
877
|
* @remarks
|
|
860
|
-
*
|
|
878
|
+
* **This field is deprecated.** Use the `image_type` parameter instead.
|
|
861
879
|
*
|
|
862
|
-
*
|
|
880
|
+
* The operating system platform. Valid values:
|
|
863
881
|
*
|
|
864
882
|
* - `AliyunLinux`
|
|
865
883
|
* - `CentOS`
|
|
@@ -874,27 +892,25 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
874
892
|
platform?: string;
|
|
875
893
|
/**
|
|
876
894
|
* @remarks
|
|
877
|
-
*
|
|
895
|
+
* The private node pool configuration.
|
|
878
896
|
*/
|
|
879
897
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
880
898
|
/**
|
|
881
899
|
* @remarks
|
|
882
|
-
* RDS
|
|
900
|
+
* The list of ApsaraDB RDS instances.
|
|
883
901
|
*/
|
|
884
902
|
rdsInstances?: string[];
|
|
885
903
|
/**
|
|
886
904
|
* @remarks
|
|
887
|
-
*
|
|
888
|
-
* This parameter only takes effect when creating pay-as-you-go instances.
|
|
889
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
905
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter: This parameter takes effect only when creating pay-as-you-go instances. This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
890
906
|
*/
|
|
891
907
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
892
908
|
/**
|
|
893
909
|
* @remarks
|
|
894
|
-
*
|
|
910
|
+
* The scaling group mode. Valid values:
|
|
895
911
|
*
|
|
896
|
-
* - `release`:
|
|
897
|
-
* - `recycle`:
|
|
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.)
|
|
898
914
|
*
|
|
899
915
|
* @example
|
|
900
916
|
* release
|
|
@@ -902,12 +918,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
902
918
|
scalingPolicy?: string;
|
|
903
919
|
/**
|
|
904
920
|
* @remarks
|
|
905
|
-
*
|
|
921
|
+
* The list of security group IDs.
|
|
906
922
|
*/
|
|
907
923
|
securityGroupIds?: string[];
|
|
908
924
|
/**
|
|
909
925
|
* @remarks
|
|
910
|
-
*
|
|
926
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
911
927
|
*
|
|
912
928
|
* @example
|
|
913
929
|
* 5
|
|
@@ -915,10 +931,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
915
931
|
spotInstancePools?: number;
|
|
916
932
|
/**
|
|
917
933
|
* @remarks
|
|
918
|
-
*
|
|
934
|
+
* Specifies whether to enable supplementing spot instances. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
919
935
|
*
|
|
920
|
-
* - `true`:
|
|
921
|
-
* - `false`:
|
|
936
|
+
* - `true`: Enables supplementing spot instances.
|
|
937
|
+
* - `false`: Disables supplementing spot instances.
|
|
922
938
|
*
|
|
923
939
|
* @example
|
|
924
940
|
* false
|
|
@@ -926,18 +942,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
926
942
|
spotInstanceRemedy?: boolean;
|
|
927
943
|
/**
|
|
928
944
|
* @remarks
|
|
929
|
-
*
|
|
945
|
+
* The price limit configuration for spot instances.
|
|
930
946
|
*/
|
|
931
947
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
932
948
|
/**
|
|
933
949
|
* @remarks
|
|
934
|
-
*
|
|
950
|
+
* The spot instance type. Valid values:
|
|
935
951
|
*
|
|
936
|
-
* - `NoSpot`:
|
|
937
|
-
* - `SpotWithPriceLimit`:
|
|
938
|
-
* - `SpotAsPriceGo`:
|
|
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.
|
|
939
955
|
*
|
|
940
|
-
* For more information, see [
|
|
956
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
941
957
|
*
|
|
942
958
|
* @example
|
|
943
959
|
* SpotWithPriceLimit
|
|
@@ -945,11 +961,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
945
961
|
spotStrategy?: string;
|
|
946
962
|
/**
|
|
947
963
|
* @remarks
|
|
948
|
-
*
|
|
949
|
-
* - true:
|
|
950
|
-
* - false:
|
|
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.
|
|
951
967
|
*
|
|
952
|
-
*
|
|
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).
|
|
953
969
|
*
|
|
954
970
|
* @example
|
|
955
971
|
* true
|
|
@@ -957,17 +973,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
957
973
|
systemDiskBurstingEnabled?: boolean;
|
|
958
974
|
/**
|
|
959
975
|
* @remarks
|
|
960
|
-
* Multiple disk types
|
|
976
|
+
* Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
961
977
|
*/
|
|
962
978
|
systemDiskCategories?: string[];
|
|
963
979
|
/**
|
|
964
980
|
* @remarks
|
|
965
|
-
*
|
|
966
|
-
* - `cloud_efficiency`:
|
|
967
|
-
* - `cloud_ssd`: SSD
|
|
968
|
-
* - `cloud_essd`: ESSD
|
|
969
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
970
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
981
|
+
* The type of the node system cloud disk. Valid values:
|
|
982
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
983
|
+
* - `cloud_ssd`: standard SSD.
|
|
984
|
+
* - `cloud_essd`: ESSD.
|
|
985
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
986
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
971
987
|
*
|
|
972
988
|
* Default value: `cloud_efficiency`.
|
|
973
989
|
*
|
|
@@ -977,7 +993,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
977
993
|
systemDiskCategory?: string;
|
|
978
994
|
/**
|
|
979
995
|
* @remarks
|
|
980
|
-
*
|
|
996
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
981
997
|
*
|
|
982
998
|
* @example
|
|
983
999
|
* aes-256
|
|
@@ -985,11 +1001,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
985
1001
|
systemDiskEncryptAlgorithm?: string;
|
|
986
1002
|
/**
|
|
987
1003
|
* @remarks
|
|
988
|
-
*
|
|
1004
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
989
1005
|
*
|
|
990
|
-
* - true:
|
|
1006
|
+
* - true: encrypts the system cloud disk.
|
|
991
1007
|
*
|
|
992
|
-
* - false:
|
|
1008
|
+
* - false: does not encrypt the system cloud disk.
|
|
993
1009
|
*
|
|
994
1010
|
* @example
|
|
995
1011
|
* false
|
|
@@ -997,7 +1013,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
997
1013
|
systemDiskEncrypted?: boolean;
|
|
998
1014
|
/**
|
|
999
1015
|
* @remarks
|
|
1000
|
-
* KMS key ID used
|
|
1016
|
+
* The KMS key ID used by the system cloud disk.
|
|
1001
1017
|
*
|
|
1002
1018
|
* @example
|
|
1003
1019
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1005,11 +1021,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1005
1021
|
systemDiskKmsKeyId?: string;
|
|
1006
1022
|
/**
|
|
1007
1023
|
* @remarks
|
|
1008
|
-
*
|
|
1009
|
-
* - PL0:
|
|
1010
|
-
* - PL1:
|
|
1011
|
-
* - PL2:
|
|
1012
|
-
* - PL3:
|
|
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 [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
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.
|
|
1013
1029
|
*
|
|
1014
1030
|
* @example
|
|
1015
1031
|
* PL1
|
|
@@ -1017,11 +1033,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1017
1033
|
systemDiskPerformanceLevel?: string;
|
|
1018
1034
|
/**
|
|
1019
1035
|
* @remarks
|
|
1020
|
-
*
|
|
1036
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1021
1037
|
*
|
|
1022
1038
|
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1023
1039
|
*
|
|
1024
|
-
*
|
|
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).
|
|
1025
1041
|
*
|
|
1026
1042
|
* @example
|
|
1027
1043
|
* 1000
|
|
@@ -1029,11 +1045,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1029
1045
|
systemDiskProvisionedIops?: number;
|
|
1030
1046
|
/**
|
|
1031
1047
|
* @remarks
|
|
1032
|
-
*
|
|
1048
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1033
1049
|
*
|
|
1034
1050
|
* Valid values: [20,2048\\].
|
|
1035
1051
|
*
|
|
1036
|
-
* The value
|
|
1052
|
+
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1037
1053
|
*
|
|
1038
1054
|
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1039
1055
|
*
|
|
@@ -1043,7 +1059,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1043
1059
|
systemDiskSize?: number;
|
|
1044
1060
|
/**
|
|
1045
1061
|
* @remarks
|
|
1046
|
-
*
|
|
1062
|
+
* The snapshot policy for the system cloud disk.
|
|
1047
1063
|
*
|
|
1048
1064
|
* @example
|
|
1049
1065
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1053,14 +1069,14 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1053
1069
|
* @remarks
|
|
1054
1070
|
* Tags added only to ECS instances.
|
|
1055
1071
|
*
|
|
1056
|
-
* Tag keys cannot be duplicated and can be up to 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
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://".
|
|
1057
1073
|
*/
|
|
1058
1074
|
tags?: Tag[];
|
|
1059
1075
|
/**
|
|
1060
1076
|
* @remarks
|
|
1061
|
-
*
|
|
1077
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1062
1078
|
*
|
|
1063
|
-
* > To ensure high availability,
|
|
1079
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1064
1080
|
*/
|
|
1065
1081
|
vswitchIds?: string[];
|
|
1066
1082
|
static names(): {
|
|
@@ -1077,10 +1093,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1077
1093
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1078
1094
|
/**
|
|
1079
1095
|
* @remarks
|
|
1080
|
-
*
|
|
1096
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1081
1097
|
*
|
|
1082
|
-
* - `true`:
|
|
1083
|
-
* - `false`:
|
|
1098
|
+
* - `true`: Enabled.
|
|
1099
|
+
* - `false`: Disabled.
|
|
1084
1100
|
*
|
|
1085
1101
|
* Default value: `false`.
|
|
1086
1102
|
*
|
|
@@ -1102,12 +1118,12 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1102
1118
|
export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1103
1119
|
/**
|
|
1104
1120
|
* @remarks
|
|
1105
|
-
*
|
|
1121
|
+
* The auto scaling configuration.
|
|
1106
1122
|
*/
|
|
1107
1123
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1108
1124
|
/**
|
|
1109
1125
|
* @remarks
|
|
1110
|
-
*
|
|
1126
|
+
* Specifies whether to enable concurrency.
|
|
1111
1127
|
*
|
|
1112
1128
|
* @example
|
|
1113
1129
|
* true
|
|
@@ -1115,32 +1131,37 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1115
1131
|
concurrency?: boolean;
|
|
1116
1132
|
/**
|
|
1117
1133
|
* @remarks
|
|
1118
|
-
*
|
|
1134
|
+
* The Lingjun node pool configuration. (Not effective)
|
|
1135
|
+
*/
|
|
1136
|
+
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1137
|
+
/**
|
|
1138
|
+
* @remarks
|
|
1139
|
+
* The cluster-related configuration.
|
|
1119
1140
|
*/
|
|
1120
1141
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1121
1142
|
/**
|
|
1122
1143
|
* @remarks
|
|
1123
|
-
*
|
|
1144
|
+
* The managed node pool configuration.
|
|
1124
1145
|
*/
|
|
1125
1146
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1126
1147
|
/**
|
|
1127
1148
|
* @remarks
|
|
1128
|
-
*
|
|
1149
|
+
* The node pool configuration.
|
|
1129
1150
|
*/
|
|
1130
1151
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1131
1152
|
/**
|
|
1132
1153
|
* @remarks
|
|
1133
|
-
*
|
|
1154
|
+
* The scaling group configuration of the node pool.
|
|
1134
1155
|
*/
|
|
1135
1156
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1136
1157
|
/**
|
|
1137
1158
|
* @remarks
|
|
1138
|
-
*
|
|
1159
|
+
* The confidential computing cluster configuration.
|
|
1139
1160
|
*/
|
|
1140
1161
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1141
1162
|
/**
|
|
1142
1163
|
* @remarks
|
|
1143
|
-
* Synchronously
|
|
1164
|
+
* Synchronously updates node labels and taints.
|
|
1144
1165
|
*
|
|
1145
1166
|
* @example
|
|
1146
1167
|
* true
|