@alicloud/cs20151215 7.0.2 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -8,9 +8,9 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* [This field is deprecated]
|
|
12
12
|
*
|
|
13
|
-
* EIP
|
|
13
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 5
|
|
@@ -20,14 +20,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
23
|
+
* [This field is deprecated]
|
|
24
24
|
*
|
|
25
|
-
* EIP
|
|
25
|
+
* The billing method for the EIP. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - `PayByBandwidth
|
|
28
|
-
* - `PayByTraffic
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* Default value: PayByBandwidth.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* PayByBandwidth
|
|
@@ -37,12 +37,12 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
37
|
eipInternetChargeType?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Specifies whether to enable auto scaling.
|
|
41
41
|
*
|
|
42
|
-
* - `true
|
|
43
|
-
* - `false
|
|
42
|
+
* - `true`: Enables auto scaling for the node pool.
|
|
43
|
+
* - `false`: Disables auto scaling. When set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* Default value: `false`.
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -52,14 +52,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
52
|
enable?: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
*
|
|
55
|
+
* [This field is deprecated]
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
58
58
|
*
|
|
59
|
-
* - `true
|
|
60
|
-
* - `false
|
|
59
|
+
* - `true`: Associates an EIP.
|
|
60
|
+
* - `false`: Does not associate an EIP.
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* Default value: `false`.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* true
|
|
@@ -69,7 +69,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
69
69
|
isBondEip?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* The maximum number of instances in the auto scaling group.
|
|
73
73
|
*
|
|
74
74
|
* This parameter is required.
|
|
75
75
|
*
|
|
@@ -79,7 +79,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
79
79
|
maxInstances?: number;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
*
|
|
82
|
+
* The minimum number of instances in the auto scaling group.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|
|
@@ -89,14 +89,14 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
89
|
minInstances?: number;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
*
|
|
92
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
93
93
|
*
|
|
94
|
-
* - `cpu
|
|
95
|
-
* - `gpu
|
|
96
|
-
* - `gpushare
|
|
97
|
-
* - `spot
|
|
94
|
+
* - `cpu`: regular instance type.
|
|
95
|
+
* - `gpu`: GPU instance type.
|
|
96
|
+
* - `gpushare`: GPU shared type.
|
|
97
|
+
* - `spot`: spot instance type.
|
|
98
98
|
*
|
|
99
|
-
*
|
|
99
|
+
* Default value: `cpu`.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* cpu
|
|
@@ -116,9 +116,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
116
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
*
|
|
119
|
+
* **This field is deprecated.**
|
|
120
120
|
*
|
|
121
|
-
*
|
|
121
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* 10
|
|
@@ -128,9 +128,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
128
|
bandwidth?: number;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
*
|
|
131
|
+
* **This field is deprecated.**
|
|
132
132
|
*
|
|
133
|
-
*
|
|
133
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +140,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
140
|
ccnId?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
*
|
|
143
|
+
* **This field is deprecated.**
|
|
144
144
|
*
|
|
145
|
-
*
|
|
145
|
+
* The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* cn-shanghai
|
|
@@ -152,9 +152,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
152
|
ccnRegionId?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
*
|
|
155
|
+
* **This field is deprecated.**
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +164,9 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
164
|
cenId?: string;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
*
|
|
167
|
+
* **This field is deprecated.**
|
|
168
168
|
*
|
|
169
|
-
*
|
|
169
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
172
|
* 1
|
|
@@ -188,12 +188,12 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
188
188
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
189
189
|
/**
|
|
190
190
|
* @remarks
|
|
191
|
-
*
|
|
191
|
+
* 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:
|
|
192
192
|
*
|
|
193
|
-
* - `true
|
|
194
|
-
* - `false
|
|
193
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
194
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
195
195
|
*
|
|
196
|
-
*
|
|
196
|
+
* Default value: `false`.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* true
|
|
@@ -201,12 +201,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
201
|
cmsEnabled?: boolean;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
*
|
|
204
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
205
205
|
*
|
|
206
|
-
* - `static
|
|
207
|
-
* - `none
|
|
206
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
207
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
208
208
|
*
|
|
209
|
-
*
|
|
209
|
+
* Default value: `none`.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* none
|
|
@@ -214,17 +214,17 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
214
|
cpuPolicy?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
*
|
|
217
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
218
218
|
*/
|
|
219
219
|
labels?: Tag[];
|
|
220
220
|
/**
|
|
221
221
|
* @remarks
|
|
222
|
-
*
|
|
222
|
+
* The node name consists of three parts: prefix + node IP + suffix:
|
|
223
223
|
*
|
|
224
|
-
* -
|
|
225
|
-
* -
|
|
224
|
+
* - 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.
|
|
225
|
+
* - The node IP is the full private IP address of the node.
|
|
226
226
|
*
|
|
227
|
-
*
|
|
227
|
+
* 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.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* customized,aliyun,ip,com
|
|
@@ -232,12 +232,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
232
232
|
nodeNameMode?: string;
|
|
233
233
|
/**
|
|
234
234
|
* @remarks
|
|
235
|
-
*
|
|
236
|
-
* - `containerd
|
|
237
|
-
* - `Sandboxed-Container.runv
|
|
238
|
-
* - `docker
|
|
235
|
+
* The container runtime. Valid values:
|
|
236
|
+
* - `containerd`: Recommended. Supports all cluster versions.
|
|
237
|
+
* - `Sandboxed-Container.runv`: Sandboxed container. Provides higher isolation. Supports clusters of version 1.24 or earlier.
|
|
238
|
+
* - `docker`: Supports clusters of version 1.22 or earlier.
|
|
239
239
|
*
|
|
240
|
-
*
|
|
240
|
+
* Default value: `containerd`
|
|
241
241
|
*
|
|
242
242
|
* This parameter is required.
|
|
243
243
|
*
|
|
@@ -247,7 +247,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
247
247
|
runtime?: string;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
*
|
|
250
|
+
* The container runtime version.
|
|
251
251
|
*
|
|
252
252
|
* This parameter is required.
|
|
253
253
|
*
|
|
@@ -257,12 +257,12 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
257
257
|
runtimeVersion?: string;
|
|
258
258
|
/**
|
|
259
259
|
* @remarks
|
|
260
|
-
*
|
|
260
|
+
* The taint configuration.
|
|
261
261
|
*/
|
|
262
262
|
taints?: Taint[];
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
*
|
|
265
|
+
* The node custom data.
|
|
266
266
|
*
|
|
267
267
|
* @example
|
|
268
268
|
* MXM=
|
|
@@ -280,9 +280,19 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
283
|
+
/**
|
|
284
|
+
* @example
|
|
285
|
+
* 5
|
|
286
|
+
*/
|
|
287
|
+
maxParallelRepairingNodes?: string;
|
|
288
|
+
/**
|
|
289
|
+
* @example
|
|
290
|
+
* 20%
|
|
291
|
+
*/
|
|
292
|
+
maxUnhealthyNodesThreshold?: string;
|
|
283
293
|
/**
|
|
284
294
|
* @remarks
|
|
285
|
-
*
|
|
295
|
+
* Specifies whether to allow node restart.
|
|
286
296
|
*
|
|
287
297
|
* @example
|
|
288
298
|
* true
|
|
@@ -302,7 +312,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
302
312
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
303
313
|
/**
|
|
304
314
|
* @remarks
|
|
305
|
-
*
|
|
315
|
+
* Specifies whether to allow automatic kubelet upgrade.
|
|
306
316
|
*
|
|
307
317
|
* @example
|
|
308
318
|
* true
|
|
@@ -322,7 +332,7 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
322
332
|
export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
323
333
|
/**
|
|
324
334
|
* @remarks
|
|
325
|
-
*
|
|
335
|
+
* Specifies whether to allow node restart.
|
|
326
336
|
*
|
|
327
337
|
* @example
|
|
328
338
|
* true
|
|
@@ -330,7 +340,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
330
340
|
restartNode?: boolean;
|
|
331
341
|
/**
|
|
332
342
|
* @remarks
|
|
333
|
-
*
|
|
343
|
+
* The vulnerability levels that are allowed for automatic fix, separated by commas.
|
|
334
344
|
*
|
|
335
345
|
* @example
|
|
336
346
|
* asap,nntf
|
|
@@ -350,10 +360,10 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
350
360
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
351
361
|
/**
|
|
352
362
|
* @remarks
|
|
353
|
-
*
|
|
363
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
354
364
|
*
|
|
355
|
-
* - `true
|
|
356
|
-
* - `false
|
|
365
|
+
* - `true`: Enable auto upgrade.
|
|
366
|
+
* - `false`: Disable auto upgrade.
|
|
357
367
|
*
|
|
358
368
|
* @example
|
|
359
369
|
* false
|
|
@@ -361,9 +371,9 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
361
371
|
autoUpgrade?: boolean;
|
|
362
372
|
/**
|
|
363
373
|
* @remarks
|
|
364
|
-
*
|
|
374
|
+
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
365
375
|
*
|
|
366
|
-
*
|
|
376
|
+
* Default value: 1.
|
|
367
377
|
*
|
|
368
378
|
* @example
|
|
369
379
|
* 0
|
|
@@ -371,7 +381,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
371
381
|
maxUnavailable?: number;
|
|
372
382
|
/**
|
|
373
383
|
* @remarks
|
|
374
|
-
*
|
|
384
|
+
* The number of extra nodes.
|
|
375
385
|
*
|
|
376
386
|
* @example
|
|
377
387
|
* 0
|
|
@@ -379,7 +389,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
379
389
|
surge?: number;
|
|
380
390
|
/**
|
|
381
391
|
* @remarks
|
|
382
|
-
*
|
|
392
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
383
393
|
*
|
|
384
394
|
* @example
|
|
385
395
|
* 0
|
|
@@ -397,13 +407,17 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
397
407
|
});
|
|
398
408
|
}
|
|
399
409
|
export declare class NodepoolManagement extends $dara.Model {
|
|
410
|
+
/**
|
|
411
|
+
* @remarks
|
|
412
|
+
* Specifies whether to enable node self-healing ECS fault detection.
|
|
413
|
+
*/
|
|
400
414
|
autoFaultDiagnosis?: boolean;
|
|
401
415
|
/**
|
|
402
416
|
* @remarks
|
|
403
|
-
*
|
|
417
|
+
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
404
418
|
*
|
|
405
|
-
* - `true
|
|
406
|
-
* - `false
|
|
419
|
+
* - `true`: Enable automatic repair.
|
|
420
|
+
* - `false`: Disable automatic repair.
|
|
407
421
|
*
|
|
408
422
|
* @example
|
|
409
423
|
* false
|
|
@@ -411,12 +425,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
411
425
|
autoRepair?: boolean;
|
|
412
426
|
/**
|
|
413
427
|
* @remarks
|
|
414
|
-
*
|
|
428
|
+
* The auto repair node policy.
|
|
415
429
|
*/
|
|
416
430
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
431
|
/**
|
|
418
432
|
* @remarks
|
|
419
|
-
*
|
|
433
|
+
* Specifies whether to enable auto upgrade.
|
|
420
434
|
*
|
|
421
435
|
* @example
|
|
422
436
|
* true
|
|
@@ -424,12 +438,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
424
438
|
autoUpgrade?: boolean;
|
|
425
439
|
/**
|
|
426
440
|
* @remarks
|
|
427
|
-
*
|
|
441
|
+
* The auto upgrade policy.
|
|
428
442
|
*/
|
|
429
443
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
444
|
/**
|
|
431
445
|
* @remarks
|
|
432
|
-
*
|
|
446
|
+
* Specifies whether to automatically fix CVEs.
|
|
433
447
|
*
|
|
434
448
|
* @example
|
|
435
449
|
* true
|
|
@@ -437,15 +451,20 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
437
451
|
autoVulFix?: boolean;
|
|
438
452
|
/**
|
|
439
453
|
* @remarks
|
|
440
|
-
*
|
|
454
|
+
* The auto CVE fix policy.
|
|
441
455
|
*/
|
|
442
456
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
443
457
|
/**
|
|
444
458
|
* @remarks
|
|
445
|
-
*
|
|
459
|
+
* 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.
|
|
460
|
+
*/
|
|
461
|
+
driftEnabled?: boolean;
|
|
462
|
+
/**
|
|
463
|
+
* @remarks
|
|
464
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
446
465
|
*
|
|
447
|
-
* - `true
|
|
448
|
-
* - `false
|
|
466
|
+
* - `true`: Enable the managed node pool.
|
|
467
|
+
* - `false`: Do not enable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
449
468
|
*
|
|
450
469
|
* @example
|
|
451
470
|
* false
|
|
@@ -453,7 +472,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
453
472
|
enable?: boolean;
|
|
454
473
|
/**
|
|
455
474
|
* @remarks
|
|
456
|
-
*
|
|
475
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
457
476
|
*
|
|
458
477
|
* @deprecated
|
|
459
478
|
*/
|
|
@@ -472,7 +491,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
472
491
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
473
492
|
/**
|
|
474
493
|
* @remarks
|
|
475
|
-
*
|
|
494
|
+
* The custom node component configuration.
|
|
476
495
|
*
|
|
477
496
|
* @example
|
|
478
497
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -494,12 +513,12 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
494
513
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
495
514
|
/**
|
|
496
515
|
* @remarks
|
|
497
|
-
*
|
|
516
|
+
* The node component configuration.
|
|
498
517
|
*/
|
|
499
518
|
config?: NodepoolNodeComponentsConfig;
|
|
500
519
|
/**
|
|
501
520
|
* @remarks
|
|
502
|
-
*
|
|
521
|
+
* The node component name.
|
|
503
522
|
*
|
|
504
523
|
* @example
|
|
505
524
|
* kubelet
|
|
@@ -507,7 +526,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
507
526
|
name?: string;
|
|
508
527
|
/**
|
|
509
528
|
* @remarks
|
|
510
|
-
*
|
|
529
|
+
* The node component version.
|
|
511
530
|
*
|
|
512
531
|
* @example
|
|
513
532
|
* 1.33.3-aliyun.1
|
|
@@ -527,7 +546,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
527
546
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
528
547
|
/**
|
|
529
548
|
* @remarks
|
|
530
|
-
* Kubelet
|
|
549
|
+
* The Kubelet parameter settings.
|
|
531
550
|
*/
|
|
532
551
|
kubeletConfiguration?: KubeletConfig;
|
|
533
552
|
static names(): {
|
|
@@ -544,7 +563,7 @@ export declare class NodepoolNodeConfig extends $dara.Model {
|
|
|
544
563
|
export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
545
564
|
/**
|
|
546
565
|
* @remarks
|
|
547
|
-
*
|
|
566
|
+
* The node pool name.
|
|
548
567
|
*
|
|
549
568
|
* This parameter is required.
|
|
550
569
|
*
|
|
@@ -554,7 +573,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
554
573
|
name?: string;
|
|
555
574
|
/**
|
|
556
575
|
* @remarks
|
|
557
|
-
*
|
|
576
|
+
* The ID of the resource group to which the node pool belongs.
|
|
558
577
|
*
|
|
559
578
|
* @example
|
|
560
579
|
* rg-acfmyvw3wjm****
|
|
@@ -562,10 +581,10 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
562
581
|
resourceGroupId?: string;
|
|
563
582
|
/**
|
|
564
583
|
* @remarks
|
|
565
|
-
*
|
|
584
|
+
* The node pool type. Valid values:
|
|
566
585
|
*
|
|
567
|
-
* - `ess
|
|
568
|
-
* - `edge
|
|
586
|
+
* - `ess`: node pool.
|
|
587
|
+
* - `edge`: edge node pool.
|
|
569
588
|
*
|
|
570
589
|
* @example
|
|
571
590
|
* ess
|
|
@@ -582,10 +601,32 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
582
601
|
[key: string]: any;
|
|
583
602
|
});
|
|
584
603
|
}
|
|
604
|
+
export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
605
|
+
/**
|
|
606
|
+
* @remarks
|
|
607
|
+
* Specifies whether to enable nested virtualization. Valid values:
|
|
608
|
+
* disabled: Disable nested virtualization.
|
|
609
|
+
* enabled: Enable nested virtualization.
|
|
610
|
+
*
|
|
611
|
+
* @example
|
|
612
|
+
* enabled
|
|
613
|
+
*/
|
|
614
|
+
nestedVirtualization?: string;
|
|
615
|
+
static names(): {
|
|
616
|
+
[key: string]: string;
|
|
617
|
+
};
|
|
618
|
+
static types(): {
|
|
619
|
+
[key: string]: any;
|
|
620
|
+
};
|
|
621
|
+
validate(): void;
|
|
622
|
+
constructor(map?: {
|
|
623
|
+
[key: string]: any;
|
|
624
|
+
});
|
|
625
|
+
}
|
|
585
626
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
586
627
|
/**
|
|
587
628
|
* @remarks
|
|
588
|
-
*
|
|
629
|
+
* The private node pool ID.
|
|
589
630
|
*
|
|
590
631
|
* @example
|
|
591
632
|
* eap-bp67acfmxazb4****
|
|
@@ -593,13 +634,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
593
634
|
id?: string;
|
|
594
635
|
/**
|
|
595
636
|
* @remarks
|
|
596
|
-
*
|
|
637
|
+
* The private node pool type. The private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
|
|
597
638
|
*
|
|
598
|
-
* - `Open
|
|
639
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for instance startup.
|
|
599
640
|
*
|
|
600
|
-
* - `Target
|
|
641
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity for instance startup. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
601
642
|
*
|
|
602
|
-
* - `None
|
|
643
|
+
* - `None`: none mode. The instance does not use private pool capacity for startup.
|
|
603
644
|
*
|
|
604
645
|
* @example
|
|
605
646
|
* Open
|
|
@@ -619,16 +660,16 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
619
660
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
620
661
|
/**
|
|
621
662
|
* @remarks
|
|
622
|
-
*
|
|
663
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be passed in. Valid values of N: 1 to 20.
|
|
623
664
|
*/
|
|
624
665
|
privatePoolIds?: string[];
|
|
625
666
|
/**
|
|
626
667
|
* @remarks
|
|
627
|
-
*
|
|
628
|
-
* PrivatePoolFirst
|
|
629
|
-
* PrivatePoolOnly
|
|
630
|
-
* None
|
|
631
|
-
*
|
|
668
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance startup. Valid values:
|
|
669
|
+
* PrivatePoolFirst: private pool first. When this policy is selected and resource_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.
|
|
670
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to start.
|
|
671
|
+
* None: no resource pool policy.
|
|
672
|
+
* Default value: None.
|
|
632
673
|
*
|
|
633
674
|
* @example
|
|
634
675
|
* PrivatePoolFirst
|
|
@@ -648,7 +689,7 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
648
689
|
export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
649
690
|
/**
|
|
650
691
|
* @remarks
|
|
651
|
-
*
|
|
692
|
+
* The spot instance type.
|
|
652
693
|
*
|
|
653
694
|
* @example
|
|
654
695
|
* ecs.c6.large
|
|
@@ -656,7 +697,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
656
697
|
instanceType?: string;
|
|
657
698
|
/**
|
|
658
699
|
* @remarks
|
|
659
|
-
*
|
|
700
|
+
* The maximum price per instance.
|
|
660
701
|
*
|
|
661
702
|
* @example
|
|
662
703
|
* 0.39
|
|
@@ -676,7 +717,7 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
676
717
|
export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
677
718
|
/**
|
|
678
719
|
* @remarks
|
|
679
|
-
*
|
|
720
|
+
* The tag key.
|
|
680
721
|
*
|
|
681
722
|
* @example
|
|
682
723
|
* key
|
|
@@ -684,7 +725,7 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
684
725
|
key?: string;
|
|
685
726
|
/**
|
|
686
727
|
* @remarks
|
|
687
|
-
*
|
|
728
|
+
* The tag value.
|
|
688
729
|
*
|
|
689
730
|
* @example
|
|
690
731
|
* value
|
|
@@ -704,12 +745,12 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
704
745
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
705
746
|
/**
|
|
706
747
|
* @remarks
|
|
707
|
-
*
|
|
748
|
+
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
708
749
|
*
|
|
709
|
-
* - `true
|
|
710
|
-
* - `false
|
|
750
|
+
* - `true`: Enables auto-renewal.
|
|
751
|
+
* - `false`: Disables auto-renewal.
|
|
711
752
|
*
|
|
712
|
-
*
|
|
753
|
+
* Default value: `true`.
|
|
713
754
|
*
|
|
714
755
|
* @example
|
|
715
756
|
* false
|
|
@@ -717,11 +758,11 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
717
758
|
autoRenew?: boolean;
|
|
718
759
|
/**
|
|
719
760
|
* @remarks
|
|
720
|
-
*
|
|
761
|
+
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
721
762
|
*
|
|
722
|
-
*
|
|
763
|
+
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
723
764
|
*
|
|
724
|
-
*
|
|
765
|
+
* Default value: 1.
|
|
725
766
|
*
|
|
726
767
|
* @example
|
|
727
768
|
* 0
|
|
@@ -729,10 +770,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
729
770
|
autoRenewPeriod?: number;
|
|
730
771
|
/**
|
|
731
772
|
* @remarks
|
|
732
|
-
*
|
|
773
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
733
774
|
*
|
|
734
|
-
* - `true
|
|
735
|
-
* - `false
|
|
775
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
776
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
736
777
|
*
|
|
737
778
|
* @example
|
|
738
779
|
* true
|
|
@@ -740,12 +781,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
740
781
|
compensateWithOnDemand?: boolean;
|
|
741
782
|
/**
|
|
742
783
|
* @remarks
|
|
743
|
-
*
|
|
784
|
+
* The CPU configuration options.
|
|
785
|
+
*/
|
|
786
|
+
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
787
|
+
/**
|
|
788
|
+
* @remarks
|
|
789
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
744
790
|
*/
|
|
745
791
|
dataDisks?: DataDisk[];
|
|
746
792
|
/**
|
|
747
793
|
* @remarks
|
|
748
|
-
*
|
|
794
|
+
* The deployment set ID.
|
|
749
795
|
*
|
|
750
796
|
* @example
|
|
751
797
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -753,7 +799,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
753
799
|
deploymentsetId?: string;
|
|
754
800
|
/**
|
|
755
801
|
* @remarks
|
|
756
|
-
*
|
|
802
|
+
* The desired number of nodes in the node pool.
|
|
757
803
|
*
|
|
758
804
|
* @example
|
|
759
805
|
* 2
|
|
@@ -761,12 +807,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
761
807
|
desiredSize?: number;
|
|
762
808
|
/**
|
|
763
809
|
* @remarks
|
|
764
|
-
*
|
|
810
|
+
* The block device initialization configuration.
|
|
765
811
|
*/
|
|
766
812
|
diskInit?: DiskInit[];
|
|
767
813
|
/**
|
|
768
814
|
* @remarks
|
|
769
|
-
*
|
|
815
|
+
* The custom image ID. The system-provided image is used by default.
|
|
770
816
|
*
|
|
771
817
|
* @example
|
|
772
818
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
@@ -774,16 +820,16 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
774
820
|
imageId?: string;
|
|
775
821
|
/**
|
|
776
822
|
* @remarks
|
|
777
|
-
*
|
|
823
|
+
* The operating system image type. Specify either this parameter or platform. Valid values:
|
|
778
824
|
*
|
|
779
|
-
* - `AliyunLinux
|
|
780
|
-
* - `AliyunLinux3
|
|
781
|
-
* - `AliyunLinux3Arm64
|
|
782
|
-
* - `AliyunLinuxUEFI
|
|
783
|
-
* - `CentOS
|
|
784
|
-
* - `Windows
|
|
785
|
-
* - `WindowsCore
|
|
786
|
-
* - `ContainerOS
|
|
825
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
826
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
827
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
828
|
+
* - `AliyunLinuxUEFI`: Alinux2 UEFI image.
|
|
829
|
+
* - `CentOS`: CentOS image.
|
|
830
|
+
* - `Windows`: Windows image.
|
|
831
|
+
* - `WindowsCore`: WindowsCore image.
|
|
832
|
+
* - `ContainerOS`: container-optimized image.
|
|
787
833
|
*
|
|
788
834
|
* @example
|
|
789
835
|
* AliyunLinux
|
|
@@ -791,12 +837,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
791
837
|
imageType?: string;
|
|
792
838
|
/**
|
|
793
839
|
* @remarks
|
|
794
|
-
*
|
|
840
|
+
* The billing method for nodes in the node pool. Valid values:
|
|
795
841
|
*
|
|
796
|
-
* - `PrePaid
|
|
797
|
-
* - `PostPaid
|
|
842
|
+
* - `PrePaid`: subscription.
|
|
843
|
+
* - `PostPaid`: pay-as-you-go.
|
|
798
844
|
*
|
|
799
|
-
*
|
|
845
|
+
* Default value: `PostPaid`.
|
|
800
846
|
*
|
|
801
847
|
* This parameter is required.
|
|
802
848
|
*
|
|
@@ -806,23 +852,23 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
806
852
|
instanceChargeType?: string;
|
|
807
853
|
/**
|
|
808
854
|
* @remarks
|
|
809
|
-
* ECS
|
|
810
|
-
*
|
|
855
|
+
* The metadata access configuration for ECS instances.
|
|
856
|
+
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
|
|
811
857
|
*/
|
|
812
858
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
813
859
|
/**
|
|
814
860
|
* @remarks
|
|
815
|
-
*
|
|
861
|
+
* The instance types.
|
|
816
862
|
*
|
|
817
863
|
* This parameter is required.
|
|
818
864
|
*/
|
|
819
865
|
instanceTypes?: string[];
|
|
820
866
|
/**
|
|
821
867
|
* @remarks
|
|
822
|
-
*
|
|
868
|
+
* The billing method for public IP addresses. Valid values:
|
|
823
869
|
*
|
|
824
|
-
* - `PayByBandwidth
|
|
825
|
-
* - `PayByTraffic
|
|
870
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
871
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
826
872
|
*
|
|
827
873
|
* @example
|
|
828
874
|
* PayByBandwidth
|
|
@@ -830,7 +876,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
830
876
|
internetChargeType?: string;
|
|
831
877
|
/**
|
|
832
878
|
* @remarks
|
|
833
|
-
*
|
|
879
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100].
|
|
834
880
|
*
|
|
835
881
|
* @example
|
|
836
882
|
* 10
|
|
@@ -838,9 +884,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
838
884
|
internetMaxBandwidthOut?: number;
|
|
839
885
|
/**
|
|
840
886
|
* @remarks
|
|
841
|
-
*
|
|
887
|
+
* The key pair name. Specify either this parameter or `login_password`.
|
|
842
888
|
*
|
|
843
|
-
* >
|
|
889
|
+
* > For managed node pools, only `key_pair` is supported.
|
|
844
890
|
*
|
|
845
891
|
* @example
|
|
846
892
|
* np-key
|
|
@@ -848,12 +894,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
848
894
|
keyPair?: string;
|
|
849
895
|
/**
|
|
850
896
|
* @remarks
|
|
851
|
-
*
|
|
897
|
+
* Specifies whether scaled-out ECS instances log on as a non-root user.
|
|
852
898
|
*/
|
|
853
899
|
loginAsNonRoot?: boolean;
|
|
854
900
|
/**
|
|
855
901
|
* @remarks
|
|
856
|
-
* SSH
|
|
902
|
+
* 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.
|
|
857
903
|
*
|
|
858
904
|
* @example
|
|
859
905
|
* Hello1234
|
|
@@ -861,17 +907,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
861
907
|
loginPassword?: string;
|
|
862
908
|
/**
|
|
863
909
|
* @remarks
|
|
864
|
-
*
|
|
910
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
865
911
|
*
|
|
866
|
-
* - `PRIORITY
|
|
912
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that 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.
|
|
867
913
|
*
|
|
868
|
-
* - `COST_OPTIMIZED
|
|
914
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of ascending vCPU unit price. 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 create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
869
915
|
*
|
|
870
|
-
* >`COST_OPTIMIZED
|
|
916
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
871
917
|
*
|
|
872
|
-
* - `BALANCE
|
|
918
|
+
* - `BALANCE`: Distributes ECS instances evenly across the active zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
873
919
|
*
|
|
874
|
-
*
|
|
920
|
+
* Default value: `PRIORITY`.
|
|
875
921
|
*
|
|
876
922
|
* @example
|
|
877
923
|
* COST_OPTIMIZED
|
|
@@ -879,7 +925,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
879
925
|
multiAzPolicy?: string;
|
|
880
926
|
/**
|
|
881
927
|
* @remarks
|
|
882
|
-
*
|
|
928
|
+
* 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.
|
|
883
929
|
*
|
|
884
930
|
* @example
|
|
885
931
|
* 0
|
|
@@ -887,7 +933,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
887
933
|
onDemandBaseCapacity?: number;
|
|
888
934
|
/**
|
|
889
935
|
* @remarks
|
|
890
|
-
*
|
|
936
|
+
* 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`). Valid values: [0,100].
|
|
891
937
|
*
|
|
892
938
|
* @example
|
|
893
939
|
* 20
|
|
@@ -895,9 +941,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
895
941
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
896
942
|
/**
|
|
897
943
|
* @remarks
|
|
898
|
-
*
|
|
944
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. When `period_unit` is set to Month, valid values for `period`: {1, 2, 3, 6, 12}.
|
|
899
945
|
*
|
|
900
|
-
*
|
|
946
|
+
* Default value: 1.
|
|
901
947
|
*
|
|
902
948
|
* @example
|
|
903
949
|
* 0
|
|
@@ -905,9 +951,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
905
951
|
period?: number;
|
|
906
952
|
/**
|
|
907
953
|
* @remarks
|
|
908
|
-
*
|
|
954
|
+
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
909
955
|
*
|
|
910
|
-
* `Month
|
|
956
|
+
* `Month`: Currently, only monthly billing is supported.
|
|
911
957
|
*
|
|
912
958
|
* @example
|
|
913
959
|
* Month
|
|
@@ -915,14 +961,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
915
961
|
periodUnit?: string;
|
|
916
962
|
/**
|
|
917
963
|
* @remarks
|
|
918
|
-
*
|
|
964
|
+
* The operating system distribution. Valid values:
|
|
919
965
|
*
|
|
920
966
|
* - `CentOS`
|
|
921
967
|
* - `AliyunLinux`
|
|
922
968
|
* - `Windows`
|
|
923
969
|
* - `WindowsCore`
|
|
924
970
|
*
|
|
925
|
-
*
|
|
971
|
+
* Default value: `AliyunLinux`.
|
|
926
972
|
*
|
|
927
973
|
* @example
|
|
928
974
|
* AliyunLinux
|
|
@@ -932,13 +978,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
932
978
|
platform?: string;
|
|
933
979
|
/**
|
|
934
980
|
* @remarks
|
|
935
|
-
*
|
|
981
|
+
* The private node pool configuration.
|
|
936
982
|
*/
|
|
937
983
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
938
984
|
/**
|
|
939
985
|
* @remarks
|
|
940
|
-
* Worker RAM
|
|
941
|
-
* >Notice:
|
|
986
|
+
* The Worker RAM role name.
|
|
987
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
942
988
|
*
|
|
943
989
|
* @example
|
|
944
990
|
* example-role
|
|
@@ -946,24 +992,24 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
946
992
|
ramRoleName?: string;
|
|
947
993
|
/**
|
|
948
994
|
* @remarks
|
|
949
|
-
* RDS
|
|
995
|
+
* The list of RDS instances.
|
|
950
996
|
*/
|
|
951
997
|
rdsInstances?: string[];
|
|
952
998
|
/**
|
|
953
999
|
* @remarks
|
|
954
|
-
*
|
|
955
|
-
*
|
|
956
|
-
*
|
|
1000
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1001
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1002
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
957
1003
|
*/
|
|
958
1004
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
959
1005
|
/**
|
|
960
1006
|
* @remarks
|
|
961
|
-
*
|
|
1007
|
+
* The scaling group mode. Valid values:
|
|
962
1008
|
*
|
|
963
|
-
* - `release
|
|
964
|
-
* - `recycle
|
|
1009
|
+
* - `release`: standard mode. Scales in or out by creating or releasing ECS instances based on resource usage.
|
|
1010
|
+
* - `recycle`: swift mode. Scales in or out by creating, stopping, or starting ECS instances, which improves the speed of subsequent scaling operations. (Stopped instances are not charged for compute resources, but storage fees still apply, except for instances with local disks.)
|
|
965
1011
|
*
|
|
966
|
-
*
|
|
1012
|
+
* Default value: `release`.
|
|
967
1013
|
*
|
|
968
1014
|
* @example
|
|
969
1015
|
* release
|
|
@@ -971,7 +1017,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
971
1017
|
scalingPolicy?: string;
|
|
972
1018
|
/**
|
|
973
1019
|
* @remarks
|
|
974
|
-
*
|
|
1020
|
+
* The security group ID for the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
975
1021
|
*
|
|
976
1022
|
* @example
|
|
977
1023
|
* sg-2zeihch86ooz9io4****
|
|
@@ -979,12 +1025,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
979
1025
|
securityGroupId?: string;
|
|
980
1026
|
/**
|
|
981
1027
|
* @remarks
|
|
982
|
-
*
|
|
1028
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
983
1029
|
*/
|
|
984
1030
|
securityGroupIds?: string[];
|
|
985
1031
|
/**
|
|
986
1032
|
* @remarks
|
|
987
|
-
*
|
|
1033
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10].
|
|
988
1034
|
*
|
|
989
1035
|
* @example
|
|
990
1036
|
* 5
|
|
@@ -992,10 +1038,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
992
1038
|
spotInstancePools?: number;
|
|
993
1039
|
/**
|
|
994
1040
|
* @remarks
|
|
995
|
-
*
|
|
1041
|
+
* Specifies whether to enable spot instance supplementation. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
996
1042
|
*
|
|
997
|
-
* - `true
|
|
998
|
-
* - `false
|
|
1043
|
+
* - `true`: Enables spot instance supplementation.
|
|
1044
|
+
* - `false`: Disables spot instance supplementation.
|
|
999
1045
|
*
|
|
1000
1046
|
* @example
|
|
1001
1047
|
* false
|
|
@@ -1003,17 +1049,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1003
1049
|
spotInstanceRemedy?: boolean;
|
|
1004
1050
|
/**
|
|
1005
1051
|
* @remarks
|
|
1006
|
-
*
|
|
1052
|
+
* The market price range configuration for a single spot instance type.
|
|
1007
1053
|
*/
|
|
1008
1054
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1009
1055
|
/**
|
|
1010
1056
|
* @remarks
|
|
1011
|
-
*
|
|
1012
|
-
* - NoSpot
|
|
1013
|
-
* - SpotWithPriceLimit
|
|
1014
|
-
* - SpotAsPriceGo
|
|
1057
|
+
* The type of spot instance. Valid values:
|
|
1058
|
+
* - NoSpot: non-spot instance.
|
|
1059
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1060
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1015
1061
|
*
|
|
1016
|
-
*
|
|
1062
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1017
1063
|
*
|
|
1018
1064
|
* @example
|
|
1019
1065
|
* NoSpot
|
|
@@ -1021,12 +1067,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1021
1067
|
spotStrategy?: string;
|
|
1022
1068
|
/**
|
|
1023
1069
|
* @remarks
|
|
1024
|
-
*
|
|
1070
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1025
1071
|
*
|
|
1026
|
-
* - true
|
|
1027
|
-
* - false
|
|
1072
|
+
* - true: Enabled.
|
|
1073
|
+
* - false: Disabled.
|
|
1028
1074
|
*
|
|
1029
|
-
*
|
|
1075
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1030
1076
|
*
|
|
1031
1077
|
* @example
|
|
1032
1078
|
* true
|
|
@@ -1034,25 +1080,25 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1034
1080
|
systemDiskBurstingEnabled?: boolean;
|
|
1035
1081
|
/**
|
|
1036
1082
|
* @remarks
|
|
1037
|
-
*
|
|
1083
|
+
* The multiple cloud disk types for the system cloud disk. 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. Valid values:
|
|
1038
1084
|
*
|
|
1039
|
-
* - cloud
|
|
1040
|
-
* - cloud_efficiency
|
|
1041
|
-
* - cloud_ssd
|
|
1042
|
-
* - cloud_essd
|
|
1085
|
+
* - cloud: basic cloud disk.
|
|
1086
|
+
* - cloud_efficiency: ultra cloud disk.
|
|
1087
|
+
* - cloud_ssd: standard SSD.
|
|
1088
|
+
* - cloud_essd: ESSD.
|
|
1043
1089
|
*/
|
|
1044
1090
|
systemDiskCategories?: string[];
|
|
1045
1091
|
/**
|
|
1046
1092
|
* @remarks
|
|
1047
|
-
*
|
|
1093
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1048
1094
|
*
|
|
1049
|
-
* - `cloud_efficiency
|
|
1050
|
-
* - `cloud_ssd
|
|
1051
|
-
* - `cloud_essd
|
|
1052
|
-
* - `cloud_auto
|
|
1053
|
-
* - `cloud_essd_entry
|
|
1095
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1096
|
+
* - `cloud_ssd`: standard SSD.
|
|
1097
|
+
* - `cloud_essd`: ESSD.
|
|
1098
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1099
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1054
1100
|
*
|
|
1055
|
-
*
|
|
1101
|
+
* Default value: `cloud_efficiency`.
|
|
1056
1102
|
*
|
|
1057
1103
|
* @example
|
|
1058
1104
|
* cloud_efficiency
|
|
@@ -1060,7 +1106,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1060
1106
|
systemDiskCategory?: string;
|
|
1061
1107
|
/**
|
|
1062
1108
|
* @remarks
|
|
1063
|
-
*
|
|
1109
|
+
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
1064
1110
|
*
|
|
1065
1111
|
* @example
|
|
1066
1112
|
* aes-256
|
|
@@ -1068,12 +1114,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1068
1114
|
systemDiskEncryptAlgorithm?: string;
|
|
1069
1115
|
/**
|
|
1070
1116
|
* @remarks
|
|
1071
|
-
*
|
|
1117
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: encrypted. false: not encrypted.
|
|
1072
1118
|
*/
|
|
1073
1119
|
systemDiskEncrypted?: boolean;
|
|
1074
1120
|
/**
|
|
1075
1121
|
* @remarks
|
|
1076
|
-
*
|
|
1122
|
+
* The KMS key ID used by the node system cloud disk.
|
|
1077
1123
|
*
|
|
1078
1124
|
* @example
|
|
1079
1125
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1081,12 +1127,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1081
1127
|
systemDiskKmsKeyId?: string;
|
|
1082
1128
|
/**
|
|
1083
1129
|
* @remarks
|
|
1084
|
-
*
|
|
1130
|
+
* The performance level of the system cloud disk for nodes. Applies only to ESSD cloud disks.
|
|
1085
1131
|
*
|
|
1086
|
-
* - PL0
|
|
1087
|
-
* - PL1
|
|
1088
|
-
* - PL2
|
|
1089
|
-
* - PL3
|
|
1132
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1133
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1134
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1135
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1090
1136
|
*
|
|
1091
1137
|
* @example
|
|
1092
1138
|
* PL1
|
|
@@ -1094,9 +1140,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1094
1140
|
systemDiskPerformanceLevel?: string;
|
|
1095
1141
|
/**
|
|
1096
1142
|
* @remarks
|
|
1097
|
-
*
|
|
1143
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1098
1144
|
*
|
|
1099
|
-
*
|
|
1145
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
|
|
1100
1146
|
*
|
|
1101
1147
|
* @example
|
|
1102
1148
|
* 1000
|
|
@@ -1104,9 +1150,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1104
1150
|
systemDiskProvisionedIops?: number;
|
|
1105
1151
|
/**
|
|
1106
1152
|
* @remarks
|
|
1107
|
-
*
|
|
1153
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1108
1154
|
*
|
|
1109
|
-
*
|
|
1155
|
+
* Valid values: [40,500].
|
|
1110
1156
|
*
|
|
1111
1157
|
* @example
|
|
1112
1158
|
* 120
|
|
@@ -1114,14 +1160,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1114
1160
|
systemDiskSize?: number;
|
|
1115
1161
|
/**
|
|
1116
1162
|
* @remarks
|
|
1117
|
-
*
|
|
1163
|
+
* The tags that are added only to ECS instances.
|
|
1118
1164
|
*
|
|
1119
|
-
*
|
|
1165
|
+
* 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://".
|
|
1120
1166
|
*/
|
|
1121
1167
|
tags?: NodepoolScalingGroupTags[];
|
|
1122
1168
|
/**
|
|
1123
1169
|
* @remarks
|
|
1124
|
-
*
|
|
1170
|
+
* The vSwitch IDs.
|
|
1125
1171
|
*
|
|
1126
1172
|
* This parameter is required.
|
|
1127
1173
|
*/
|
|
@@ -1140,7 +1186,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1140
1186
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1141
1187
|
/**
|
|
1142
1188
|
* @remarks
|
|
1143
|
-
*
|
|
1189
|
+
* Specifies whether the node pool is a confidential computing node pool.
|
|
1144
1190
|
*
|
|
1145
1191
|
* This parameter is required.
|
|
1146
1192
|
*
|
|
@@ -1162,12 +1208,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1162
1208
|
export declare class Nodepool extends $dara.Model {
|
|
1163
1209
|
/**
|
|
1164
1210
|
* @remarks
|
|
1165
|
-
* The auto scaling configuration
|
|
1211
|
+
* The auto scaling configuration for the node pool.
|
|
1166
1212
|
*/
|
|
1167
1213
|
autoScaling?: NodepoolAutoScaling;
|
|
1168
1214
|
/**
|
|
1169
1215
|
* @remarks
|
|
1170
|
-
* This
|
|
1216
|
+
* **This field is deprecated. Use desired_size instead.**
|
|
1171
1217
|
*
|
|
1172
1218
|
* The number of nodes in the node pool.
|
|
1173
1219
|
*
|
|
@@ -1179,7 +1225,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1179
1225
|
count?: number;
|
|
1180
1226
|
/**
|
|
1181
1227
|
* @remarks
|
|
1182
|
-
* This
|
|
1228
|
+
* **This field is deprecated.**
|
|
1183
1229
|
*
|
|
1184
1230
|
* The edge node pool configuration.
|
|
1185
1231
|
*
|
|
@@ -1190,8 +1236,8 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1190
1236
|
* @remarks
|
|
1191
1237
|
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1192
1238
|
*
|
|
1193
|
-
* - `basic`:
|
|
1194
|
-
* - `private`:
|
|
1239
|
+
* - `basic`: Basic.
|
|
1240
|
+
* - `private`: Dedicated. Supported in version 1.22 and later.
|
|
1195
1241
|
*
|
|
1196
1242
|
* @example
|
|
1197
1243
|
* basic
|
|
@@ -1209,7 +1255,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1209
1255
|
management?: NodepoolManagement;
|
|
1210
1256
|
/**
|
|
1211
1257
|
* @remarks
|
|
1212
|
-
* The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit
|
|
1258
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). This value is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this value is 0.
|
|
1213
1259
|
*
|
|
1214
1260
|
* @example
|
|
1215
1261
|
* 10
|
|
@@ -1217,7 +1263,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1217
1263
|
maxNodes?: number;
|
|
1218
1264
|
/**
|
|
1219
1265
|
* @remarks
|
|
1220
|
-
* The
|
|
1266
|
+
* The node component list.
|
|
1221
1267
|
*/
|
|
1222
1268
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1223
1269
|
/**
|
|
@@ -1232,12 +1278,12 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1232
1278
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1233
1279
|
/**
|
|
1234
1280
|
* @remarks
|
|
1235
|
-
* The scaling group configuration
|
|
1281
|
+
* The scaling group configuration for the node pool.
|
|
1236
1282
|
*/
|
|
1237
1283
|
scalingGroup?: NodepoolScalingGroup;
|
|
1238
1284
|
/**
|
|
1239
1285
|
* @remarks
|
|
1240
|
-
* The confidential computing
|
|
1286
|
+
* The confidential computing node pool configuration.
|
|
1241
1287
|
*/
|
|
1242
1288
|
teeConfig?: NodepoolTeeConfig;
|
|
1243
1289
|
static names(): {
|