@alicloud/cs20151215 7.0.1 → 7.0.2
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 +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -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 +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -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/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 +16 -12
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- 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: Disables 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,9 +58,9 @@ 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
|
-
* - `PayByTraffic`: pay-by-
|
|
63
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
65
64
|
*
|
|
66
65
|
* Default value: `PayByBandwidth`.
|
|
67
66
|
*
|
|
@@ -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 the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum instance counts. For clusters of version 1.24 or later, instant node elasticity is enabled by default. For clusters of versions earlier than 1.24, node auto scaling is enabled 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 elastic IP address (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 scalable instances in the node pool, excluding your existing instances. This parameter 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 scalable instances in the node pool, excluding your existing instances. This parameter 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 number of instances is not 0, the corresponding number of ECS instances is automatically created after the scaling group takes effect. Settings take effect after the elastic scaling group is activated, and instances are automatically created.
|
|
124
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the elastic 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 elastic scaling instance type. This parameter 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 with 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 with 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 the CloudMonitor agent 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 the CloudMonitor agent on ECS nodes.
|
|
310
314
|
*
|
|
311
|
-
* - `false`:
|
|
315
|
+
* - `false`: Does not install the CloudMonitor agent 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 pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
328
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
325
329
|
*
|
|
326
330
|
* Default value: `none`.
|
|
327
331
|
*
|
|
@@ -331,27 +335,27 @@ 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
|
-
*
|
|
354
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
351
355
|
*
|
|
352
|
-
* - For Linux
|
|
356
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
353
357
|
*
|
|
354
|
-
* - For Windows
|
|
358
|
+
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
355
359
|
*
|
|
356
360
|
* @example
|
|
357
361
|
* aliyun.com192.XX.YY.55test
|
|
@@ -359,7 +363,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
359
363
|
nodeNameMode?: string;
|
|
360
364
|
/**
|
|
361
365
|
* @remarks
|
|
362
|
-
*
|
|
366
|
+
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is executed. 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 the 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 user data script is executed. 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. This parameter 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. This parameter 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. This parameter 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. This parameter 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. This parameter 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 automatic upgrade. Valid values:
|
|
633
637
|
*
|
|
634
|
-
* - `true`:
|
|
638
|
+
* - `true`: enables automatic upgrade.
|
|
635
639
|
*
|
|
636
|
-
* - `false`:
|
|
640
|
+
* - `false`: disables automatic 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. Specify either this parameter or `surge_percentage`.
|
|
658
662
|
*
|
|
659
|
-
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
663
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
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,9 +670,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
666
670
|
surge?: number;
|
|
667
671
|
/**
|
|
668
672
|
* @remarks
|
|
669
|
-
*
|
|
673
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
670
674
|
*
|
|
671
|
-
* 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.
|
|
675
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
672
676
|
*
|
|
673
677
|
* @example
|
|
674
678
|
* 0
|
|
@@ -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. This parameter takes effect only when `enable=true`.
|
|
709
713
|
*
|
|
710
|
-
* - `true`:
|
|
714
|
+
* - `true`: automatically repairs nodes.
|
|
711
715
|
*
|
|
712
|
-
* - `false`:
|
|
716
|
+
* - `false`: does not automatically repair nodes.
|
|
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. This parameter takes effect only when `enable=true`.
|
|
732
|
+
* - `true`: enables automatic upgrade.
|
|
733
|
+
* - `false`: disables automatic 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. This parameter 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,16 @@ 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;
|
|
760
764
|
/**
|
|
761
765
|
* @remarks
|
|
762
|
-
*
|
|
766
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
763
767
|
*
|
|
764
|
-
* - `true`:
|
|
768
|
+
* - `true`: enables the managed feature.
|
|
765
769
|
*
|
|
766
|
-
* - `false`:
|
|
770
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
767
771
|
*
|
|
768
772
|
* Default value: false.
|
|
769
773
|
*
|
|
@@ -773,9 +777,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
773
777
|
enable?: boolean;
|
|
774
778
|
/**
|
|
775
779
|
* @remarks
|
|
776
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the
|
|
780
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
777
781
|
*
|
|
778
|
-
*
|
|
782
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
779
783
|
*
|
|
780
784
|
* @deprecated
|
|
781
785
|
*/
|
|
@@ -832,7 +836,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
832
836
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
833
837
|
/**
|
|
834
838
|
* @remarks
|
|
835
|
-
*
|
|
839
|
+
* The node component custom configuration.
|
|
836
840
|
*
|
|
837
841
|
* @example
|
|
838
842
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -865,12 +869,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
865
869
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
866
870
|
/**
|
|
867
871
|
* @remarks
|
|
868
|
-
*
|
|
872
|
+
* The node component configuration.
|
|
869
873
|
*/
|
|
870
874
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
871
875
|
/**
|
|
872
876
|
* @remarks
|
|
873
|
-
*
|
|
877
|
+
* The node component name.
|
|
874
878
|
*
|
|
875
879
|
* @example
|
|
876
880
|
* kubelet
|
|
@@ -878,7 +882,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
878
882
|
name?: string;
|
|
879
883
|
/**
|
|
880
884
|
* @remarks
|
|
881
|
-
*
|
|
885
|
+
* The node component version.
|
|
882
886
|
*
|
|
883
887
|
* @example
|
|
884
888
|
* 1.33.3-aliyun.1
|
|
@@ -915,7 +919,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
915
919
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
916
920
|
/**
|
|
917
921
|
* @remarks
|
|
918
|
-
* Kubelet parameter
|
|
922
|
+
* The Kubelet parameter settings.
|
|
919
923
|
*/
|
|
920
924
|
kubeletConfiguration?: KubeletConfig;
|
|
921
925
|
static names(): { [key: string]: string } {
|
|
@@ -945,7 +949,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
945
949
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
946
950
|
/**
|
|
947
951
|
* @remarks
|
|
948
|
-
*
|
|
952
|
+
* The node pool name.
|
|
949
953
|
*
|
|
950
954
|
* This parameter is required.
|
|
951
955
|
*
|
|
@@ -955,9 +959,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
955
959
|
name?: string;
|
|
956
960
|
/**
|
|
957
961
|
* @remarks
|
|
958
|
-
*
|
|
962
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
959
963
|
*
|
|
960
|
-
* A resource can
|
|
964
|
+
* 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
965
|
*
|
|
962
966
|
* @example
|
|
963
967
|
* rg-acfmyvw3wjmb****
|
|
@@ -965,9 +969,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
965
969
|
resourceGroupId?: string;
|
|
966
970
|
/**
|
|
967
971
|
* @remarks
|
|
968
|
-
*
|
|
972
|
+
* The node pool type. Valid values:
|
|
969
973
|
*
|
|
970
|
-
* - `ess`: standard node pool (includes managed and
|
|
974
|
+
* - `ess`: standard node pool (includes managed features and automatic elastic scaling).
|
|
971
975
|
* - `edge`: edge node pool.
|
|
972
976
|
* - `lingjun`: Lingjun node pool.
|
|
973
977
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1004,7 +1008,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1004
1008
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1005
1009
|
/**
|
|
1006
1010
|
* @remarks
|
|
1007
|
-
*
|
|
1011
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
1008
1012
|
*
|
|
1009
1013
|
* @example
|
|
1010
1014
|
* eap-bp67acfmxazb4****
|
|
@@ -1012,10 +1016,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1012
1016
|
id?: string;
|
|
1013
1017
|
/**
|
|
1014
1018
|
* @remarks
|
|
1015
|
-
*
|
|
1016
|
-
* - `Open`:
|
|
1017
|
-
* - `Target`:
|
|
1018
|
-
* - `None`:
|
|
1019
|
+
* The private node pool type. Specifies 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:
|
|
1020
|
+
* - `Open`: Open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1021
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to start instances. If the private pool capacity is unavailable, instance startup fails.
|
|
1022
|
+
* - `None`: No private pool mode. Private pool capacity is not used for instance startup.
|
|
1019
1023
|
*
|
|
1020
1024
|
* @example
|
|
1021
1025
|
* Target
|
|
@@ -1047,15 +1051,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1047
1051
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1048
1052
|
/**
|
|
1049
1053
|
* @remarks
|
|
1050
|
-
*
|
|
1054
|
+
* 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
1055
|
*/
|
|
1052
1056
|
privatePoolIds?: string[];
|
|
1053
1057
|
/**
|
|
1054
1058
|
* @remarks
|
|
1055
|
-
*
|
|
1056
|
-
* PrivatePoolFirst:
|
|
1057
|
-
* PrivatePoolOnly:
|
|
1058
|
-
* None:
|
|
1059
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated by elasticity assurance or capacity reservation services and public pools. Valid values:
|
|
1060
|
+
* PrivatePoolFirst: Private pool first. When this strategy 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 private pools are automatically matched. If no matching private pool is available, public pool resources are used.
|
|
1061
|
+
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance startup fails.
|
|
1062
|
+
* None: No resource pool strategy is used.
|
|
1059
1063
|
* Default value: None.
|
|
1060
1064
|
*
|
|
1061
1065
|
* @example
|
|
@@ -1091,7 +1095,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1091
1095
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1092
1096
|
/**
|
|
1093
1097
|
* @remarks
|
|
1094
|
-
*
|
|
1098
|
+
* The spot instance type.
|
|
1095
1099
|
*
|
|
1096
1100
|
* @example
|
|
1097
1101
|
* ecs.c6.large
|
|
@@ -1099,7 +1103,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1099
1103
|
instanceType?: string;
|
|
1100
1104
|
/**
|
|
1101
1105
|
* @remarks
|
|
1102
|
-
*
|
|
1106
|
+
* The maximum price per instance.
|
|
1103
1107
|
* <props="china">Unit: CNY/hour.
|
|
1104
1108
|
*
|
|
1105
1109
|
*
|
|
@@ -1136,7 +1140,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1136
1140
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1137
1141
|
/**
|
|
1138
1142
|
* @remarks
|
|
1139
|
-
*
|
|
1143
|
+
* The tag key.
|
|
1140
1144
|
*
|
|
1141
1145
|
* @example
|
|
1142
1146
|
* node-k-1
|
|
@@ -1144,7 +1148,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1144
1148
|
key?: string;
|
|
1145
1149
|
/**
|
|
1146
1150
|
* @remarks
|
|
1147
|
-
*
|
|
1151
|
+
* The tag value.
|
|
1148
1152
|
*
|
|
1149
1153
|
* @example
|
|
1150
1154
|
* node-v-1
|
|
@@ -1176,10 +1180,10 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1176
1180
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1177
1181
|
/**
|
|
1178
1182
|
* @remarks
|
|
1179
|
-
*
|
|
1183
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1180
1184
|
*
|
|
1181
|
-
* - `true`:
|
|
1182
|
-
* - `false`:
|
|
1185
|
+
* - `true`: enables auto-renewal.
|
|
1186
|
+
* - `false`: disables auto-renewal.
|
|
1183
1187
|
*
|
|
1184
1188
|
* Default value: `false`.
|
|
1185
1189
|
*
|
|
@@ -1189,7 +1193,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1189
1193
|
autoRenew?: boolean;
|
|
1190
1194
|
/**
|
|
1191
1195
|
* @remarks
|
|
1192
|
-
*
|
|
1196
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
1193
1197
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
1194
1198
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1195
1199
|
*
|
|
@@ -1211,10 +1215,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1211
1215
|
cisEnabled?: boolean;
|
|
1212
1216
|
/**
|
|
1213
1217
|
* @remarks
|
|
1214
|
-
*
|
|
1218
|
+
* Specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and spot instances cannot be created due to price, inventory, or other reasons. Valid values:
|
|
1215
1219
|
*
|
|
1216
|
-
* - `true`:
|
|
1217
|
-
* - `false`:
|
|
1220
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1221
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1218
1222
|
*
|
|
1219
1223
|
* @example
|
|
1220
1224
|
* true
|
|
@@ -1222,15 +1226,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1222
1226
|
compensateWithOnDemand?: boolean;
|
|
1223
1227
|
/**
|
|
1224
1228
|
* @remarks
|
|
1225
|
-
*
|
|
1229
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
1226
1230
|
*/
|
|
1227
1231
|
dataDisks?: DataDisk[];
|
|
1228
1232
|
/**
|
|
1229
1233
|
* @remarks
|
|
1230
|
-
*
|
|
1234
|
+
* 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 ECS instances are created in a deployment set, they are started across the specified region based on the preconfigured deployment strategy.
|
|
1231
1235
|
*
|
|
1232
1236
|
*
|
|
1233
|
-
* >Notice: After a deployment set
|
|
1237
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node scale-out failures.
|
|
1234
1238
|
*
|
|
1235
1239
|
* @example
|
|
1236
1240
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1238,11 +1242,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1238
1242
|
deploymentsetId?: string;
|
|
1239
1243
|
/**
|
|
1240
1244
|
* @remarks
|
|
1241
|
-
*
|
|
1245
|
+
* The desired number of nodes in the node pool.
|
|
1242
1246
|
*
|
|
1243
|
-
* The total number of nodes that the node pool should maintain. We recommend
|
|
1247
|
+
* 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
1248
|
*
|
|
1245
|
-
* If
|
|
1249
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
1250
|
+
* [_single.params.body.props.scaling_group
|
|
1246
1251
|
*
|
|
1247
1252
|
* @example
|
|
1248
1253
|
* 0
|
|
@@ -1250,12 +1255,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1250
1255
|
desiredSize?: number;
|
|
1251
1256
|
/**
|
|
1252
1257
|
* @remarks
|
|
1253
|
-
*
|
|
1258
|
+
* The block device initialization configuration.
|
|
1254
1259
|
*/
|
|
1255
1260
|
diskInit?: DiskInit[];
|
|
1256
1261
|
/**
|
|
1257
1262
|
* @remarks
|
|
1258
|
-
*
|
|
1263
|
+
* The custom image ID. The system-provided image is used by default.
|
|
1259
1264
|
*
|
|
1260
1265
|
* @example
|
|
1261
1266
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1263,13 +1268,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1263
1268
|
imageId?: string;
|
|
1264
1269
|
/**
|
|
1265
1270
|
* @remarks
|
|
1266
|
-
*
|
|
1271
|
+
* The operating system image type. Valid values:
|
|
1267
1272
|
*
|
|
1268
1273
|
* - `AliyunLinux`: Alinux2 image.
|
|
1269
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
1274
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1270
1275
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1271
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
1272
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
1276
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1277
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1273
1278
|
* - `CentOS`: CentOS image.
|
|
1274
1279
|
* - `Windows`: Windows image.
|
|
1275
1280
|
* - `WindowsCore`: WindowsCore image.
|
|
@@ -1282,11 +1287,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1282
1287
|
imageType?: string;
|
|
1283
1288
|
/**
|
|
1284
1289
|
* @remarks
|
|
1285
|
-
*
|
|
1290
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
1286
1291
|
*
|
|
1287
|
-
* - `PrePaid`: subscription
|
|
1292
|
+
* - `PrePaid`: subscription.
|
|
1288
1293
|
*
|
|
1289
|
-
* - `PostPaid`: pay-as-you-go
|
|
1294
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1290
1295
|
*
|
|
1291
1296
|
* Default value: `PostPaid`.
|
|
1292
1297
|
*
|
|
@@ -1298,32 +1303,31 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1298
1303
|
instanceChargeType?: string;
|
|
1299
1304
|
/**
|
|
1300
1305
|
* @remarks
|
|
1301
|
-
* ECS instance metadata access configuration.
|
|
1306
|
+
* The ECS instance metadata access configuration.
|
|
1302
1307
|
*/
|
|
1303
1308
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1304
1309
|
/**
|
|
1305
1310
|
* @remarks
|
|
1306
|
-
*
|
|
1311
|
+
* The instance attribute configuration.
|
|
1307
1312
|
*/
|
|
1308
1313
|
instancePatterns?: InstancePatterns[];
|
|
1309
1314
|
/**
|
|
1310
1315
|
* @remarks
|
|
1311
|
-
*
|
|
1312
|
-
*
|
|
1313
|
-
* Supported number of instance types: [1,10]
|
|
1316
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, eligible instance types are selected from this list to create instances.
|
|
1314
1317
|
*
|
|
1318
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1315
1319
|
*
|
|
1316
|
-
* > To ensure high availability,
|
|
1320
|
+
* > To ensure high availability, select multiple instance types.
|
|
1317
1321
|
*
|
|
1318
1322
|
* This parameter is required.
|
|
1319
1323
|
*/
|
|
1320
1324
|
instanceTypes?: string[];
|
|
1321
1325
|
/**
|
|
1322
1326
|
* @remarks
|
|
1323
|
-
*
|
|
1327
|
+
* The billing method of the public IP address. Valid values:
|
|
1324
1328
|
*
|
|
1325
1329
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1326
|
-
* - PayByTraffic: pay-by-
|
|
1330
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1327
1331
|
*
|
|
1328
1332
|
* @example
|
|
1329
1333
|
* PayByTraffic
|
|
@@ -1331,7 +1335,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1331
1335
|
internetChargeType?: string;
|
|
1332
1336
|
/**
|
|
1333
1337
|
* @remarks
|
|
1334
|
-
*
|
|
1338
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1335
1339
|
*
|
|
1336
1340
|
* @example
|
|
1337
1341
|
* 5
|
|
@@ -1339,9 +1343,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1339
1343
|
internetMaxBandwidthOut?: number;
|
|
1340
1344
|
/**
|
|
1341
1345
|
* @remarks
|
|
1342
|
-
*
|
|
1346
|
+
* The name of the key pair for password-free logon. Specify either this parameter or `login_password`.
|
|
1343
1347
|
*
|
|
1344
|
-
* >
|
|
1348
|
+
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1345
1349
|
*
|
|
1346
1350
|
* @example
|
|
1347
1351
|
* np-key-name
|
|
@@ -1349,11 +1353,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1349
1353
|
keyPair?: string;
|
|
1350
1354
|
/**
|
|
1351
1355
|
* @remarks
|
|
1352
|
-
*
|
|
1356
|
+
* Specifies whether scaled-out ECS instances use non-root logon.
|
|
1353
1357
|
*
|
|
1354
|
-
* - true:
|
|
1358
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1355
1359
|
*
|
|
1356
|
-
* - false:
|
|
1360
|
+
* - false: logs on as the root user.
|
|
1357
1361
|
*
|
|
1358
1362
|
* @example
|
|
1359
1363
|
* true
|
|
@@ -1361,7 +1365,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1361
1365
|
loginAsNonRoot?: boolean;
|
|
1362
1366
|
/**
|
|
1363
1367
|
* @remarks
|
|
1364
|
-
* SSH
|
|
1368
|
+
* 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.
|
|
1365
1369
|
*
|
|
1366
1370
|
* @example
|
|
1367
1371
|
* ****
|
|
@@ -1369,15 +1373,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1369
1373
|
loginPassword?: string;
|
|
1370
1374
|
/**
|
|
1371
1375
|
* @remarks
|
|
1372
|
-
*
|
|
1376
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1373
1377
|
*
|
|
1374
|
-
* - `PRIORITY`:
|
|
1378
|
+
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1375
1379
|
*
|
|
1376
|
-
* - `COST_OPTIMIZED`:
|
|
1380
|
+
* - `COST_OPTIMIZED`: Creates instances by trying instance types in ascending order of vCPU unit price. When the scaling configuration sets multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1377
1381
|
*
|
|
1378
|
-
*
|
|
1382
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1379
1383
|
*
|
|
1380
|
-
* - `BALANCE`:
|
|
1384
|
+
* - `BALANCE`: Allocates ECS instances evenly across the zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1381
1385
|
*
|
|
1382
1386
|
* Default value: `PRIORITY`.
|
|
1383
1387
|
*
|
|
@@ -1387,7 +1391,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1387
1391
|
multiAzPolicy?: string;
|
|
1388
1392
|
/**
|
|
1389
1393
|
* @remarks
|
|
1390
|
-
*
|
|
1394
|
+
* 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
1395
|
*
|
|
1392
1396
|
* @example
|
|
1393
1397
|
* 0
|
|
@@ -1395,7 +1399,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1395
1399
|
onDemandBaseCapacity?: number;
|
|
1396
1400
|
/**
|
|
1397
1401
|
* @remarks
|
|
1398
|
-
*
|
|
1402
|
+
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) is met. Valid values: [0,100\\].
|
|
1399
1403
|
*
|
|
1400
1404
|
* @example
|
|
1401
1405
|
* 20
|
|
@@ -1403,7 +1407,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1403
1407
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1404
1408
|
/**
|
|
1405
1409
|
* @remarks
|
|
1406
|
-
*
|
|
1410
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1407
1411
|
*
|
|
1408
1412
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1409
1413
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1414,10 +1418,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1414
1418
|
period?: number;
|
|
1415
1419
|
/**
|
|
1416
1420
|
* @remarks
|
|
1417
|
-
*
|
|
1421
|
+
* The billing epoch of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1418
1422
|
*
|
|
1419
|
-
* - `Month`:
|
|
1420
|
-
* - `Week`:
|
|
1423
|
+
* - `Month`: uses month as the compute unit (CU).
|
|
1424
|
+
* - `Week`: uses week as the compute unit (CU).
|
|
1421
1425
|
*
|
|
1422
1426
|
* Default value: `Month`.
|
|
1423
1427
|
*
|
|
@@ -1427,9 +1431,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1427
1431
|
periodUnit?: string;
|
|
1428
1432
|
/**
|
|
1429
1433
|
* @remarks
|
|
1430
|
-
* [
|
|
1434
|
+
* [This field is deprecated] Use the `image_type` parameter instead.
|
|
1431
1435
|
*
|
|
1432
|
-
*
|
|
1436
|
+
* The operating system distribution. Valid values:
|
|
1433
1437
|
* - `CentOS`
|
|
1434
1438
|
* - `AliyunLinux`
|
|
1435
1439
|
* - `Windows`
|
|
@@ -1445,17 +1449,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1445
1449
|
platform?: string;
|
|
1446
1450
|
/**
|
|
1447
1451
|
* @remarks
|
|
1448
|
-
*
|
|
1452
|
+
* The private node pool configuration.
|
|
1449
1453
|
*/
|
|
1450
1454
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1451
1455
|
/**
|
|
1452
1456
|
* @remarks
|
|
1453
|
-
* Worker RAM role name.
|
|
1457
|
+
* The Worker RAM role name.
|
|
1454
1458
|
*
|
|
1455
|
-
* *
|
|
1456
|
-
* *
|
|
1459
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1460
|
+
* * If specified, the RAM role must be a **normal service role** with its **trusted service** set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If 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
1461
|
*
|
|
1458
|
-
* >Notice: This parameter is supported only
|
|
1462
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.
|
|
1459
1463
|
*
|
|
1460
1464
|
* @example
|
|
1461
1465
|
* example-role
|
|
@@ -1463,22 +1467,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1463
1467
|
ramRoleName?: string;
|
|
1464
1468
|
/**
|
|
1465
1469
|
* @remarks
|
|
1466
|
-
* RDS
|
|
1470
|
+
* The list of RDS instances.
|
|
1467
1471
|
*/
|
|
1468
1472
|
rdsInstances?: string[];
|
|
1469
1473
|
/**
|
|
1470
1474
|
* @remarks
|
|
1471
|
-
*
|
|
1475
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1472
1476
|
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1473
1477
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1474
1478
|
*/
|
|
1475
1479
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1476
1480
|
/**
|
|
1477
1481
|
* @remarks
|
|
1478
|
-
*
|
|
1482
|
+
* The scaling group mode. Valid values:
|
|
1479
1483
|
*
|
|
1480
|
-
* - `release`:
|
|
1481
|
-
* - `recycle`:
|
|
1484
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1485
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting 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.
|
|
1482
1486
|
*
|
|
1483
1487
|
* Default value: `release`.
|
|
1484
1488
|
*
|
|
@@ -1488,7 +1492,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1488
1492
|
scalingPolicy?: string;
|
|
1489
1493
|
/**
|
|
1490
1494
|
* @remarks
|
|
1491
|
-
*
|
|
1495
|
+
* 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
1496
|
*
|
|
1493
1497
|
* @example
|
|
1494
1498
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1498,15 +1502,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1498
1502
|
securityGroupId?: string;
|
|
1499
1503
|
/**
|
|
1500
1504
|
* @remarks
|
|
1501
|
-
*
|
|
1505
|
+
* 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.
|
|
1502
1506
|
*/
|
|
1503
1507
|
securityGroupIds?: string[];
|
|
1504
1508
|
/**
|
|
1505
1509
|
* @remarks
|
|
1506
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1510
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1507
1511
|
*
|
|
1508
|
-
* - `true`:
|
|
1509
|
-
* - `false`:
|
|
1512
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1513
|
+
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1510
1514
|
*
|
|
1511
1515
|
* Default value: `false`.
|
|
1512
1516
|
*
|
|
@@ -1516,7 +1520,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1516
1520
|
securityHardeningOs?: boolean;
|
|
1517
1521
|
/**
|
|
1518
1522
|
* @remarks
|
|
1519
|
-
*
|
|
1523
|
+
* 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
1524
|
*
|
|
1521
1525
|
* @example
|
|
1522
1526
|
* false
|
|
@@ -1524,7 +1528,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1524
1528
|
socEnabled?: boolean;
|
|
1525
1529
|
/**
|
|
1526
1530
|
* @remarks
|
|
1527
|
-
*
|
|
1531
|
+
* 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
1532
|
*
|
|
1529
1533
|
* @example
|
|
1530
1534
|
* 5
|
|
@@ -1532,10 +1536,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1532
1536
|
spotInstancePools?: number;
|
|
1533
1537
|
/**
|
|
1534
1538
|
* @remarks
|
|
1535
|
-
*
|
|
1539
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed when a reclamation notification is received. Valid values:
|
|
1536
1540
|
*
|
|
1537
|
-
* - `true`:
|
|
1538
|
-
* - `false`:
|
|
1541
|
+
* - `true`: Enables supplementation of spot instances.
|
|
1542
|
+
* - `false`: Disables supplementation of spot instances.
|
|
1539
1543
|
*
|
|
1540
1544
|
* @example
|
|
1541
1545
|
* false
|
|
@@ -1543,20 +1547,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1543
1547
|
spotInstanceRemedy?: boolean;
|
|
1544
1548
|
/**
|
|
1545
1549
|
* @remarks
|
|
1546
|
-
*
|
|
1550
|
+
* The market price range configuration for a single spot instance type.
|
|
1547
1551
|
*/
|
|
1548
1552
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1549
1553
|
/**
|
|
1550
1554
|
* @remarks
|
|
1551
|
-
*
|
|
1555
|
+
* The type of spot instance. Valid values:
|
|
1552
1556
|
*
|
|
1553
|
-
* - `NoSpot`: non-
|
|
1557
|
+
* - `NoSpot`: non-spot instance.
|
|
1554
1558
|
*
|
|
1555
|
-
* - `SpotWithPriceLimit`:
|
|
1559
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1556
1560
|
*
|
|
1557
|
-
* - `SpotAsPriceGo`:
|
|
1561
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1558
1562
|
*
|
|
1559
|
-
* For more information, see [
|
|
1563
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1560
1564
|
*
|
|
1561
1565
|
* @example
|
|
1562
1566
|
* NoSpot
|
|
@@ -1564,11 +1568,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1564
1568
|
spotStrategy?: string;
|
|
1565
1569
|
/**
|
|
1566
1570
|
* @remarks
|
|
1567
|
-
*
|
|
1568
|
-
* - true:
|
|
1569
|
-
* - false:
|
|
1571
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1572
|
+
* - true: Enabled.
|
|
1573
|
+
* - false: Disabled.
|
|
1570
1574
|
*
|
|
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).
|
|
1575
|
+
* 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
1576
|
*
|
|
1573
1577
|
* @example
|
|
1574
1578
|
* true
|
|
@@ -1576,17 +1580,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1576
1580
|
systemDiskBurstingEnabled?: boolean;
|
|
1577
1581
|
/**
|
|
1578
1582
|
* @remarks
|
|
1579
|
-
*
|
|
1583
|
+
* The multiple cloud disk types for the system cloud disk. 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
1584
|
*/
|
|
1581
1585
|
systemDiskCategories?: string[];
|
|
1582
1586
|
/**
|
|
1583
1587
|
* @remarks
|
|
1584
|
-
*
|
|
1585
|
-
* - `cloud_efficiency`: ultra disk.
|
|
1588
|
+
* The type of the node system cloud disk. Valid values:
|
|
1589
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1586
1590
|
* - `cloud_ssd`: standard SSD.
|
|
1587
1591
|
* - `cloud_essd`: ESSD.
|
|
1588
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1589
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1592
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1593
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1590
1594
|
*
|
|
1591
1595
|
* Default value: `cloud_efficiency`.
|
|
1592
1596
|
*
|
|
@@ -1596,7 +1600,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1596
1600
|
systemDiskCategory?: string;
|
|
1597
1601
|
/**
|
|
1598
1602
|
* @remarks
|
|
1599
|
-
*
|
|
1603
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1600
1604
|
*
|
|
1601
1605
|
* @example
|
|
1602
1606
|
* aes-256
|
|
@@ -1604,11 +1608,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1604
1608
|
systemDiskEncryptAlgorithm?: string;
|
|
1605
1609
|
/**
|
|
1606
1610
|
* @remarks
|
|
1607
|
-
*
|
|
1611
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1608
1612
|
*
|
|
1609
|
-
* - true:
|
|
1613
|
+
* - true: Encrypted.
|
|
1610
1614
|
*
|
|
1611
|
-
* - false:
|
|
1615
|
+
* - false: Not encrypted.
|
|
1612
1616
|
*
|
|
1613
1617
|
* @example
|
|
1614
1618
|
* false
|
|
@@ -1616,7 +1620,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1616
1620
|
systemDiskEncrypted?: boolean;
|
|
1617
1621
|
/**
|
|
1618
1622
|
* @remarks
|
|
1619
|
-
* KMS key ID used by the system disk.
|
|
1623
|
+
* The KMS key ID used by the system cloud disk.
|
|
1620
1624
|
*
|
|
1621
1625
|
* @example
|
|
1622
1626
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1624,11 +1628,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1624
1628
|
systemDiskKmsKeyId?: string;
|
|
1625
1629
|
/**
|
|
1626
1630
|
* @remarks
|
|
1627
|
-
*
|
|
1628
|
-
* - PL0: moderate
|
|
1629
|
-
* - PL1: moderate
|
|
1630
|
-
* - PL2: high
|
|
1631
|
-
* - PL3: ultra-high
|
|
1631
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1632
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1633
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1634
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1635
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1632
1636
|
*
|
|
1633
1637
|
* @example
|
|
1634
1638
|
* PL1
|
|
@@ -1636,11 +1640,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1636
1640
|
systemDiskPerformanceLevel?: string;
|
|
1637
1641
|
/**
|
|
1638
1642
|
* @remarks
|
|
1639
|
-
*
|
|
1643
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1640
1644
|
*
|
|
1641
|
-
* Valid values: 0 to min{50,000, 1000
|
|
1645
|
+
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1642
1646
|
*
|
|
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).
|
|
1647
|
+
* 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
1648
|
*
|
|
1645
1649
|
* @example
|
|
1646
1650
|
* 1000
|
|
@@ -1648,7 +1652,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1648
1652
|
systemDiskProvisionedIops?: number;
|
|
1649
1653
|
/**
|
|
1650
1654
|
* @remarks
|
|
1651
|
-
*
|
|
1655
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1652
1656
|
*
|
|
1653
1657
|
* Valid values: [20,2048\\].
|
|
1654
1658
|
*
|
|
@@ -1658,7 +1662,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1658
1662
|
systemDiskSize?: number;
|
|
1659
1663
|
/**
|
|
1660
1664
|
* @remarks
|
|
1661
|
-
*
|
|
1665
|
+
* The system cloud disk snapshot policy.
|
|
1662
1666
|
*
|
|
1663
1667
|
* @example
|
|
1664
1668
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1668,14 +1672,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1668
1672
|
* @remarks
|
|
1669
1673
|
* Tags added only to ECS instances.
|
|
1670
1674
|
*
|
|
1671
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with
|
|
1675
|
+
* 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://".
|
|
1672
1676
|
*/
|
|
1673
1677
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1674
1678
|
/**
|
|
1675
1679
|
* @remarks
|
|
1676
|
-
*
|
|
1680
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1677
1681
|
*
|
|
1678
|
-
* > To ensure high availability,
|
|
1682
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1679
1683
|
*
|
|
1680
1684
|
* This parameter is required.
|
|
1681
1685
|
*/
|
|
@@ -1841,11 +1845,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1841
1845
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1842
1846
|
/**
|
|
1843
1847
|
* @remarks
|
|
1844
|
-
*
|
|
1848
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1845
1849
|
*
|
|
1846
|
-
* - true:
|
|
1850
|
+
* - true: Enables confidential computing.
|
|
1847
1851
|
*
|
|
1848
|
-
* - false:
|
|
1852
|
+
* - false: Disables confidential computing.
|
|
1849
1853
|
*
|
|
1850
1854
|
* @example
|
|
1851
1855
|
* true
|
|
@@ -1875,19 +1879,19 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1875
1879
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1876
1880
|
/**
|
|
1877
1881
|
* @remarks
|
|
1878
|
-
*
|
|
1882
|
+
* The intelligent managed configuration for the node pool.
|
|
1879
1883
|
*/
|
|
1880
1884
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1881
1885
|
/**
|
|
1882
1886
|
* @remarks
|
|
1883
|
-
*
|
|
1887
|
+
* The automatic elastic scaling configuration.
|
|
1884
1888
|
*/
|
|
1885
1889
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1886
1890
|
/**
|
|
1887
1891
|
* @remarks
|
|
1888
|
-
* [
|
|
1892
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1889
1893
|
*
|
|
1890
|
-
*
|
|
1894
|
+
* The number of nodes in the node pool.
|
|
1891
1895
|
*
|
|
1892
1896
|
* @example
|
|
1893
1897
|
* null
|
|
@@ -1897,14 +1901,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1897
1901
|
count?: number;
|
|
1898
1902
|
/**
|
|
1899
1903
|
* @remarks
|
|
1900
|
-
* Lingjun node pool configuration.
|
|
1904
|
+
* The Lingjun node pool configuration.
|
|
1901
1905
|
*/
|
|
1902
1906
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1903
1907
|
/**
|
|
1904
1908
|
* @remarks
|
|
1905
|
-
*
|
|
1906
|
-
* - `true`:
|
|
1907
|
-
* - `false`:
|
|
1909
|
+
* Specifies whether the pod network mode uses host network mode.
|
|
1910
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1911
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1908
1912
|
*
|
|
1909
1913
|
* @example
|
|
1910
1914
|
* true
|
|
@@ -1912,19 +1916,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1912
1916
|
hostNetwork?: boolean;
|
|
1913
1917
|
/**
|
|
1914
1918
|
* @remarks
|
|
1915
|
-
* [
|
|
1919
|
+
* [This field is deprecated]
|
|
1916
1920
|
*
|
|
1917
|
-
*
|
|
1921
|
+
* The edge node pool configuration.
|
|
1918
1922
|
*
|
|
1919
1923
|
* @deprecated
|
|
1920
1924
|
*/
|
|
1921
1925
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1922
1926
|
/**
|
|
1923
1927
|
* @remarks
|
|
1924
|
-
*
|
|
1928
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1925
1929
|
*
|
|
1926
|
-
* - `basic`:
|
|
1927
|
-
* - `private`:
|
|
1930
|
+
* - `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.
|
|
1931
|
+
* - `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
1932
|
*
|
|
1929
1933
|
* @example
|
|
1930
1934
|
* basic
|
|
@@ -1932,9 +1936,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1932
1936
|
interconnectMode?: string;
|
|
1933
1937
|
/**
|
|
1934
1938
|
* @remarks
|
|
1935
|
-
*
|
|
1936
|
-
* - `true`:
|
|
1937
|
-
* - `false`:
|
|
1939
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1940
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1941
|
+
* - `false`: Not connected. All hosts in the node pool do not have Layer 3 network connectivity.
|
|
1938
1942
|
*
|
|
1939
1943
|
* @example
|
|
1940
1944
|
* true
|
|
@@ -1942,19 +1946,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1942
1946
|
intranet?: boolean;
|
|
1943
1947
|
/**
|
|
1944
1948
|
* @remarks
|
|
1945
|
-
*
|
|
1949
|
+
* The cluster-related configuration.
|
|
1946
1950
|
*/
|
|
1947
1951
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1948
1952
|
/**
|
|
1949
1953
|
* @remarks
|
|
1950
|
-
*
|
|
1954
|
+
* The managed feature configuration of the node pool.
|
|
1951
1955
|
*/
|
|
1952
1956
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1953
1957
|
/**
|
|
1954
1958
|
* @remarks
|
|
1955
|
-
* [
|
|
1959
|
+
* [This field is deprecated]
|
|
1956
1960
|
*
|
|
1957
|
-
*
|
|
1961
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1958
1962
|
*
|
|
1959
1963
|
* @example
|
|
1960
1964
|
* null
|
|
@@ -1964,27 +1968,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1964
1968
|
maxNodes?: number;
|
|
1965
1969
|
/**
|
|
1966
1970
|
* @remarks
|
|
1967
|
-
*
|
|
1971
|
+
* The list of node components.
|
|
1968
1972
|
*/
|
|
1969
1973
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1970
1974
|
/**
|
|
1971
1975
|
* @remarks
|
|
1972
|
-
*
|
|
1976
|
+
* The node configuration.
|
|
1973
1977
|
*/
|
|
1974
1978
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1975
1979
|
/**
|
|
1976
1980
|
* @remarks
|
|
1977
|
-
*
|
|
1981
|
+
* The node pool configuration.
|
|
1978
1982
|
*/
|
|
1979
1983
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1980
1984
|
/**
|
|
1981
1985
|
* @remarks
|
|
1982
|
-
*
|
|
1986
|
+
* The scaling group configuration of the node pool.
|
|
1983
1987
|
*/
|
|
1984
1988
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1985
1989
|
/**
|
|
1986
1990
|
* @remarks
|
|
1987
|
-
*
|
|
1991
|
+
* The confidential computing cluster configuration.
|
|
1988
1992
|
*/
|
|
1989
1993
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1990
1994
|
static names(): { [key: string]: string } {
|