@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
|
@@ -12,10 +12,9 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* -
|
|
18
|
-
* - false: disable intelligent managed mode.
|
|
15
|
+
* Specifies whether to enable intelligent managed mode. Valid values:
|
|
16
|
+
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
17
|
+
* - false: Does not enable intelligent managed mode.
|
|
19
18
|
*
|
|
20
19
|
* @example
|
|
21
20
|
* true
|
|
@@ -47,7 +46,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
47
46
|
* @remarks
|
|
48
47
|
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
48
|
*
|
|
50
|
-
*
|
|
49
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
51
50
|
*
|
|
52
51
|
* @example
|
|
53
52
|
* null
|
|
@@ -59,7 +58,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
59
58
|
* @remarks
|
|
60
59
|
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
60
|
*
|
|
62
|
-
*
|
|
61
|
+
* The billing method of the EIP. Valid values:
|
|
63
62
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
63
|
* - `PayByTraffic`: pay-by-traffic.
|
|
65
64
|
*
|
|
@@ -73,14 +72,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
73
72
|
eipInternetChargeType?: string;
|
|
74
73
|
/**
|
|
75
74
|
* @remarks
|
|
76
|
-
*
|
|
75
|
+
* Specifies whether to enable automatic scaling. Valid values:
|
|
77
76
|
*
|
|
78
|
-
* - `true`: enables
|
|
79
|
-
* clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
77
|
+
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant node elastic scaling by default. Clusters of versions earlier than 1.24 use node automatic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
80
78
|
*
|
|
81
|
-
* - `false`: disables
|
|
79
|
+
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
82
80
|
*
|
|
83
|
-
* When
|
|
81
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
84
82
|
*
|
|
85
83
|
* Default value: `false`.
|
|
86
84
|
*
|
|
@@ -92,11 +90,11 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
92
90
|
* @remarks
|
|
93
91
|
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
94
92
|
*
|
|
95
|
-
*
|
|
93
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
96
94
|
*
|
|
97
|
-
* - `true`:
|
|
95
|
+
* - `true`: associates an EIP.
|
|
98
96
|
*
|
|
99
|
-
* - `false`:
|
|
97
|
+
* - `false`: does not associate an EIP.
|
|
100
98
|
*
|
|
101
99
|
* Default value: `false`.
|
|
102
100
|
*
|
|
@@ -108,7 +106,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
108
106
|
isBondEip?: boolean;
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
*
|
|
109
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. Takes effect only when `enable=true`.
|
|
112
110
|
*
|
|
113
111
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
114
112
|
*
|
|
@@ -118,12 +116,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
118
116
|
maxInstances?: number;
|
|
119
117
|
/**
|
|
120
118
|
* @remarks
|
|
121
|
-
*
|
|
119
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. Takes effect only when `enable=true`.
|
|
122
120
|
*
|
|
123
121
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
124
122
|
*
|
|
125
|
-
* > -
|
|
126
|
-
* > -
|
|
123
|
+
* > - If the minimum instance count is not 0, the scaling group triggers automatic creation of the corresponding number of ECS instances after the automatic scaling feature takes effect.
|
|
124
|
+
* > - Set the maximum instance count to a value no less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the automatic scaling feature takes effect.
|
|
127
125
|
*
|
|
128
126
|
* @example
|
|
129
127
|
* 1
|
|
@@ -131,15 +129,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
131
129
|
minInstances?: number;
|
|
132
130
|
/**
|
|
133
131
|
* @remarks
|
|
134
|
-
*
|
|
132
|
+
* The automatic scaling instance type. Takes effect only when `enable=true`. Valid values:
|
|
135
133
|
*
|
|
136
|
-
* - `cpu`:
|
|
134
|
+
* - `cpu`: regular instance type.
|
|
137
135
|
*
|
|
138
136
|
* - `gpu`: GPU instance type.
|
|
139
137
|
*
|
|
140
|
-
* - `gpushare`: GPU
|
|
138
|
+
* - `gpushare`: GPU shared type.
|
|
141
139
|
*
|
|
142
|
-
* - `spot`:
|
|
140
|
+
* - `spot`: spot instance type.
|
|
143
141
|
*
|
|
144
142
|
* Default value: `cpu`.
|
|
145
143
|
* >Notice: This field cannot be modified after the node pool is created.
|
|
@@ -182,9 +180,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
183
|
+
autoAttachEnabled?: boolean;
|
|
185
184
|
/**
|
|
186
185
|
* @remarks
|
|
187
|
-
* Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
186
|
+
* The Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
188
187
|
*
|
|
189
188
|
* @example
|
|
190
189
|
* i1169130516633730****
|
|
@@ -192,23 +191,28 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
192
191
|
clusterId?: string;
|
|
193
192
|
/**
|
|
194
193
|
* @remarks
|
|
195
|
-
* Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
194
|
+
* The Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
196
195
|
*
|
|
197
196
|
* @example
|
|
198
197
|
* ng-ec3c96ff0aa****
|
|
199
198
|
*/
|
|
200
199
|
groupId?: string;
|
|
200
|
+
workerRamRoleName?: string;
|
|
201
201
|
static names(): { [key: string]: string } {
|
|
202
202
|
return {
|
|
203
|
+
autoAttachEnabled: 'auto_attach_enabled',
|
|
203
204
|
clusterId: 'cluster_id',
|
|
204
205
|
groupId: 'group_id',
|
|
206
|
+
workerRamRoleName: 'worker_ram_role_name',
|
|
205
207
|
};
|
|
206
208
|
}
|
|
207
209
|
|
|
208
210
|
static types(): { [key: string]: any } {
|
|
209
211
|
return {
|
|
212
|
+
autoAttachEnabled: 'boolean',
|
|
210
213
|
clusterId: 'string',
|
|
211
214
|
groupId: 'string',
|
|
215
|
+
workerRamRoleName: 'string',
|
|
212
216
|
};
|
|
213
217
|
}
|
|
214
218
|
|
|
@@ -224,9 +228,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
224
228
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
225
229
|
/**
|
|
226
230
|
* @remarks
|
|
227
|
-
* [
|
|
231
|
+
* [This field is deprecated]
|
|
228
232
|
*
|
|
229
|
-
*
|
|
233
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
230
234
|
*
|
|
231
235
|
* @example
|
|
232
236
|
* null
|
|
@@ -234,9 +238,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
234
238
|
bandwidth?: number;
|
|
235
239
|
/**
|
|
236
240
|
* @remarks
|
|
237
|
-
* [
|
|
241
|
+
* [This field is deprecated]
|
|
238
242
|
*
|
|
239
|
-
*
|
|
243
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
240
244
|
*
|
|
241
245
|
* @example
|
|
242
246
|
* null
|
|
@@ -244,9 +248,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
244
248
|
ccnId?: string;
|
|
245
249
|
/**
|
|
246
250
|
* @remarks
|
|
247
|
-
* [
|
|
251
|
+
* [This field is deprecated]
|
|
248
252
|
*
|
|
249
|
-
*
|
|
253
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
250
254
|
*
|
|
251
255
|
* @example
|
|
252
256
|
* null
|
|
@@ -254,9 +258,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
254
258
|
ccnRegionId?: string;
|
|
255
259
|
/**
|
|
256
260
|
* @remarks
|
|
257
|
-
* [
|
|
261
|
+
* [This field is deprecated]
|
|
258
262
|
*
|
|
259
|
-
*
|
|
263
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
260
264
|
*
|
|
261
265
|
* @example
|
|
262
266
|
* null
|
|
@@ -264,9 +268,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
264
268
|
cenId?: string;
|
|
265
269
|
/**
|
|
266
270
|
* @remarks
|
|
267
|
-
* [
|
|
271
|
+
* [This field is deprecated]
|
|
268
272
|
*
|
|
269
|
-
*
|
|
273
|
+
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
270
274
|
*
|
|
271
275
|
* @example
|
|
272
276
|
* null
|
|
@@ -304,11 +308,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
304
308
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
305
309
|
/**
|
|
306
310
|
* @remarks
|
|
307
|
-
*
|
|
311
|
+
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
308
312
|
*
|
|
309
|
-
* - `true`:
|
|
313
|
+
* - `true`: Installs CloudMonitor on ECS nodes.
|
|
310
314
|
*
|
|
311
|
-
* - `false`:
|
|
315
|
+
* - `false`: Does not install CloudMonitor on ECS nodes.
|
|
312
316
|
*
|
|
313
317
|
* Default value: `false`.
|
|
314
318
|
*
|
|
@@ -318,10 +322,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
318
322
|
cmsEnabled?: boolean;
|
|
319
323
|
/**
|
|
320
324
|
* @remarks
|
|
321
|
-
*
|
|
325
|
+
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
322
326
|
*
|
|
323
|
-
* - `static`:
|
|
324
|
-
* - `none`:
|
|
327
|
+
* - `static`: Allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
328
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
325
329
|
*
|
|
326
330
|
* Default value: `none`.
|
|
327
331
|
*
|
|
@@ -331,23 +335,23 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
331
335
|
cpuPolicy?: string;
|
|
332
336
|
/**
|
|
333
337
|
* @remarks
|
|
334
|
-
*
|
|
338
|
+
* The node labels. Adds labels to Kubernetes cluster nodes.
|
|
335
339
|
*/
|
|
336
340
|
labels?: Tag[];
|
|
337
341
|
/**
|
|
338
342
|
* @remarks
|
|
339
|
-
*
|
|
340
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with
|
|
343
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed.
|
|
344
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
|
|
341
345
|
*
|
|
342
|
-
*
|
|
346
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
343
347
|
*
|
|
344
|
-
* -
|
|
348
|
+
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
345
349
|
*
|
|
346
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with
|
|
347
|
-
* - The prefix is required (ECS restriction)
|
|
348
|
-
* - The node IP is the
|
|
350
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
351
|
+
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
352
|
+
* - The node IP is the full private IP address of the node.
|
|
349
353
|
*
|
|
350
|
-
* Example:
|
|
354
|
+
* Example: The node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
351
355
|
*
|
|
352
356
|
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
353
357
|
*
|
|
@@ -359,7 +363,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
359
363
|
nodeNameMode?: string;
|
|
360
364
|
/**
|
|
361
365
|
* @remarks
|
|
362
|
-
*
|
|
366
|
+
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script runs. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
363
367
|
*
|
|
364
368
|
* @example
|
|
365
369
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -367,11 +371,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
367
371
|
preUserData?: string;
|
|
368
372
|
/**
|
|
369
373
|
* @remarks
|
|
370
|
-
*
|
|
374
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
371
375
|
*
|
|
372
|
-
* - containerd:
|
|
373
|
-
* - Sandboxed-Container.runv:
|
|
374
|
-
* - docker:
|
|
376
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
377
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
378
|
+
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
375
379
|
*
|
|
376
380
|
* Default value: containerd.
|
|
377
381
|
*
|
|
@@ -381,7 +385,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
381
385
|
runtime?: string;
|
|
382
386
|
/**
|
|
383
387
|
* @remarks
|
|
384
|
-
*
|
|
388
|
+
* The container runtime version.
|
|
385
389
|
*
|
|
386
390
|
* @example
|
|
387
391
|
* 1.6.38
|
|
@@ -389,16 +393,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
389
393
|
runtimeVersion?: string;
|
|
390
394
|
/**
|
|
391
395
|
* @remarks
|
|
392
|
-
*
|
|
396
|
+
* The taint configuration.
|
|
393
397
|
*/
|
|
394
398
|
taints?: Taint[];
|
|
395
399
|
/**
|
|
396
400
|
* @remarks
|
|
397
|
-
*
|
|
401
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
398
402
|
*
|
|
399
|
-
* - true:
|
|
403
|
+
* - true: Unschedulable.
|
|
400
404
|
*
|
|
401
|
-
* - false:
|
|
405
|
+
* - false: Schedulable.
|
|
402
406
|
*
|
|
403
407
|
* @example
|
|
404
408
|
* true
|
|
@@ -406,7 +410,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
406
410
|
unschedulable?: boolean;
|
|
407
411
|
/**
|
|
408
412
|
* @remarks
|
|
409
|
-
*
|
|
413
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script runs. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
410
414
|
*
|
|
411
415
|
* @example
|
|
412
416
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -460,17 +464,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
460
464
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
461
465
|
/**
|
|
462
466
|
* @remarks
|
|
463
|
-
*
|
|
467
|
+
* Specifies whether node repair requires manual approval.
|
|
464
468
|
*/
|
|
465
469
|
approvalRequired?: boolean;
|
|
466
470
|
/**
|
|
467
471
|
* @remarks
|
|
468
|
-
*
|
|
472
|
+
* Specifies whether to allow node restart. Takes effect only when `auto_repair=true`. Valid values:
|
|
469
473
|
*
|
|
470
|
-
* - `true`:
|
|
471
|
-
* - `false`:
|
|
474
|
+
* - `true`: allows node restart.
|
|
475
|
+
* - `false`: does not allow node restart.
|
|
472
476
|
*
|
|
473
|
-
* Default value: `true
|
|
477
|
+
* Default value: `true`.
|
|
474
478
|
*
|
|
475
479
|
* @example
|
|
476
480
|
* true
|
|
@@ -502,9 +506,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
502
506
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
503
507
|
/**
|
|
504
508
|
* @remarks
|
|
505
|
-
*
|
|
506
|
-
* - `true`:
|
|
507
|
-
* - `false`:
|
|
509
|
+
* Specifies whether to allow automatic kubelet upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
510
|
+
* - `true`: allows automatic kubelet upgrade.
|
|
511
|
+
* - `false`: does not allow automatic kubelet upgrade.
|
|
508
512
|
*
|
|
509
513
|
* Default value: `true`.
|
|
510
514
|
*
|
|
@@ -514,9 +518,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
514
518
|
autoUpgradeKubelet?: boolean;
|
|
515
519
|
/**
|
|
516
520
|
* @remarks
|
|
517
|
-
*
|
|
518
|
-
* - `true`:
|
|
519
|
-
* - `false`:
|
|
521
|
+
* Specifies whether to allow automatic operating system upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
522
|
+
* - `true`: allows automatic operating system upgrade.
|
|
523
|
+
* - `false`: does not allow automatic operating system upgrade.
|
|
520
524
|
*
|
|
521
525
|
*
|
|
522
526
|
* Default value: `false`.
|
|
@@ -527,9 +531,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
527
531
|
autoUpgradeOs?: boolean;
|
|
528
532
|
/**
|
|
529
533
|
* @remarks
|
|
530
|
-
*
|
|
531
|
-
* - `true`:
|
|
532
|
-
* - `false`:
|
|
534
|
+
* Specifies whether to allow automatic runtime upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
535
|
+
* - `true`: allows automatic runtime upgrade.
|
|
536
|
+
* - `false`: does not allow automatic runtime upgrade.
|
|
533
537
|
*
|
|
534
538
|
* Default value: `true`.
|
|
535
539
|
*
|
|
@@ -565,7 +569,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
565
569
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
566
570
|
/**
|
|
567
571
|
* @remarks
|
|
568
|
-
*
|
|
572
|
+
* The packages to exclude during vulnerability fixing.
|
|
569
573
|
*
|
|
570
574
|
* Default value: `kernel`.
|
|
571
575
|
*
|
|
@@ -575,11 +579,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
575
579
|
excludePackages?: string;
|
|
576
580
|
/**
|
|
577
581
|
* @remarks
|
|
578
|
-
*
|
|
579
|
-
* - `true`:
|
|
580
|
-
* - `false`:
|
|
582
|
+
* Specifies whether to allow node restart. Takes effect only when `auto_vul_fix=true`. Valid values:
|
|
583
|
+
* - `true`: allows node restart.
|
|
584
|
+
* - `false`: does not allow node restart.
|
|
581
585
|
*
|
|
582
|
-
* Default value: `true
|
|
586
|
+
* Default value: `true`.
|
|
583
587
|
*
|
|
584
588
|
* @example
|
|
585
589
|
* false
|
|
@@ -587,7 +591,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
587
591
|
restartNode?: boolean;
|
|
588
592
|
/**
|
|
589
593
|
* @remarks
|
|
590
|
-
*
|
|
594
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
591
595
|
*
|
|
592
596
|
* - `asap`: high
|
|
593
597
|
* - `later`: medium
|
|
@@ -627,13 +631,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
627
631
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
628
632
|
/**
|
|
629
633
|
* @remarks
|
|
630
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the
|
|
634
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
631
635
|
*
|
|
632
|
-
*
|
|
636
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
633
637
|
*
|
|
634
|
-
* - `true`:
|
|
638
|
+
* - `true`: enables auto upgrade.
|
|
635
639
|
*
|
|
636
|
-
* - `false`:
|
|
640
|
+
* - `false`: disables auto upgrade.
|
|
637
641
|
*
|
|
638
642
|
* @example
|
|
639
643
|
* null
|
|
@@ -643,8 +647,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
643
647
|
autoUpgrade?: boolean;
|
|
644
648
|
/**
|
|
645
649
|
* @remarks
|
|
646
|
-
*
|
|
647
|
-
* Valid values: [1,1000\\]
|
|
650
|
+
* The maximum number of unavailable nodes.
|
|
651
|
+
* Valid values: [1,1000\\].
|
|
648
652
|
*
|
|
649
653
|
* Default value: 1.
|
|
650
654
|
*
|
|
@@ -654,11 +658,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
654
658
|
maxUnavailable?: number;
|
|
655
659
|
/**
|
|
656
660
|
* @remarks
|
|
657
|
-
*
|
|
661
|
+
* The number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
658
662
|
*
|
|
659
|
-
* Nodes become unavailable during
|
|
663
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
660
664
|
*
|
|
661
|
-
* >
|
|
665
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
662
666
|
*
|
|
663
667
|
* @example
|
|
664
668
|
* 0
|
|
@@ -666,7 +670,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
666
670
|
surge?: number;
|
|
667
671
|
/**
|
|
668
672
|
* @remarks
|
|
669
|
-
*
|
|
673
|
+
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
670
674
|
*
|
|
671
675
|
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
672
676
|
*
|
|
@@ -705,13 +709,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
705
709
|
autoFaultDiagnosis?: boolean;
|
|
706
710
|
/**
|
|
707
711
|
* @remarks
|
|
708
|
-
*
|
|
712
|
+
* Specifies whether to automatically repair nodes. Takes effect only when `enable=true`.
|
|
709
713
|
*
|
|
710
|
-
* - `true`: auto repair
|
|
714
|
+
* - `true`: enables auto repair.
|
|
711
715
|
*
|
|
712
|
-
* - `false`:
|
|
716
|
+
* - `false`: disables auto repair.
|
|
713
717
|
*
|
|
714
|
-
* Default value: `true
|
|
718
|
+
* Default value: `true`.
|
|
715
719
|
*
|
|
716
720
|
* @example
|
|
717
721
|
* true
|
|
@@ -719,14 +723,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
719
723
|
autoRepair?: boolean;
|
|
720
724
|
/**
|
|
721
725
|
* @remarks
|
|
722
|
-
*
|
|
726
|
+
* The auto repair node policy.
|
|
723
727
|
*/
|
|
724
728
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
725
729
|
/**
|
|
726
730
|
* @remarks
|
|
727
|
-
*
|
|
728
|
-
* - `true`:
|
|
729
|
-
* - `false`:
|
|
731
|
+
* Specifies whether to automatically upgrade nodes. Takes effect only when `enable=true`.
|
|
732
|
+
* - `true`: enables auto upgrade.
|
|
733
|
+
* - `false`: disables auto upgrade.
|
|
730
734
|
*
|
|
731
735
|
* Default value: `true`.
|
|
732
736
|
*
|
|
@@ -736,15 +740,15 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
736
740
|
autoUpgrade?: boolean;
|
|
737
741
|
/**
|
|
738
742
|
* @remarks
|
|
739
|
-
*
|
|
743
|
+
* The auto upgrade node policy.
|
|
740
744
|
*/
|
|
741
745
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
742
746
|
/**
|
|
743
747
|
* @remarks
|
|
744
|
-
*
|
|
748
|
+
* Specifies whether to automatically fix CVE vulnerabilities. Takes effect only when `enable=true`.
|
|
745
749
|
*
|
|
746
|
-
* - `true`:
|
|
747
|
-
* - `false`:
|
|
750
|
+
* - `true`: allows automatic CVE fixing.
|
|
751
|
+
* - `false`: does not allow automatic CVE fixing.
|
|
748
752
|
*
|
|
749
753
|
* Default value: `true`.
|
|
750
754
|
*
|
|
@@ -754,16 +758,17 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
754
758
|
autoVulFix?: boolean;
|
|
755
759
|
/**
|
|
756
760
|
* @remarks
|
|
757
|
-
*
|
|
761
|
+
* The auto CVE fix policy.
|
|
758
762
|
*/
|
|
759
763
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
764
|
+
driftEnabled?: boolean;
|
|
760
765
|
/**
|
|
761
766
|
* @remarks
|
|
762
|
-
*
|
|
767
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
763
768
|
*
|
|
764
|
-
* - `true`:
|
|
769
|
+
* - `true`: enables the managed feature.
|
|
765
770
|
*
|
|
766
|
-
* - `false`:
|
|
771
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
767
772
|
*
|
|
768
773
|
* Default value: false.
|
|
769
774
|
*
|
|
@@ -773,9 +778,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
773
778
|
enable?: boolean;
|
|
774
779
|
/**
|
|
775
780
|
* @remarks
|
|
776
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the
|
|
781
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
777
782
|
*
|
|
778
|
-
*
|
|
783
|
+
* The auto upgrade configuration. Takes effect only when `enable=true`.
|
|
779
784
|
*
|
|
780
785
|
* @deprecated
|
|
781
786
|
*/
|
|
@@ -789,6 +794,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
789
794
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
790
795
|
autoVulFix: 'auto_vul_fix',
|
|
791
796
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
797
|
+
driftEnabled: 'drift_enabled',
|
|
792
798
|
enable: 'enable',
|
|
793
799
|
upgradeConfig: 'upgrade_config',
|
|
794
800
|
};
|
|
@@ -803,6 +809,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
803
809
|
autoUpgradePolicy: CreateClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
804
810
|
autoVulFix: 'boolean',
|
|
805
811
|
autoVulFixPolicy: CreateClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
812
|
+
driftEnabled: 'boolean',
|
|
806
813
|
enable: 'boolean',
|
|
807
814
|
upgradeConfig: CreateClusterNodePoolRequestManagementUpgradeConfig,
|
|
808
815
|
};
|
|
@@ -832,7 +839,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
832
839
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
833
840
|
/**
|
|
834
841
|
* @remarks
|
|
835
|
-
*
|
|
842
|
+
* The node component custom configuration.
|
|
836
843
|
*
|
|
837
844
|
* @example
|
|
838
845
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -865,12 +872,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
865
872
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
866
873
|
/**
|
|
867
874
|
* @remarks
|
|
868
|
-
*
|
|
875
|
+
* The node component configuration.
|
|
869
876
|
*/
|
|
870
877
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
871
878
|
/**
|
|
872
879
|
* @remarks
|
|
873
|
-
*
|
|
880
|
+
* The node component name.
|
|
874
881
|
*
|
|
875
882
|
* @example
|
|
876
883
|
* kubelet
|
|
@@ -878,7 +885,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
878
885
|
name?: string;
|
|
879
886
|
/**
|
|
880
887
|
* @remarks
|
|
881
|
-
*
|
|
888
|
+
* The node component version.
|
|
882
889
|
*
|
|
883
890
|
* @example
|
|
884
891
|
* 1.33.3-aliyun.1
|
|
@@ -915,7 +922,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
915
922
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
916
923
|
/**
|
|
917
924
|
* @remarks
|
|
918
|
-
* Kubelet parameter
|
|
925
|
+
* The Kubelet parameter settings.
|
|
919
926
|
*/
|
|
920
927
|
kubeletConfiguration?: KubeletConfig;
|
|
921
928
|
static names(): { [key: string]: string } {
|
|
@@ -945,7 +952,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
945
952
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
946
953
|
/**
|
|
947
954
|
* @remarks
|
|
948
|
-
*
|
|
955
|
+
* The node pool name.
|
|
949
956
|
*
|
|
950
957
|
* This parameter is required.
|
|
951
958
|
*
|
|
@@ -955,9 +962,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
955
962
|
name?: string;
|
|
956
963
|
/**
|
|
957
964
|
* @remarks
|
|
958
|
-
*
|
|
965
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
959
966
|
*
|
|
960
|
-
* A resource can
|
|
967
|
+
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
961
968
|
*
|
|
962
969
|
* @example
|
|
963
970
|
* rg-acfmyvw3wjmb****
|
|
@@ -965,9 +972,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
965
972
|
resourceGroupId?: string;
|
|
966
973
|
/**
|
|
967
974
|
* @remarks
|
|
968
|
-
*
|
|
975
|
+
* The node pool type. Valid values:
|
|
969
976
|
*
|
|
970
|
-
* - `ess`: standard node pool (includes managed and
|
|
977
|
+
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
971
978
|
* - `edge`: edge node pool.
|
|
972
979
|
* - `lingjun`: Lingjun node pool.
|
|
973
980
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1004,7 +1011,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1004
1011
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1005
1012
|
/**
|
|
1006
1013
|
* @remarks
|
|
1007
|
-
*
|
|
1014
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
1008
1015
|
*
|
|
1009
1016
|
* @example
|
|
1010
1017
|
* eap-bp67acfmxazb4****
|
|
@@ -1012,10 +1019,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1012
1019
|
id?: string;
|
|
1013
1020
|
/**
|
|
1014
1021
|
* @remarks
|
|
1015
|
-
*
|
|
1016
|
-
* - `Open`:
|
|
1017
|
-
* - `Target`:
|
|
1018
|
-
* - `None`:
|
|
1022
|
+
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1023
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1024
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
1025
|
+
* - `None`: No private pool. Instance launch does not use private pool capacity.
|
|
1019
1026
|
*
|
|
1020
1027
|
* @example
|
|
1021
1028
|
* Target
|
|
@@ -1047,16 +1054,12 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1047
1054
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1048
1055
|
/**
|
|
1049
1056
|
* @remarks
|
|
1050
|
-
*
|
|
1057
|
+
* 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.
|
|
1051
1058
|
*/
|
|
1052
1059
|
privatePoolIds?: string[];
|
|
1053
1060
|
/**
|
|
1054
1061
|
* @remarks
|
|
1055
|
-
*
|
|
1056
|
-
* PrivatePoolFirst: private pool first. When this policy is selected and 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 eligible private pool is available, public pools are used to create instances.
|
|
1057
|
-
* PrivatePoolOnly: private pool only. When this policy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance creation fails.
|
|
1058
|
-
* None: do not use resource pool policy.
|
|
1059
|
-
* Default value: None.
|
|
1062
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools for instance launch. Valid values: PrivatePoolFirst: Private pool first. When 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. PrivatePoolOnly: Private pool only. 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.
|
|
1060
1063
|
*
|
|
1061
1064
|
* @example
|
|
1062
1065
|
* PrivatePoolFirst
|
|
@@ -1091,7 +1094,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1091
1094
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1092
1095
|
/**
|
|
1093
1096
|
* @remarks
|
|
1094
|
-
*
|
|
1097
|
+
* The spot instance type.
|
|
1095
1098
|
*
|
|
1096
1099
|
* @example
|
|
1097
1100
|
* ecs.c6.large
|
|
@@ -1099,7 +1102,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1099
1102
|
instanceType?: string;
|
|
1100
1103
|
/**
|
|
1101
1104
|
* @remarks
|
|
1102
|
-
*
|
|
1105
|
+
* The maximum price per instance.
|
|
1103
1106
|
* <props="china">Unit: CNY/hour.
|
|
1104
1107
|
*
|
|
1105
1108
|
*
|
|
@@ -1136,7 +1139,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1136
1139
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1137
1140
|
/**
|
|
1138
1141
|
* @remarks
|
|
1139
|
-
*
|
|
1142
|
+
* The tag key.
|
|
1140
1143
|
*
|
|
1141
1144
|
* @example
|
|
1142
1145
|
* node-k-1
|
|
@@ -1144,7 +1147,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1144
1147
|
key?: string;
|
|
1145
1148
|
/**
|
|
1146
1149
|
* @remarks
|
|
1147
|
-
*
|
|
1150
|
+
* The tag value.
|
|
1148
1151
|
*
|
|
1149
1152
|
* @example
|
|
1150
1153
|
* node-v-1
|
|
@@ -1176,10 +1179,10 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1176
1179
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1177
1180
|
/**
|
|
1178
1181
|
* @remarks
|
|
1179
|
-
*
|
|
1182
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. Takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1180
1183
|
*
|
|
1181
|
-
* - `true`:
|
|
1182
|
-
* - `false`:
|
|
1184
|
+
* - `true`: enables auto-renewal.
|
|
1185
|
+
* - `false`: disables auto-renewal.
|
|
1183
1186
|
*
|
|
1184
1187
|
* Default value: `false`.
|
|
1185
1188
|
*
|
|
@@ -1189,9 +1192,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1189
1192
|
autoRenew?: boolean;
|
|
1190
1193
|
/**
|
|
1191
1194
|
* @remarks
|
|
1192
|
-
*
|
|
1193
|
-
* -
|
|
1194
|
-
* -
|
|
1195
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
1196
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
1197
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1195
1198
|
*
|
|
1196
1199
|
* Default value: 1.
|
|
1197
1200
|
*
|
|
@@ -1211,10 +1214,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1211
1214
|
cisEnabled?: boolean;
|
|
1212
1215
|
/**
|
|
1213
1216
|
* @remarks
|
|
1214
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatic creation of pay-as-you-go instances to meet
|
|
1217
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
1215
1218
|
*
|
|
1216
|
-
* - `true`:
|
|
1217
|
-
* - `false`:
|
|
1219
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1220
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1218
1221
|
*
|
|
1219
1222
|
* @example
|
|
1220
1223
|
* true
|
|
@@ -1222,15 +1225,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1222
1225
|
compensateWithOnDemand?: boolean;
|
|
1223
1226
|
/**
|
|
1224
1227
|
* @remarks
|
|
1225
|
-
*
|
|
1228
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1226
1229
|
*/
|
|
1227
1230
|
dataDisks?: DataDisk[];
|
|
1228
1231
|
/**
|
|
1229
1232
|
* @remarks
|
|
1230
|
-
*
|
|
1233
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery. When creating ECS instances within a deployment set, instances are launched in the specified region based on the pre-configured deployment strategy.
|
|
1231
1234
|
*
|
|
1232
1235
|
*
|
|
1233
|
-
* >Notice: After a deployment set
|
|
1236
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. The default upper limit for a deployment set is 20 × number of zones (the number of zones is determined by the vSwitches). Choose carefully and ensure sufficient quota in the deployment set to avoid node scale-out failures.
|
|
1234
1237
|
*
|
|
1235
1238
|
* @example
|
|
1236
1239
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1238,11 +1241,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1238
1241
|
deploymentsetId?: string;
|
|
1239
1242
|
/**
|
|
1240
1243
|
* @remarks
|
|
1241
|
-
*
|
|
1244
|
+
* The desired number of nodes in the node pool.
|
|
1242
1245
|
*
|
|
1243
|
-
* The total number of nodes that the node pool should maintain. We recommend
|
|
1246
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
1244
1247
|
*
|
|
1245
|
-
* If
|
|
1248
|
+
* If you do not need to create nodes, set this value to 0 and manually adjust it later to add nodes.
|
|
1246
1249
|
*
|
|
1247
1250
|
* @example
|
|
1248
1251
|
* 0
|
|
@@ -1250,12 +1253,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1250
1253
|
desiredSize?: number;
|
|
1251
1254
|
/**
|
|
1252
1255
|
* @remarks
|
|
1253
|
-
*
|
|
1256
|
+
* The block device initialization configuration.
|
|
1254
1257
|
*/
|
|
1255
1258
|
diskInit?: DiskInit[];
|
|
1256
1259
|
/**
|
|
1257
1260
|
* @remarks
|
|
1258
|
-
*
|
|
1261
|
+
* The custom image ID. The system-provided image is used by default.
|
|
1259
1262
|
*
|
|
1260
1263
|
* @example
|
|
1261
1264
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1263,13 +1266,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1263
1266
|
imageId?: string;
|
|
1264
1267
|
/**
|
|
1265
1268
|
* @remarks
|
|
1266
|
-
*
|
|
1269
|
+
* The operating system image type. Valid values:
|
|
1267
1270
|
*
|
|
1268
1271
|
* - `AliyunLinux`: Alinux2 image.
|
|
1269
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
1272
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1270
1273
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1271
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
1272
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
1274
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1275
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1273
1276
|
* - `CentOS`: CentOS image.
|
|
1274
1277
|
* - `Windows`: Windows image.
|
|
1275
1278
|
* - `WindowsCore`: WindowsCore image.
|
|
@@ -1282,11 +1285,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1282
1285
|
imageType?: string;
|
|
1283
1286
|
/**
|
|
1284
1287
|
* @remarks
|
|
1285
|
-
*
|
|
1288
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
1286
1289
|
*
|
|
1287
|
-
* - `PrePaid`: subscription
|
|
1290
|
+
* - `PrePaid`: subscription.
|
|
1288
1291
|
*
|
|
1289
|
-
* - `PostPaid`: pay-as-you-go
|
|
1292
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1290
1293
|
*
|
|
1291
1294
|
* Default value: `PostPaid`.
|
|
1292
1295
|
*
|
|
@@ -1298,29 +1301,29 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1298
1301
|
instanceChargeType?: string;
|
|
1299
1302
|
/**
|
|
1300
1303
|
* @remarks
|
|
1301
|
-
* ECS instance metadata access configuration.
|
|
1304
|
+
* The ECS instance metadata access configuration.
|
|
1302
1305
|
*/
|
|
1303
1306
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1304
1307
|
/**
|
|
1305
1308
|
* @remarks
|
|
1306
|
-
*
|
|
1309
|
+
* The instance attribute configuration.
|
|
1307
1310
|
*/
|
|
1308
1311
|
instancePatterns?: InstancePatterns[];
|
|
1309
1312
|
/**
|
|
1310
1313
|
* @remarks
|
|
1311
|
-
*
|
|
1314
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created from the specified instance types that meet the requirements.
|
|
1312
1315
|
*
|
|
1313
|
-
* Supported number of instance types: [1,10]
|
|
1316
|
+
* Supported number of instance types: [1,10].
|
|
1314
1317
|
*
|
|
1315
1318
|
*
|
|
1316
|
-
* > To ensure high availability,
|
|
1319
|
+
* > To ensure high availability, select multiple instance types.
|
|
1317
1320
|
*
|
|
1318
1321
|
* This parameter is required.
|
|
1319
1322
|
*/
|
|
1320
1323
|
instanceTypes?: string[];
|
|
1321
1324
|
/**
|
|
1322
1325
|
* @remarks
|
|
1323
|
-
*
|
|
1326
|
+
* The billing method of the public IP address. Valid values:
|
|
1324
1327
|
*
|
|
1325
1328
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1326
1329
|
* - PayByTraffic: pay-by-traffic.
|
|
@@ -1331,7 +1334,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1331
1334
|
internetChargeType?: string;
|
|
1332
1335
|
/**
|
|
1333
1336
|
* @remarks
|
|
1334
|
-
*
|
|
1337
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1335
1338
|
*
|
|
1336
1339
|
* @example
|
|
1337
1340
|
* 5
|
|
@@ -1339,9 +1342,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1339
1342
|
internetMaxBandwidthOut?: number;
|
|
1340
1343
|
/**
|
|
1341
1344
|
* @remarks
|
|
1342
|
-
*
|
|
1345
|
+
* The key pair name for password-free logon. Mutually exclusive with `login_password`.
|
|
1343
1346
|
*
|
|
1344
|
-
* >
|
|
1347
|
+
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1345
1348
|
*
|
|
1346
1349
|
* @example
|
|
1347
1350
|
* np-key-name
|
|
@@ -1349,11 +1352,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1349
1352
|
keyPair?: string;
|
|
1350
1353
|
/**
|
|
1351
1354
|
* @remarks
|
|
1352
|
-
*
|
|
1355
|
+
* Specifies whether to log on to the ECS instance as a non-root user.
|
|
1353
1356
|
*
|
|
1354
|
-
* - true:
|
|
1357
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1355
1358
|
*
|
|
1356
|
-
* - false:
|
|
1359
|
+
* - false: logs on as the root user.
|
|
1357
1360
|
*
|
|
1358
1361
|
* @example
|
|
1359
1362
|
* true
|
|
@@ -1361,7 +1364,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1361
1364
|
loginAsNonRoot?: boolean;
|
|
1362
1365
|
/**
|
|
1363
1366
|
* @remarks
|
|
1364
|
-
* SSH
|
|
1367
|
+
* The SSH logon password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1365
1368
|
*
|
|
1366
1369
|
* @example
|
|
1367
1370
|
* ****
|
|
@@ -1369,15 +1372,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1369
1372
|
loginPassword?: string;
|
|
1370
1373
|
/**
|
|
1371
1374
|
* @remarks
|
|
1372
|
-
*
|
|
1375
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1373
1376
|
*
|
|
1374
|
-
* - `PRIORITY`:
|
|
1377
|
+
* - `PRIORITY`: Scales 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.
|
|
1375
1378
|
*
|
|
1376
|
-
* - `COST_OPTIMIZED`:
|
|
1379
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the preemptible billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1377
1380
|
*
|
|
1378
|
-
*
|
|
1381
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1379
1382
|
*
|
|
1380
|
-
* - `BALANCE`:
|
|
1383
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API to rebalance resources.
|
|
1381
1384
|
*
|
|
1382
1385
|
* Default value: `PRIORITY`.
|
|
1383
1386
|
*
|
|
@@ -1387,7 +1390,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1387
1390
|
multiAzPolicy?: string;
|
|
1388
1391
|
/**
|
|
1389
1392
|
* @remarks
|
|
1390
|
-
*
|
|
1393
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value.
|
|
1391
1394
|
*
|
|
1392
1395
|
* @example
|
|
1393
1396
|
* 0
|
|
@@ -1395,7 +1398,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1395
1398
|
onDemandBaseCapacity?: number;
|
|
1396
1399
|
/**
|
|
1397
1400
|
* @remarks
|
|
1398
|
-
*
|
|
1401
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1399
1402
|
*
|
|
1400
1403
|
* @example
|
|
1401
1404
|
* 20
|
|
@@ -1403,7 +1406,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1403
1406
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1404
1407
|
/**
|
|
1405
1408
|
* @remarks
|
|
1406
|
-
*
|
|
1409
|
+
* The subscription duration of nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1407
1410
|
*
|
|
1408
1411
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1409
1412
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1414,7 +1417,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1414
1417
|
period?: number;
|
|
1415
1418
|
/**
|
|
1416
1419
|
* @remarks
|
|
1417
|
-
*
|
|
1420
|
+
* The billing period unit of nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1418
1421
|
*
|
|
1419
1422
|
* - `Month`: billed on a monthly basis.
|
|
1420
1423
|
* - `Week`: billed on a weekly basis.
|
|
@@ -1427,9 +1430,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1427
1430
|
periodUnit?: string;
|
|
1428
1431
|
/**
|
|
1429
1432
|
* @remarks
|
|
1430
|
-
* [
|
|
1433
|
+
* [This field is deprecated] Use the `image_type` parameter instead.
|
|
1431
1434
|
*
|
|
1432
|
-
*
|
|
1435
|
+
* The operating system distribution. Valid values:
|
|
1433
1436
|
* - `CentOS`
|
|
1434
1437
|
* - `AliyunLinux`
|
|
1435
1438
|
* - `Windows`
|
|
@@ -1445,17 +1448,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1445
1448
|
platform?: string;
|
|
1446
1449
|
/**
|
|
1447
1450
|
* @remarks
|
|
1448
|
-
*
|
|
1451
|
+
* The private node pool configuration.
|
|
1449
1452
|
*/
|
|
1450
1453
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1451
1454
|
/**
|
|
1452
1455
|
* @remarks
|
|
1453
|
-
* Worker RAM role name.
|
|
1456
|
+
* The Worker RAM role name.
|
|
1454
1457
|
*
|
|
1455
|
-
* *
|
|
1456
|
-
* *
|
|
1458
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1459
|
+
* * If specified, the RAM role must be a **normal service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1457
1460
|
*
|
|
1458
|
-
* >Notice:
|
|
1461
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support this parameter.
|
|
1459
1462
|
*
|
|
1460
1463
|
* @example
|
|
1461
1464
|
* example-role
|
|
@@ -1463,22 +1466,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1463
1466
|
ramRoleName?: string;
|
|
1464
1467
|
/**
|
|
1465
1468
|
* @remarks
|
|
1466
|
-
* RDS
|
|
1469
|
+
* The list of RDS instances.
|
|
1467
1470
|
*/
|
|
1468
1471
|
rdsInstances?: string[];
|
|
1469
1472
|
/**
|
|
1470
1473
|
* @remarks
|
|
1471
|
-
*
|
|
1472
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1473
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1474
|
+
* 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.
|
|
1474
1475
|
*/
|
|
1475
1476
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1476
1477
|
/**
|
|
1477
1478
|
* @remarks
|
|
1478
|
-
*
|
|
1479
|
+
* The scaling group mode. Valid values:
|
|
1479
1480
|
*
|
|
1480
|
-
* - `release`:
|
|
1481
|
-
* - `recycle`:
|
|
1481
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1482
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling speed. Stopped instances are not charged for compute resources, only for storage. This does not apply to instances with local disks.
|
|
1482
1483
|
*
|
|
1483
1484
|
* Default value: `release`.
|
|
1484
1485
|
*
|
|
@@ -1488,7 +1489,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1488
1489
|
scalingPolicy?: string;
|
|
1489
1490
|
/**
|
|
1490
1491
|
* @remarks
|
|
1491
|
-
*
|
|
1492
|
+
* The security group ID of the node pool. Use either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1492
1493
|
*
|
|
1493
1494
|
* @example
|
|
1494
1495
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1498,15 +1499,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1498
1499
|
securityGroupId?: string;
|
|
1499
1500
|
/**
|
|
1500
1501
|
* @remarks
|
|
1501
|
-
*
|
|
1502
|
+
* The list of security group IDs. Mutually exclusive with `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.
|
|
1502
1503
|
*/
|
|
1503
1504
|
securityGroupIds?: string[];
|
|
1504
1505
|
/**
|
|
1505
1506
|
* @remarks
|
|
1506
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1507
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1507
1508
|
*
|
|
1508
|
-
* - `true`:
|
|
1509
|
-
* - `false`:
|
|
1509
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1510
|
+
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1510
1511
|
*
|
|
1511
1512
|
* Default value: `false`.
|
|
1512
1513
|
*
|
|
@@ -1516,7 +1517,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1516
1517
|
securityHardeningOs?: boolean;
|
|
1517
1518
|
/**
|
|
1518
1519
|
* @remarks
|
|
1519
|
-
*
|
|
1520
|
+
* Specifies whether to enable mlps 2.0 security hardening. This feature is available only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1520
1521
|
*
|
|
1521
1522
|
* @example
|
|
1522
1523
|
* false
|
|
@@ -1524,7 +1525,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1524
1525
|
socEnabled?: boolean;
|
|
1525
1526
|
/**
|
|
1526
1527
|
* @remarks
|
|
1527
|
-
*
|
|
1528
|
+
* 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\\].
|
|
1528
1529
|
*
|
|
1529
1530
|
* @example
|
|
1530
1531
|
* 5
|
|
@@ -1532,10 +1533,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1532
1533
|
spotInstancePools?: number;
|
|
1533
1534
|
/**
|
|
1534
1535
|
* @remarks
|
|
1535
|
-
*
|
|
1536
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1536
1537
|
*
|
|
1537
|
-
* - `true`:
|
|
1538
|
-
* - `false`:
|
|
1538
|
+
* - `true`: Enables supplementing spot instances.
|
|
1539
|
+
* - `false`: Disables supplementing spot instances.
|
|
1539
1540
|
*
|
|
1540
1541
|
* @example
|
|
1541
1542
|
* false
|
|
@@ -1543,20 +1544,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1543
1544
|
spotInstanceRemedy?: boolean;
|
|
1544
1545
|
/**
|
|
1545
1546
|
* @remarks
|
|
1546
|
-
*
|
|
1547
|
+
* The price limit configuration for the current spot instance type.
|
|
1547
1548
|
*/
|
|
1548
1549
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1549
1550
|
/**
|
|
1550
1551
|
* @remarks
|
|
1551
|
-
*
|
|
1552
|
+
* The spot instance type. Valid values:
|
|
1552
1553
|
*
|
|
1553
|
-
* - `NoSpot`: non-
|
|
1554
|
+
* - `NoSpot`: non-spot instance.
|
|
1554
1555
|
*
|
|
1555
|
-
* - `SpotWithPriceLimit`:
|
|
1556
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1556
1557
|
*
|
|
1557
|
-
* - `SpotAsPriceGo`:
|
|
1558
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1558
1559
|
*
|
|
1559
|
-
* For more information, see [
|
|
1560
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1560
1561
|
*
|
|
1561
1562
|
* @example
|
|
1562
1563
|
* NoSpot
|
|
@@ -1564,11 +1565,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1564
1565
|
spotStrategy?: string;
|
|
1565
1566
|
/**
|
|
1566
1567
|
* @remarks
|
|
1567
|
-
*
|
|
1568
|
-
* - true:
|
|
1569
|
-
* - false:
|
|
1568
|
+
* Specifies whether to enable burst (performance bursting) for the node system cloud disk. Valid values:
|
|
1569
|
+
* - true: Enabled.
|
|
1570
|
+
* - false: Disabled.
|
|
1570
1571
|
*
|
|
1571
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1572
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1572
1573
|
*
|
|
1573
1574
|
* @example
|
|
1574
1575
|
* true
|
|
@@ -1576,17 +1577,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1576
1577
|
systemDiskBurstingEnabled?: boolean;
|
|
1577
1578
|
/**
|
|
1578
1579
|
* @remarks
|
|
1579
|
-
* Multiple disk types
|
|
1580
|
+
* Multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically tries the next-priority cloud disk type to create the system cloud disk.
|
|
1580
1581
|
*/
|
|
1581
1582
|
systemDiskCategories?: string[];
|
|
1582
1583
|
/**
|
|
1583
1584
|
* @remarks
|
|
1584
|
-
*
|
|
1585
|
-
* - `cloud_efficiency`: ultra disk.
|
|
1585
|
+
* The system cloud disk type of nodes. Valid values:
|
|
1586
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1586
1587
|
* - `cloud_ssd`: standard SSD.
|
|
1587
1588
|
* - `cloud_essd`: ESSD.
|
|
1588
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1589
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1589
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1590
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1590
1591
|
*
|
|
1591
1592
|
* Default value: `cloud_efficiency`.
|
|
1592
1593
|
*
|
|
@@ -1596,7 +1597,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1596
1597
|
systemDiskCategory?: string;
|
|
1597
1598
|
/**
|
|
1598
1599
|
* @remarks
|
|
1599
|
-
*
|
|
1600
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1600
1601
|
*
|
|
1601
1602
|
* @example
|
|
1602
1603
|
* aes-256
|
|
@@ -1604,11 +1605,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1604
1605
|
systemDiskEncryptAlgorithm?: string;
|
|
1605
1606
|
/**
|
|
1606
1607
|
* @remarks
|
|
1607
|
-
*
|
|
1608
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1608
1609
|
*
|
|
1609
|
-
* - true:
|
|
1610
|
+
* - true: Encrypted.
|
|
1610
1611
|
*
|
|
1611
|
-
* - false:
|
|
1612
|
+
* - false: Not encrypted.
|
|
1612
1613
|
*
|
|
1613
1614
|
* @example
|
|
1614
1615
|
* false
|
|
@@ -1616,7 +1617,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1616
1617
|
systemDiskEncrypted?: boolean;
|
|
1617
1618
|
/**
|
|
1618
1619
|
* @remarks
|
|
1619
|
-
* KMS key ID used by the system disk.
|
|
1620
|
+
* The KMS key ID used by the system cloud disk.
|
|
1620
1621
|
*
|
|
1621
1622
|
* @example
|
|
1622
1623
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1624,11 +1625,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1624
1625
|
systemDiskKmsKeyId?: string;
|
|
1625
1626
|
/**
|
|
1626
1627
|
* @remarks
|
|
1627
|
-
*
|
|
1628
|
-
* - PL0: moderate
|
|
1629
|
-
* - PL1: moderate
|
|
1630
|
-
* - PL2: high
|
|
1631
|
-
* - PL3: ultra-high
|
|
1628
|
+
* The performance level of the node system cloud disk. Applicable only to ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1629
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1630
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1631
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1632
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1632
1633
|
*
|
|
1633
1634
|
* @example
|
|
1634
1635
|
* PL1
|
|
@@ -1636,11 +1637,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1636
1637
|
systemDiskPerformanceLevel?: string;
|
|
1637
1638
|
/**
|
|
1638
1639
|
* @remarks
|
|
1639
|
-
*
|
|
1640
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1640
1641
|
*
|
|
1641
|
-
* Valid values: 0
|
|
1642
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1642
1643
|
*
|
|
1643
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1644
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1644
1645
|
*
|
|
1645
1646
|
* @example
|
|
1646
1647
|
* 1000
|
|
@@ -1648,7 +1649,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1648
1649
|
systemDiskProvisionedIops?: number;
|
|
1649
1650
|
/**
|
|
1650
1651
|
* @remarks
|
|
1651
|
-
*
|
|
1652
|
+
* The system cloud disk size of nodes. Unit: GiB.
|
|
1652
1653
|
*
|
|
1653
1654
|
* Valid values: [20,2048\\].
|
|
1654
1655
|
*
|
|
@@ -1658,7 +1659,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1658
1659
|
systemDiskSize?: number;
|
|
1659
1660
|
/**
|
|
1660
1661
|
* @remarks
|
|
1661
|
-
*
|
|
1662
|
+
* The system cloud disk snapshot policy.
|
|
1662
1663
|
*
|
|
1663
1664
|
* @example
|
|
1664
1665
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1668,14 +1669,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1668
1669
|
* @remarks
|
|
1669
1670
|
* Tags added only to ECS instances.
|
|
1670
1671
|
*
|
|
1671
|
-
* Tag keys cannot be duplicated and
|
|
1672
|
+
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1672
1673
|
*/
|
|
1673
1674
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1674
1675
|
/**
|
|
1675
1676
|
* @remarks
|
|
1676
|
-
*
|
|
1677
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1677
1678
|
*
|
|
1678
|
-
* > To ensure high availability,
|
|
1679
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1679
1680
|
*
|
|
1680
1681
|
* This parameter is required.
|
|
1681
1682
|
*/
|
|
@@ -1841,11 +1842,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1841
1842
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1842
1843
|
/**
|
|
1843
1844
|
* @remarks
|
|
1844
|
-
*
|
|
1845
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1845
1846
|
*
|
|
1846
|
-
* - true:
|
|
1847
|
+
* - true: Enables confidential computing.
|
|
1847
1848
|
*
|
|
1848
|
-
* - false:
|
|
1849
|
+
* - false: Does not enable confidential computing.
|
|
1849
1850
|
*
|
|
1850
1851
|
* @example
|
|
1851
1852
|
* true
|
|
@@ -1875,19 +1876,19 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1875
1876
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1876
1877
|
/**
|
|
1877
1878
|
* @remarks
|
|
1878
|
-
*
|
|
1879
|
+
* The node pool intelligent managed configuration.
|
|
1879
1880
|
*/
|
|
1880
1881
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1881
1882
|
/**
|
|
1882
1883
|
* @remarks
|
|
1883
|
-
*
|
|
1884
|
+
* The automatic scaling configuration.
|
|
1884
1885
|
*/
|
|
1885
1886
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1886
1887
|
/**
|
|
1887
1888
|
* @remarks
|
|
1888
|
-
* [
|
|
1889
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1889
1890
|
*
|
|
1890
|
-
*
|
|
1891
|
+
* The number of nodes in the node pool.
|
|
1891
1892
|
*
|
|
1892
1893
|
* @example
|
|
1893
1894
|
* null
|
|
@@ -1897,14 +1898,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1897
1898
|
count?: number;
|
|
1898
1899
|
/**
|
|
1899
1900
|
* @remarks
|
|
1900
|
-
* Lingjun node pool configuration.
|
|
1901
|
+
* The Lingjun node pool configuration.
|
|
1901
1902
|
*/
|
|
1902
1903
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1903
1904
|
/**
|
|
1904
1905
|
* @remarks
|
|
1905
|
-
*
|
|
1906
|
-
* - `true`:
|
|
1907
|
-
* - `false`:
|
|
1906
|
+
* Specifies whether the pod network mode uses host network mode.
|
|
1907
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1908
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1908
1909
|
*
|
|
1909
1910
|
* @example
|
|
1910
1911
|
* true
|
|
@@ -1912,19 +1913,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1912
1913
|
hostNetwork?: boolean;
|
|
1913
1914
|
/**
|
|
1914
1915
|
* @remarks
|
|
1915
|
-
* [
|
|
1916
|
+
* [This field is deprecated]
|
|
1916
1917
|
*
|
|
1917
|
-
*
|
|
1918
|
+
* The edge node pool configuration.
|
|
1918
1919
|
*
|
|
1919
1920
|
* @deprecated
|
|
1920
1921
|
*/
|
|
1921
1922
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1922
1923
|
/**
|
|
1923
1924
|
* @remarks
|
|
1924
|
-
*
|
|
1925
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1925
1926
|
*
|
|
1926
|
-
* - `basic`:
|
|
1927
|
-
* - `private`:
|
|
1927
|
+
* - `basic`: Public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1928
|
+
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1928
1929
|
*
|
|
1929
1930
|
* @example
|
|
1930
1931
|
* basic
|
|
@@ -1932,9 +1933,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1932
1933
|
interconnectMode?: string;
|
|
1933
1934
|
/**
|
|
1934
1935
|
* @remarks
|
|
1935
|
-
*
|
|
1936
|
-
* - `true`:
|
|
1937
|
-
* - `false`:
|
|
1936
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1937
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1938
|
+
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity.
|
|
1938
1939
|
*
|
|
1939
1940
|
* @example
|
|
1940
1941
|
* true
|
|
@@ -1942,19 +1943,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1942
1943
|
intranet?: boolean;
|
|
1943
1944
|
/**
|
|
1944
1945
|
* @remarks
|
|
1945
|
-
*
|
|
1946
|
+
* The cluster-related configuration.
|
|
1946
1947
|
*/
|
|
1947
1948
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1948
1949
|
/**
|
|
1949
1950
|
* @remarks
|
|
1950
|
-
*
|
|
1951
|
+
* The managed node pool configuration.
|
|
1951
1952
|
*/
|
|
1952
1953
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1953
1954
|
/**
|
|
1954
1955
|
* @remarks
|
|
1955
|
-
* [
|
|
1956
|
+
* [This field is deprecated]
|
|
1956
1957
|
*
|
|
1957
|
-
*
|
|
1958
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1958
1959
|
*
|
|
1959
1960
|
* @example
|
|
1960
1961
|
* null
|
|
@@ -1964,27 +1965,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1964
1965
|
maxNodes?: number;
|
|
1965
1966
|
/**
|
|
1966
1967
|
* @remarks
|
|
1967
|
-
*
|
|
1968
|
+
* The node component list.
|
|
1968
1969
|
*/
|
|
1969
1970
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1970
1971
|
/**
|
|
1971
1972
|
* @remarks
|
|
1972
|
-
*
|
|
1973
|
+
* The node configuration.
|
|
1973
1974
|
*/
|
|
1974
1975
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1975
1976
|
/**
|
|
1976
1977
|
* @remarks
|
|
1977
|
-
*
|
|
1978
|
+
* The node pool configuration.
|
|
1978
1979
|
*/
|
|
1979
1980
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1980
1981
|
/**
|
|
1981
1982
|
* @remarks
|
|
1982
|
-
*
|
|
1983
|
+
* The scaling group configuration of the node pool.
|
|
1983
1984
|
*/
|
|
1984
1985
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1985
1986
|
/**
|
|
1986
1987
|
* @remarks
|
|
1987
|
-
*
|
|
1988
|
+
* The confidential computing cluster configuration.
|
|
1988
1989
|
*/
|
|
1989
1990
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1990
1991
|
static names(): { [key: string]: string } {
|