@alicloud/cs20151215 6.7.1 → 7.0.0
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 +4 -4
- package/dist/client.js +4 -4
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -263
- package/dist/models/CreateClusterNodePoolRequest.js +1 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +235 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +92 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +4 -1
- package/dist/models/InstallNodePoolComponentsRequest.js +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +8 -5
- package/dist/models/Nodepool.js +1 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -3
- package/dist/models/UpdateNodePoolComponentRequest.js +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +268 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +236 -233
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +93 -89
- package/src/models/InstallNodePoolComponentsRequest.ts +5 -2
- package/src/models/Nodepool.ts +9 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +7 -4
|
@@ -12,10 +12,10 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Whether to enable intelligent managed mode.
|
|
16
16
|
* Valid values:
|
|
17
|
-
* - true:
|
|
18
|
-
* - false:
|
|
17
|
+
* - true: enable intelligent managed mode. Can only be enabled when the cluster has intelligent managed mode enabled.
|
|
18
|
+
* - false: disable intelligent managed mode.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -45,9 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
45
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* [
|
|
48
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
50
|
+
* Maximum EIP bandwidth. Unit: Mbps.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* null
|
|
@@ -57,11 +57,11 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
57
57
|
eipBandwidth?: number;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* [
|
|
60
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* EIP billing method. Valid values:
|
|
63
63
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
-
* - `PayByTraffic`: pay-by-
|
|
64
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
65
65
|
*
|
|
66
66
|
* Default value: `PayByBandwidth`.
|
|
67
67
|
*
|
|
@@ -73,11 +73,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
73
73
|
eipInternetChargeType?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
*
|
|
76
|
+
* Whether to enable auto scaling. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* - `true`: enables
|
|
78
|
+
* - `true`: enables auto scaling for the node pool. When cluster capacity cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later enable instant node scaling by default;
|
|
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).
|
|
79
80
|
*
|
|
80
|
-
* - `false`: disables
|
|
81
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count, always maintaining the node count at the desired number.
|
|
81
82
|
*
|
|
82
83
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
84
|
*
|
|
@@ -89,13 +90,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
89
90
|
enable?: boolean;
|
|
90
91
|
/**
|
|
91
92
|
* @remarks
|
|
92
|
-
* [
|
|
93
|
+
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
93
94
|
*
|
|
94
|
-
*
|
|
95
|
+
* Whether to bind an EIP. Valid values:
|
|
95
96
|
*
|
|
96
|
-
* - `true`:
|
|
97
|
+
* - `true`: bind an EIP.
|
|
97
98
|
*
|
|
98
|
-
* - `false`:
|
|
99
|
+
* - `false`: do not bind an EIP.
|
|
99
100
|
*
|
|
100
101
|
* Default value: `false`.
|
|
101
102
|
*
|
|
@@ -107,7 +108,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
107
108
|
isBondEip?: boolean;
|
|
108
109
|
/**
|
|
109
110
|
* @remarks
|
|
110
|
-
*
|
|
111
|
+
* Maximum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
111
112
|
*
|
|
112
113
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
113
114
|
*
|
|
@@ -117,12 +118,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
117
118
|
maxInstances?: number;
|
|
118
119
|
/**
|
|
119
120
|
* @remarks
|
|
120
|
-
*
|
|
121
|
+
* Minimum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
121
122
|
*
|
|
122
123
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
124
|
*
|
|
124
|
-
* > -
|
|
125
|
-
* > -
|
|
125
|
+
* > - When the minimum number of instances is not 0, the corresponding number of ECS instances will be automatically created after the scaling group takes effect.
|
|
126
|
+
* > - It is recommended that the maximum number of instances is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be directly scaled in after auto scaling takes effect.
|
|
126
127
|
*
|
|
127
128
|
* @example
|
|
128
129
|
* 1
|
|
@@ -130,18 +131,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
130
131
|
minInstances?: number;
|
|
131
132
|
/**
|
|
132
133
|
* @remarks
|
|
133
|
-
*
|
|
134
|
+
* Auto scaling instance type. Takes effect only when `enable=true`. Valid values:
|
|
134
135
|
*
|
|
135
|
-
* - `cpu`:
|
|
136
|
+
* - `cpu`: standard instance type.
|
|
136
137
|
*
|
|
137
138
|
* - `gpu`: GPU instance type.
|
|
138
139
|
*
|
|
139
|
-
* - `gpushare`: GPU
|
|
140
|
+
* - `gpushare`: GPU sharing type.
|
|
140
141
|
*
|
|
141
|
-
* - `spot`:
|
|
142
|
+
* - `spot`: preemptible instance type.
|
|
142
143
|
*
|
|
143
144
|
* Default value: `cpu`.
|
|
144
|
-
* >Notice: This
|
|
145
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
145
146
|
*
|
|
146
147
|
* @example
|
|
147
148
|
* cpu
|
|
@@ -183,7 +184,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
184
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
185
|
/**
|
|
185
186
|
* @remarks
|
|
186
|
-
*
|
|
187
|
+
* Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
187
188
|
*
|
|
188
189
|
* @example
|
|
189
190
|
* i1169130516633730****
|
|
@@ -191,7 +192,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
191
192
|
clusterId?: string;
|
|
192
193
|
/**
|
|
193
194
|
* @remarks
|
|
194
|
-
*
|
|
195
|
+
* Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
195
196
|
*
|
|
196
197
|
* @example
|
|
197
198
|
* ng-ec3c96ff0aa****
|
|
@@ -223,9 +224,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
223
224
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
224
225
|
/**
|
|
225
226
|
* @remarks
|
|
226
|
-
* [
|
|
227
|
+
* [Deprecated]
|
|
227
228
|
*
|
|
228
|
-
*
|
|
229
|
+
* Network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
229
230
|
*
|
|
230
231
|
* @example
|
|
231
232
|
* null
|
|
@@ -233,9 +234,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
233
234
|
bandwidth?: number;
|
|
234
235
|
/**
|
|
235
236
|
* @remarks
|
|
236
|
-
* [
|
|
237
|
+
* [Deprecated]
|
|
237
238
|
*
|
|
238
|
-
*
|
|
239
|
+
* CCN instance ID (CCN ID) bound to the enhanced edge node pool.
|
|
239
240
|
*
|
|
240
241
|
* @example
|
|
241
242
|
* null
|
|
@@ -243,9 +244,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
243
244
|
ccnId?: string;
|
|
244
245
|
/**
|
|
245
246
|
* @remarks
|
|
246
|
-
* [
|
|
247
|
+
* [Deprecated]
|
|
247
248
|
*
|
|
248
|
-
*
|
|
249
|
+
* Region of the CCN instance bound to the enhanced edge node pool.
|
|
249
250
|
*
|
|
250
251
|
* @example
|
|
251
252
|
* null
|
|
@@ -253,9 +254,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
253
254
|
ccnRegionId?: string;
|
|
254
255
|
/**
|
|
255
256
|
* @remarks
|
|
256
|
-
* [
|
|
257
|
+
* [Deprecated]
|
|
257
258
|
*
|
|
258
|
-
*
|
|
259
|
+
* CEN instance ID (CEN ID) bound to the enhanced edge node pool.
|
|
259
260
|
*
|
|
260
261
|
* @example
|
|
261
262
|
* null
|
|
@@ -263,9 +264,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
263
264
|
cenId?: string;
|
|
264
265
|
/**
|
|
265
266
|
* @remarks
|
|
266
|
-
* [
|
|
267
|
+
* [Deprecated]
|
|
267
268
|
*
|
|
268
|
-
*
|
|
269
|
+
* Subscription duration of the enhanced edge node pool. Unit: months.
|
|
269
270
|
*
|
|
270
271
|
* @example
|
|
271
272
|
* null
|
|
@@ -303,11 +304,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
303
304
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
304
305
|
/**
|
|
305
306
|
* @remarks
|
|
306
|
-
*
|
|
307
|
+
* Whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information for created ECS instances in the CloudMonitor console. We recommend enabling this. Valid values:
|
|
307
308
|
*
|
|
308
|
-
* - `true`:
|
|
309
|
+
* - `true`: install CloudMonitor on ECS nodes.
|
|
309
310
|
*
|
|
310
|
-
* - `false`:
|
|
311
|
+
* - `false`: do not install CloudMonitor on ECS nodes.
|
|
311
312
|
*
|
|
312
313
|
* Default value: `false`.
|
|
313
314
|
*
|
|
@@ -317,10 +318,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
317
318
|
cmsEnabled?: boolean;
|
|
318
319
|
/**
|
|
319
320
|
* @remarks
|
|
320
|
-
*
|
|
321
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
321
322
|
*
|
|
322
|
-
* - `static`: allows
|
|
323
|
-
* - `none`:
|
|
323
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
324
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
324
325
|
*
|
|
325
326
|
* Default value: `none`.
|
|
326
327
|
*
|
|
@@ -330,27 +331,27 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
330
331
|
cpuPolicy?: string;
|
|
331
332
|
/**
|
|
332
333
|
* @remarks
|
|
333
|
-
*
|
|
334
|
+
* Node labels. Add labels to Kubernetes cluster nodes.
|
|
334
335
|
*/
|
|
335
336
|
labels?: Tag[];
|
|
336
337
|
/**
|
|
337
338
|
* @remarks
|
|
338
|
-
*
|
|
339
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address
|
|
339
|
+
* Custom node name. After setting a custom node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
340
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with "-" replacing "." in the IP address, and does not include the prefix or suffix.
|
|
340
341
|
*
|
|
341
|
-
*
|
|
342
|
+
* A node name consists of three parts: prefix, node IP address, and suffix:
|
|
342
343
|
*
|
|
343
|
-
* -
|
|
344
|
+
* - Total length: 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
344
345
|
*
|
|
345
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with
|
|
346
|
-
* - The prefix is required (ECS restriction)
|
|
347
|
-
* - The node IP is the
|
|
346
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
347
|
+
* - The prefix is required (ECS restriction) and the suffix is optional.
|
|
348
|
+
* - The node IP is the complete private IP address of the node.
|
|
348
349
|
*
|
|
349
350
|
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
350
351
|
*
|
|
351
|
-
* - For
|
|
352
|
+
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
352
353
|
*
|
|
353
|
-
* - For
|
|
354
|
+
* - For Windows nodes, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
354
355
|
*
|
|
355
356
|
* @example
|
|
356
357
|
* aliyun.com192.XX.YY.55test
|
|
@@ -358,7 +359,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
358
359
|
nodeNameMode?: string;
|
|
359
360
|
/**
|
|
360
361
|
* @remarks
|
|
361
|
-
*
|
|
362
|
+
* Instance pre-custom data. Before a node joins the cluster, the specified instance pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
362
363
|
*
|
|
363
364
|
* @example
|
|
364
365
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -366,11 +367,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
366
367
|
preUserData?: string;
|
|
367
368
|
/**
|
|
368
369
|
* @remarks
|
|
369
|
-
*
|
|
370
|
+
* Container runtime name. ACK supports the following three container runtimes.
|
|
370
371
|
*
|
|
371
|
-
* - containerd: recommended
|
|
372
|
-
* - Sandboxed-Container.runv: sandboxed container
|
|
373
|
-
* - docker: no longer maintained
|
|
372
|
+
* - containerd: recommended, supported by all cluster versions.
|
|
373
|
+
* - Sandboxed-Container.runv: sandboxed container with higher isolation, supported by clusters of version 1.31 or earlier.
|
|
374
|
+
* - docker: no longer maintained, supported by clusters of version 1.22 or earlier.
|
|
374
375
|
*
|
|
375
376
|
* Default value: containerd.
|
|
376
377
|
*
|
|
@@ -380,7 +381,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
380
381
|
runtime?: string;
|
|
381
382
|
/**
|
|
382
383
|
* @remarks
|
|
383
|
-
*
|
|
384
|
+
* Container runtime version.
|
|
384
385
|
*
|
|
385
386
|
* @example
|
|
386
387
|
* 1.6.38
|
|
@@ -388,12 +389,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
388
389
|
runtimeVersion?: string;
|
|
389
390
|
/**
|
|
390
391
|
* @remarks
|
|
391
|
-
*
|
|
392
|
+
* Taint configuration.
|
|
392
393
|
*/
|
|
393
394
|
taints?: Taint[];
|
|
394
395
|
/**
|
|
395
396
|
* @remarks
|
|
396
|
-
*
|
|
397
|
+
* Whether scaled-out nodes are unschedulable.
|
|
397
398
|
*
|
|
398
399
|
* - true: unschedulable.
|
|
399
400
|
*
|
|
@@ -405,7 +406,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
405
406
|
unschedulable?: boolean;
|
|
406
407
|
/**
|
|
407
408
|
* @remarks
|
|
408
|
-
*
|
|
409
|
+
* Instance custom data. After a node joins the cluster, the specified instance custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
409
410
|
*
|
|
410
411
|
* @example
|
|
411
412
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -459,17 +460,17 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
459
460
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
460
461
|
/**
|
|
461
462
|
* @remarks
|
|
462
|
-
*
|
|
463
|
+
* Whether node repair requires manual approval.
|
|
463
464
|
*/
|
|
464
465
|
approvalRequired?: boolean;
|
|
465
466
|
/**
|
|
466
467
|
* @remarks
|
|
467
|
-
*
|
|
468
|
+
* Whether to allow node restart. Takes effect only when `auto_repair=true`. Valid values:
|
|
468
469
|
*
|
|
469
|
-
* - `true`:
|
|
470
|
-
* - `false`:
|
|
470
|
+
* - `true`: allow node restart
|
|
471
|
+
* - `false`: do not allow node restart
|
|
471
472
|
*
|
|
472
|
-
* Default value: `true
|
|
473
|
+
* Default value: `true`
|
|
473
474
|
*
|
|
474
475
|
* @example
|
|
475
476
|
* true
|
|
@@ -501,9 +502,9 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
501
502
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
502
503
|
/**
|
|
503
504
|
* @remarks
|
|
504
|
-
*
|
|
505
|
-
* - `true`:
|
|
506
|
-
* - `false`:
|
|
505
|
+
* Whether to allow automatic kubelet upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
506
|
+
* - `true`: allow automatic kubelet upgrade.
|
|
507
|
+
* - `false`: do not allow automatic kubelet upgrade.
|
|
507
508
|
*
|
|
508
509
|
* Default value: `true`.
|
|
509
510
|
*
|
|
@@ -513,9 +514,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
513
514
|
autoUpgradeKubelet?: boolean;
|
|
514
515
|
/**
|
|
515
516
|
* @remarks
|
|
516
|
-
*
|
|
517
|
-
* - `true`:
|
|
518
|
-
* - `false`:
|
|
517
|
+
* Whether to allow automatic OS upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
518
|
+
* - `true`: allow automatic OS upgrade.
|
|
519
|
+
* - `false`: do not allow automatic OS upgrade.
|
|
519
520
|
*
|
|
520
521
|
*
|
|
521
522
|
* Default value: `false`.
|
|
@@ -526,9 +527,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
526
527
|
autoUpgradeOs?: boolean;
|
|
527
528
|
/**
|
|
528
529
|
* @remarks
|
|
529
|
-
*
|
|
530
|
-
* - `true`:
|
|
531
|
-
* - `false`:
|
|
530
|
+
* Whether to allow automatic runtime upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
531
|
+
* - `true`: allow automatic runtime upgrade.
|
|
532
|
+
* - `false`: do not allow automatic runtime upgrade.
|
|
532
533
|
*
|
|
533
534
|
* Default value: `true`.
|
|
534
535
|
*
|
|
@@ -564,7 +565,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
564
565
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
565
566
|
/**
|
|
566
567
|
* @remarks
|
|
567
|
-
*
|
|
568
|
+
* Packages to exclude during vulnerability patching.
|
|
568
569
|
*
|
|
569
570
|
* Default value: `kernel`.
|
|
570
571
|
*
|
|
@@ -574,11 +575,11 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
574
575
|
excludePackages?: string;
|
|
575
576
|
/**
|
|
576
577
|
* @remarks
|
|
577
|
-
*
|
|
578
|
-
* - `true`:
|
|
579
|
-
* - `false`:
|
|
578
|
+
* Whether to allow node restart. Takes effect only when `auto_vul_fix=true`. Valid values:
|
|
579
|
+
* - `true`: allow node restart
|
|
580
|
+
* - `false`: do not allow node restart
|
|
580
581
|
*
|
|
581
|
-
* Default value: `true
|
|
582
|
+
* Default value: `true`
|
|
582
583
|
*
|
|
583
584
|
* @example
|
|
584
585
|
* false
|
|
@@ -586,7 +587,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
586
587
|
restartNode?: boolean;
|
|
587
588
|
/**
|
|
588
589
|
* @remarks
|
|
589
|
-
*
|
|
590
|
+
* Vulnerability levels allowed for automatic fixing, separated by commas, for example: `asap,later`. Supported vulnerability levels:
|
|
590
591
|
*
|
|
591
592
|
* - `asap`: high
|
|
592
593
|
* - `later`: medium
|
|
@@ -626,13 +627,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
626
627
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
627
628
|
/**
|
|
628
629
|
* @remarks
|
|
629
|
-
* [
|
|
630
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
630
631
|
*
|
|
631
|
-
*
|
|
632
|
+
* Whether to enable auto upgrade. Valid values:
|
|
632
633
|
*
|
|
633
|
-
* - `true`:
|
|
634
|
+
* - `true`: enable auto upgrade.
|
|
634
635
|
*
|
|
635
|
-
* - `false`:
|
|
636
|
+
* - `false`: disable auto upgrade.
|
|
636
637
|
*
|
|
637
638
|
* @example
|
|
638
639
|
* null
|
|
@@ -642,8 +643,8 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
642
643
|
autoUpgrade?: boolean;
|
|
643
644
|
/**
|
|
644
645
|
* @remarks
|
|
645
|
-
*
|
|
646
|
-
* Valid values: [1,1000\\]
|
|
646
|
+
* Maximum number of unavailable nodes.
|
|
647
|
+
* Valid values: [1,1000\\]
|
|
647
648
|
*
|
|
648
649
|
* Default value: 1.
|
|
649
650
|
*
|
|
@@ -653,11 +654,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
653
654
|
maxUnavailable?: number;
|
|
654
655
|
/**
|
|
655
656
|
* @remarks
|
|
656
|
-
*
|
|
657
|
+
* Number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
657
658
|
*
|
|
658
|
-
* Nodes become unavailable during
|
|
659
|
+
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
659
660
|
*
|
|
660
|
-
* >
|
|
661
|
+
* > It is recommended that the number of extra nodes does not exceed the current number of nodes.
|
|
661
662
|
*
|
|
662
663
|
* @example
|
|
663
664
|
* 0
|
|
@@ -665,9 +666,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
665
666
|
surge?: number;
|
|
666
667
|
/**
|
|
667
668
|
* @remarks
|
|
668
|
-
*
|
|
669
|
+
* Percentage of extra nodes. Mutually exclusive with `surge`.
|
|
669
670
|
*
|
|
670
|
-
* Number of extra nodes =
|
|
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.
|
|
671
672
|
*
|
|
672
673
|
* @example
|
|
673
674
|
* 0
|
|
@@ -704,13 +705,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
704
705
|
autoFaultDiagnosis?: boolean;
|
|
705
706
|
/**
|
|
706
707
|
* @remarks
|
|
707
|
-
*
|
|
708
|
+
* Whether to automatically repair nodes. Takes effect only when `enable=true`.
|
|
708
709
|
*
|
|
709
|
-
* - `true`:
|
|
710
|
+
* - `true`: auto repair
|
|
710
711
|
*
|
|
711
|
-
* - `false`:
|
|
712
|
+
* - `false`: no auto repair
|
|
712
713
|
*
|
|
713
|
-
* Default value: `true
|
|
714
|
+
* Default value: `true`
|
|
714
715
|
*
|
|
715
716
|
* @example
|
|
716
717
|
* true
|
|
@@ -718,14 +719,14 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
718
719
|
autoRepair?: boolean;
|
|
719
720
|
/**
|
|
720
721
|
* @remarks
|
|
721
|
-
*
|
|
722
|
+
* Auto repair node policy.
|
|
722
723
|
*/
|
|
723
724
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
724
725
|
/**
|
|
725
726
|
* @remarks
|
|
726
|
-
*
|
|
727
|
-
* - `true`:
|
|
728
|
-
* - `false`:
|
|
727
|
+
* Whether to automatically upgrade nodes. Takes effect only when `enable=true`.
|
|
728
|
+
* - `true`: enable auto upgrade.
|
|
729
|
+
* - `false`: disable auto upgrade.
|
|
729
730
|
*
|
|
730
731
|
* Default value: `true`.
|
|
731
732
|
*
|
|
@@ -735,15 +736,15 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
735
736
|
autoUpgrade?: boolean;
|
|
736
737
|
/**
|
|
737
738
|
* @remarks
|
|
738
|
-
*
|
|
739
|
+
* Auto node upgrade policy.
|
|
739
740
|
*/
|
|
740
741
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
741
742
|
/**
|
|
742
743
|
* @remarks
|
|
743
|
-
*
|
|
744
|
+
* Whether to automatically fix CVE vulnerabilities. Takes effect only when `enable=true`.
|
|
744
745
|
*
|
|
745
|
-
* - `true`:
|
|
746
|
-
* - `false`:
|
|
746
|
+
* - `true`: allow automatic CVE fixing.
|
|
747
|
+
* - `false`: do not allow automatic CVE fixing.
|
|
747
748
|
*
|
|
748
749
|
* Default value: `true`.
|
|
749
750
|
*
|
|
@@ -753,16 +754,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
753
754
|
autoVulFix?: boolean;
|
|
754
755
|
/**
|
|
755
756
|
* @remarks
|
|
756
|
-
*
|
|
757
|
+
* Auto CVE fix policy.
|
|
757
758
|
*/
|
|
758
759
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
759
760
|
/**
|
|
760
761
|
* @remarks
|
|
761
|
-
*
|
|
762
|
+
* Whether to enable the managed feature for the node pool. Valid values:
|
|
762
763
|
*
|
|
763
|
-
* - `true`:
|
|
764
|
+
* - `true`: enable the managed feature.
|
|
764
765
|
*
|
|
765
|
-
* - `false`:
|
|
766
|
+
* - `false`: disable the managed feature. Other related configurations take effect only when enable=true.
|
|
766
767
|
*
|
|
767
768
|
* Default value: false.
|
|
768
769
|
*
|
|
@@ -772,9 +773,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
772
773
|
enable?: boolean;
|
|
773
774
|
/**
|
|
774
775
|
* @remarks
|
|
775
|
-
* [
|
|
776
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
776
777
|
*
|
|
777
|
-
*
|
|
778
|
+
* Auto upgrade configuration. Takes effect only when `enable=true`.
|
|
778
779
|
*
|
|
779
780
|
* @deprecated
|
|
780
781
|
*/
|
|
@@ -831,9 +832,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
831
832
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
832
833
|
/**
|
|
833
834
|
* @remarks
|
|
834
|
-
*
|
|
835
|
+
* Node component custom configuration.
|
|
836
|
+
*
|
|
837
|
+
* @example
|
|
838
|
+
* {"cpuManagerPolicy":"static"}
|
|
835
839
|
*/
|
|
836
|
-
customConfig?: { [key: string]:
|
|
840
|
+
customConfig?: { [key: string]: any };
|
|
837
841
|
static names(): { [key: string]: string } {
|
|
838
842
|
return {
|
|
839
843
|
customConfig: 'custom_config',
|
|
@@ -842,7 +846,7 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
842
846
|
|
|
843
847
|
static types(): { [key: string]: any } {
|
|
844
848
|
return {
|
|
845
|
-
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': '
|
|
849
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
846
850
|
};
|
|
847
851
|
}
|
|
848
852
|
|
|
@@ -861,12 +865,12 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
|
|
|
861
865
|
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
862
866
|
/**
|
|
863
867
|
* @remarks
|
|
864
|
-
*
|
|
868
|
+
* Node component configuration.
|
|
865
869
|
*/
|
|
866
870
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
867
871
|
/**
|
|
868
872
|
* @remarks
|
|
869
|
-
*
|
|
873
|
+
* Node component name.
|
|
870
874
|
*
|
|
871
875
|
* @example
|
|
872
876
|
* kubelet
|
|
@@ -874,7 +878,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
|
874
878
|
name?: string;
|
|
875
879
|
/**
|
|
876
880
|
* @remarks
|
|
877
|
-
*
|
|
881
|
+
* Node component version.
|
|
878
882
|
*
|
|
879
883
|
* @example
|
|
880
884
|
* 1.33.3-aliyun.1
|
|
@@ -941,7 +945,7 @@ export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
|
941
945
|
export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
942
946
|
/**
|
|
943
947
|
* @remarks
|
|
944
|
-
*
|
|
948
|
+
* Node pool name.
|
|
945
949
|
*
|
|
946
950
|
* This parameter is required.
|
|
947
951
|
*
|
|
@@ -951,9 +955,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
951
955
|
name?: string;
|
|
952
956
|
/**
|
|
953
957
|
* @remarks
|
|
954
|
-
*
|
|
958
|
+
* Resource group ID of the node pool. Instances created by the node pool will belong to this resource group.
|
|
955
959
|
*
|
|
956
|
-
* A resource can belong to
|
|
960
|
+
* A resource can only belong to one resource group. Based on different business scenarios, you can map resource groups to concepts such as projects, applications, or organizations.
|
|
957
961
|
*
|
|
958
962
|
* @example
|
|
959
963
|
* rg-acfmyvw3wjmb****
|
|
@@ -961,9 +965,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
961
965
|
resourceGroupId?: string;
|
|
962
966
|
/**
|
|
963
967
|
* @remarks
|
|
964
|
-
*
|
|
968
|
+
* Node pool type. Valid values:
|
|
965
969
|
*
|
|
966
|
-
* - `ess`:
|
|
970
|
+
* - `ess`: standard node pool (includes managed and auto scaling features).
|
|
967
971
|
* - `edge`: edge node pool.
|
|
968
972
|
* - `lingjun`: Lingjun node pool.
|
|
969
973
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1000,7 +1004,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1000
1004
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1001
1005
|
/**
|
|
1002
1006
|
* @remarks
|
|
1003
|
-
*
|
|
1007
|
+
* Private pool ID. When `match_criteria` is set to `Target`, you must further specify the private pool ID.
|
|
1004
1008
|
*
|
|
1005
1009
|
* @example
|
|
1006
1010
|
* eap-bp67acfmxazb4****
|
|
@@ -1008,10 +1012,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1008
1012
|
id?: string;
|
|
1009
1013
|
/**
|
|
1010
1014
|
* @remarks
|
|
1011
|
-
*
|
|
1012
|
-
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no
|
|
1013
|
-
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified
|
|
1014
|
-
* - `None`:
|
|
1015
|
+
* Private pool type. Private pool capacity option for instance startup. After an Elasticity Assurance or Capacity Reservation takes effect, private pool capacity is generated for instance startup. Valid values:
|
|
1016
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, public pool resources are used.
|
|
1017
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified capacity is unavailable, instance creation fails.
|
|
1018
|
+
* - `None`: do not use mode. Instances will not use private pool capacity.
|
|
1015
1019
|
*
|
|
1016
1020
|
* @example
|
|
1017
1021
|
* Target
|
|
@@ -1043,15 +1047,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1043
1047
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1044
1048
|
/**
|
|
1045
1049
|
* @remarks
|
|
1046
|
-
*
|
|
1050
|
+
* List of private pool IDs, i.e., Elasticity Assurance IDs or Capacity Reservation IDs. Only Target mode private pool IDs can be passed. Valid values of N: 1 to 20.
|
|
1047
1051
|
*/
|
|
1048
1052
|
privatePoolIds?: string[];
|
|
1049
1053
|
/**
|
|
1050
1054
|
* @remarks
|
|
1051
|
-
*
|
|
1052
|
-
* 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
|
|
1053
|
-
* PrivatePoolOnly: private pool only. When this policy is selected,
|
|
1054
|
-
* None:
|
|
1055
|
+
* Resource pool policy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, and public pools, for instance startup selection. Valid values:
|
|
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.
|
|
1055
1059
|
* Default value: None.
|
|
1056
1060
|
*
|
|
1057
1061
|
* @example
|
|
@@ -1087,7 +1091,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1087
1091
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1088
1092
|
/**
|
|
1089
1093
|
* @remarks
|
|
1090
|
-
*
|
|
1094
|
+
* Preemptible instance type.
|
|
1091
1095
|
*
|
|
1092
1096
|
* @example
|
|
1093
1097
|
* ecs.c6.large
|
|
@@ -1095,12 +1099,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1095
1099
|
instanceType?: string;
|
|
1096
1100
|
/**
|
|
1097
1101
|
* @remarks
|
|
1098
|
-
*
|
|
1102
|
+
* Maximum price per instance.
|
|
1099
1103
|
* <props="china">Unit: CNY/hour.
|
|
1100
1104
|
*
|
|
1101
1105
|
*
|
|
1102
1106
|
*
|
|
1103
|
-
* <props="intl">Unit: USD/hour
|
|
1107
|
+
* <props="intl">Unit: USD/hour.
|
|
1104
1108
|
*
|
|
1105
1109
|
* @example
|
|
1106
1110
|
* 0.39
|
|
@@ -1132,7 +1136,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1132
1136
|
export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
1133
1137
|
/**
|
|
1134
1138
|
* @remarks
|
|
1135
|
-
*
|
|
1139
|
+
* Tag key.
|
|
1136
1140
|
*
|
|
1137
1141
|
* @example
|
|
1138
1142
|
* node-k-1
|
|
@@ -1140,7 +1144,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1140
1144
|
key?: string;
|
|
1141
1145
|
/**
|
|
1142
1146
|
* @remarks
|
|
1143
|
-
*
|
|
1147
|
+
* Tag value.
|
|
1144
1148
|
*
|
|
1145
1149
|
* @example
|
|
1146
1150
|
* node-v-1
|
|
@@ -1172,10 +1176,10 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1172
1176
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1173
1177
|
/**
|
|
1174
1178
|
* @remarks
|
|
1175
|
-
*
|
|
1179
|
+
* Whether to enable auto-renewal for nodes in the node pool. Takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1176
1180
|
*
|
|
1177
|
-
* - `true`:
|
|
1178
|
-
* - `false`:
|
|
1181
|
+
* - `true`: enable auto-renewal.
|
|
1182
|
+
* - `false`: disable auto-renewal.
|
|
1179
1183
|
*
|
|
1180
1184
|
* Default value: `false`.
|
|
1181
1185
|
*
|
|
@@ -1185,7 +1189,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1185
1189
|
autoRenew?: boolean;
|
|
1186
1190
|
/**
|
|
1187
1191
|
* @remarks
|
|
1188
|
-
*
|
|
1192
|
+
* Duration of each auto-renewal. Valid values:
|
|
1189
1193
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
1190
1194
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1191
1195
|
*
|
|
@@ -1197,7 +1201,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1197
1201
|
autoRenewPeriod?: number;
|
|
1198
1202
|
/**
|
|
1199
1203
|
* @remarks
|
|
1200
|
-
* [
|
|
1204
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1201
1205
|
*
|
|
1202
1206
|
* @example
|
|
1203
1207
|
* null
|
|
@@ -1207,10 +1211,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1207
1211
|
cisEnabled?: boolean;
|
|
1208
1212
|
/**
|
|
1209
1213
|
* @remarks
|
|
1210
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`,
|
|
1214
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when preemptible instances cannot be created due to price or inventory constraints. Valid values:
|
|
1211
1215
|
*
|
|
1212
|
-
* - `true`:
|
|
1213
|
-
* - `false`:
|
|
1216
|
+
* - `true`: allow automatic creation of pay-as-you-go instances.
|
|
1217
|
+
* - `false`: do not allow automatic creation of pay-as-you-go instances.
|
|
1214
1218
|
*
|
|
1215
1219
|
* @example
|
|
1216
1220
|
* true
|
|
@@ -1218,15 +1222,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1218
1222
|
compensateWithOnDemand?: boolean;
|
|
1219
1223
|
/**
|
|
1220
1224
|
* @remarks
|
|
1221
|
-
*
|
|
1225
|
+
* Data disk configuration for nodes in the node pool.
|
|
1222
1226
|
*/
|
|
1223
1227
|
dataDisks?: DataDisk[];
|
|
1224
1228
|
/**
|
|
1225
1229
|
* @remarks
|
|
1226
|
-
*
|
|
1230
|
+
* Deployment set ID. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and disaster recovery capabilities. When creating ECS instances in a deployment set, instances are distributed across the specified region based on the pre-configured deployment policy.
|
|
1227
1231
|
*
|
|
1228
1232
|
*
|
|
1229
|
-
* >Notice: After
|
|
1233
|
+
* >Notice: After a deployment set is selected, the maximum number of nodes in the node pool is limited. The default upper limit for nodes in a deployment set is 20 × number of zones (the number of zones is determined by vSwitches). Choose carefully and ensure sufficient quota in the deployment set to avoid node creation failures.
|
|
1230
1234
|
*
|
|
1231
1235
|
* @example
|
|
1232
1236
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1234,11 +1238,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1234
1238
|
deploymentsetId?: string;
|
|
1235
1239
|
/**
|
|
1236
1240
|
* @remarks
|
|
1237
|
-
*
|
|
1241
|
+
* Desired number of nodes in the node pool.
|
|
1238
1242
|
*
|
|
1239
|
-
*
|
|
1243
|
+
* The total number of nodes that the node pool should maintain. We recommend configuring at least 2 nodes to ensure proper running of cluster components. You can scale in or out the node pool by adjusting the desired node count.
|
|
1240
1244
|
*
|
|
1241
|
-
* If
|
|
1245
|
+
* If no nodes need to be created, set this to 0 and manually adjust the node count later.
|
|
1242
1246
|
*
|
|
1243
1247
|
* @example
|
|
1244
1248
|
* 0
|
|
@@ -1246,12 +1250,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1246
1250
|
desiredSize?: number;
|
|
1247
1251
|
/**
|
|
1248
1252
|
* @remarks
|
|
1249
|
-
*
|
|
1253
|
+
* Block device initialization configuration.
|
|
1250
1254
|
*/
|
|
1251
1255
|
diskInit?: DiskInit[];
|
|
1252
1256
|
/**
|
|
1253
1257
|
* @remarks
|
|
1254
|
-
*
|
|
1258
|
+
* Custom image ID. The system-provided image is used by default.
|
|
1255
1259
|
*
|
|
1256
1260
|
* @example
|
|
1257
1261
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -1259,13 +1263,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1259
1263
|
imageId?: string;
|
|
1260
1264
|
/**
|
|
1261
1265
|
* @remarks
|
|
1262
|
-
*
|
|
1266
|
+
* OS image type. Valid values:
|
|
1263
1267
|
*
|
|
1264
1268
|
* - `AliyunLinux`: Alinux2 image.
|
|
1265
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI
|
|
1269
|
+
* - `AliyunLinuxSecurity`: Alinux2 image UEFI version.
|
|
1266
1270
|
* - `AliyunLinux3`: Alinux3 image.
|
|
1267
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM
|
|
1268
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI
|
|
1271
|
+
* - `AliyunLinux3Arm64`: Alinux3 image ARM version.
|
|
1272
|
+
* - `AliyunLinux3Security`: Alinux3 image UEFI version.
|
|
1269
1273
|
* - `CentOS`: CentOS image.
|
|
1270
1274
|
* - `Windows`: Windows image.
|
|
1271
1275
|
* - `WindowsCore`: WindowsCore image.
|
|
@@ -1278,11 +1282,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1278
1282
|
imageType?: string;
|
|
1279
1283
|
/**
|
|
1280
1284
|
* @remarks
|
|
1281
|
-
*
|
|
1285
|
+
* Billing method for nodes in the node pool. Valid values:
|
|
1282
1286
|
*
|
|
1283
|
-
* - `PrePaid`: subscription.
|
|
1287
|
+
* - `PrePaid`: subscription instance.
|
|
1284
1288
|
*
|
|
1285
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1289
|
+
* - `PostPaid`: pay-as-you-go instance.
|
|
1286
1290
|
*
|
|
1287
1291
|
* Default value: `PostPaid`.
|
|
1288
1292
|
*
|
|
@@ -1294,32 +1298,32 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1294
1298
|
instanceChargeType?: string;
|
|
1295
1299
|
/**
|
|
1296
1300
|
* @remarks
|
|
1297
|
-
*
|
|
1301
|
+
* ECS instance metadata access configuration.
|
|
1298
1302
|
*/
|
|
1299
1303
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1300
1304
|
/**
|
|
1301
1305
|
* @remarks
|
|
1302
|
-
*
|
|
1306
|
+
* Instance attribute configuration.
|
|
1303
1307
|
*/
|
|
1304
1308
|
instancePatterns?: InstancePatterns[];
|
|
1305
1309
|
/**
|
|
1306
1310
|
* @remarks
|
|
1307
|
-
*
|
|
1311
|
+
* List of node instance types for the node pool. When the node pool scales out, instance types that meet the requirements are selected from the specified list to create instances.
|
|
1308
1312
|
*
|
|
1309
|
-
*
|
|
1313
|
+
* Supported number of instance types: [1,10]
|
|
1310
1314
|
*
|
|
1311
1315
|
*
|
|
1312
|
-
* > To ensure high availability, select multiple instance types.
|
|
1316
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1313
1317
|
*
|
|
1314
1318
|
* This parameter is required.
|
|
1315
1319
|
*/
|
|
1316
1320
|
instanceTypes?: string[];
|
|
1317
1321
|
/**
|
|
1318
1322
|
* @remarks
|
|
1319
|
-
*
|
|
1323
|
+
* Public IP billing method. Valid values:
|
|
1320
1324
|
*
|
|
1321
1325
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1322
|
-
* - PayByTraffic: pay-by-
|
|
1326
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1323
1327
|
*
|
|
1324
1328
|
* @example
|
|
1325
1329
|
* PayByTraffic
|
|
@@ -1327,7 +1331,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1327
1331
|
internetChargeType?: string;
|
|
1328
1332
|
/**
|
|
1329
1333
|
* @remarks
|
|
1330
|
-
*
|
|
1334
|
+
* Maximum outbound public bandwidth for nodes. Unit: Mbps (Megabits per second). Valid values: [1,100\\].
|
|
1331
1335
|
*
|
|
1332
1336
|
* @example
|
|
1333
1337
|
* 5
|
|
@@ -1335,7 +1339,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1335
1339
|
internetMaxBandwidthOut?: number;
|
|
1336
1340
|
/**
|
|
1337
1341
|
* @remarks
|
|
1338
|
-
*
|
|
1342
|
+
* Key pair name for passwordless login. Mutually exclusive with `login_password`.
|
|
1339
1343
|
*
|
|
1340
1344
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1341
1345
|
*
|
|
@@ -1345,11 +1349,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1345
1349
|
keyPair?: string;
|
|
1346
1350
|
/**
|
|
1347
1351
|
* @remarks
|
|
1348
|
-
*
|
|
1352
|
+
* Whether the created ECS instances use a non-root user for login.
|
|
1349
1353
|
*
|
|
1350
|
-
* - true:
|
|
1354
|
+
* - true: log on as a non-root user (ecs-user).
|
|
1351
1355
|
*
|
|
1352
|
-
* - false:
|
|
1356
|
+
* - false: log on as the root user.
|
|
1353
1357
|
*
|
|
1354
1358
|
* @example
|
|
1355
1359
|
* true
|
|
@@ -1357,7 +1361,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1357
1361
|
loginAsNonRoot?: boolean;
|
|
1358
1362
|
/**
|
|
1359
1363
|
* @remarks
|
|
1360
|
-
*
|
|
1364
|
+
* SSH login password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1361
1365
|
*
|
|
1362
1366
|
* @example
|
|
1363
1367
|
* ****
|
|
@@ -1365,15 +1369,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1365
1369
|
loginPassword?: string;
|
|
1366
1370
|
/**
|
|
1367
1371
|
* @remarks
|
|
1368
|
-
*
|
|
1372
|
+
* Multi-zone scaling group ECS instance scaling policy. Valid values:
|
|
1369
1373
|
*
|
|
1370
|
-
* - `PRIORITY`: scales
|
|
1374
|
+
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used.
|
|
1371
1375
|
*
|
|
1372
|
-
* - `COST_OPTIMIZED`: attempts to create instances
|
|
1376
|
+
* - `COST_OPTIMIZED`: attempts to create instances from lowest to highest vCPU unit price. When multiple instance types with preemptible billing are configured, preemptible instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt creating pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
1373
1377
|
*
|
|
1374
|
-
*
|
|
1378
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or preemptible instances are configured.
|
|
1375
1379
|
*
|
|
1376
|
-
* - `BALANCE`: evenly
|
|
1380
|
+
* - `BALANCE`: evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) to rebalance resources.
|
|
1377
1381
|
*
|
|
1378
1382
|
* Default value: `PRIORITY`.
|
|
1379
1383
|
*
|
|
@@ -1383,7 +1387,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1383
1387
|
multiAzPolicy?: string;
|
|
1384
1388
|
/**
|
|
1385
1389
|
* @remarks
|
|
1386
|
-
*
|
|
1390
|
+
* Minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1387
1391
|
*
|
|
1388
1392
|
* @example
|
|
1389
1393
|
* 0
|
|
@@ -1391,7 +1395,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1391
1395
|
onDemandBaseCapacity?: number;
|
|
1392
1396
|
/**
|
|
1393
1397
|
* @remarks
|
|
1394
|
-
*
|
|
1398
|
+
* Percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum pay-as-you-go instance requirement (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1395
1399
|
*
|
|
1396
1400
|
* @example
|
|
1397
1401
|
* 20
|
|
@@ -1399,7 +1403,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1399
1403
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1400
1404
|
/**
|
|
1401
1405
|
* @remarks
|
|
1402
|
-
*
|
|
1406
|
+
* Subscription duration for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1403
1407
|
*
|
|
1404
1408
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1405
1409
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1410,7 +1414,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1410
1414
|
period?: number;
|
|
1411
1415
|
/**
|
|
1412
1416
|
* @remarks
|
|
1413
|
-
*
|
|
1417
|
+
* Billing period unit for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1414
1418
|
*
|
|
1415
1419
|
* - `Month`: billed on a monthly basis.
|
|
1416
1420
|
* - `Week`: billed on a weekly basis.
|
|
@@ -1423,9 +1427,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1423
1427
|
periodUnit?: string;
|
|
1424
1428
|
/**
|
|
1425
1429
|
* @remarks
|
|
1426
|
-
* [
|
|
1430
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
1427
1431
|
*
|
|
1428
|
-
*
|
|
1432
|
+
* OS distribution. Valid values:
|
|
1429
1433
|
* - `CentOS`
|
|
1430
1434
|
* - `AliyunLinux`
|
|
1431
1435
|
* - `Windows`
|
|
@@ -1441,17 +1445,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1441
1445
|
platform?: string;
|
|
1442
1446
|
/**
|
|
1443
1447
|
* @remarks
|
|
1444
|
-
*
|
|
1448
|
+
* Private pool configuration.
|
|
1445
1449
|
*/
|
|
1446
1450
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1447
1451
|
/**
|
|
1448
1452
|
* @remarks
|
|
1449
|
-
*
|
|
1453
|
+
* Worker RAM role name.
|
|
1450
1454
|
*
|
|
1451
|
-
* *
|
|
1452
|
-
* *
|
|
1455
|
+
* * When left empty, the default Worker RAM role created by the cluster is used.
|
|
1456
|
+
* * When specified, the RAM role must be a **normal service role**, and its **trusted service** must be set to **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-`.
|
|
1453
1457
|
*
|
|
1454
|
-
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later
|
|
1458
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later.
|
|
1455
1459
|
*
|
|
1456
1460
|
* @example
|
|
1457
1461
|
* example-role
|
|
@@ -1459,22 +1463,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1459
1463
|
ramRoleName?: string;
|
|
1460
1464
|
/**
|
|
1461
1465
|
* @remarks
|
|
1462
|
-
*
|
|
1466
|
+
* RDS instance list.
|
|
1463
1467
|
*/
|
|
1464
1468
|
rdsInstances?: string[];
|
|
1465
1469
|
/**
|
|
1466
1470
|
* @remarks
|
|
1467
|
-
*
|
|
1471
|
+
* Resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1468
1472
|
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1469
1473
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1470
1474
|
*/
|
|
1471
1475
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1472
1476
|
/**
|
|
1473
1477
|
* @remarks
|
|
1474
|
-
*
|
|
1478
|
+
* Scaling group mode. Valid values:
|
|
1475
1479
|
*
|
|
1476
1480
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1477
|
-
* - `recycle`:
|
|
1481
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting ECS instances, improving the speed of subsequent scaling (compute resources are not charged when stopped, only storage fees are charged, except for local disk instance types).
|
|
1478
1482
|
*
|
|
1479
1483
|
* Default value: `release`.
|
|
1480
1484
|
*
|
|
@@ -1484,7 +1488,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1484
1488
|
scalingPolicy?: string;
|
|
1485
1489
|
/**
|
|
1486
1490
|
* @remarks
|
|
1487
|
-
*
|
|
1491
|
+
* Security group ID for the node pool. Mutually exclusive with `security_group_ids`. We recommend using `security_group_ids`.
|
|
1488
1492
|
*
|
|
1489
1493
|
* @example
|
|
1490
1494
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1494,15 +1498,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1494
1498
|
securityGroupId?: string;
|
|
1495
1499
|
/**
|
|
1496
1500
|
* @remarks
|
|
1497
|
-
*
|
|
1501
|
+
* List of security group IDs. Mutually exclusive with `security_group_id`. We recommend using `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes priority.
|
|
1498
1502
|
*/
|
|
1499
1503
|
securityGroupIds?: string[];
|
|
1500
1504
|
/**
|
|
1501
1505
|
* @remarks
|
|
1502
|
-
*
|
|
1506
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1503
1507
|
*
|
|
1504
|
-
* - `true`:
|
|
1505
|
-
* - `false`:
|
|
1508
|
+
* - `true`: enable Alibaba Cloud OS security hardening.
|
|
1509
|
+
* - `false`: disable Alibaba Cloud OS security hardening.
|
|
1506
1510
|
*
|
|
1507
1511
|
* Default value: `false`.
|
|
1508
1512
|
*
|
|
@@ -1512,7 +1516,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1512
1516
|
securityHardeningOs?: boolean;
|
|
1513
1517
|
/**
|
|
1514
1518
|
* @remarks
|
|
1515
|
-
*
|
|
1519
|
+
* Whether to enable China classified protection of cybersecurity (China MLPS) hardening. China MLPS hardening can be enabled for nodes only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides China MLPS 2.0 Level III baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
1516
1520
|
*
|
|
1517
1521
|
* @example
|
|
1518
1522
|
* false
|
|
@@ -1520,7 +1524,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1520
1524
|
socEnabled?: boolean;
|
|
1521
1525
|
/**
|
|
1522
1526
|
* @remarks
|
|
1523
|
-
*
|
|
1527
|
+
* Number of available instance types. The scaling group creates preemptible instances in a balanced manner among the lowest-cost instance types. Valid values: [1,10\\].
|
|
1524
1528
|
*
|
|
1525
1529
|
* @example
|
|
1526
1530
|
* 5
|
|
@@ -1528,10 +1532,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1528
1532
|
spotInstancePools?: number;
|
|
1529
1533
|
/**
|
|
1530
1534
|
* @remarks
|
|
1531
|
-
*
|
|
1535
|
+
* Whether to enable supplementing preemptible instances. When enabled, the scaling group attempts to create new instances to replace preemptible instances that are about to be reclaimed. Valid values:
|
|
1532
1536
|
*
|
|
1533
|
-
* - `true`:
|
|
1534
|
-
* - `false`:
|
|
1537
|
+
* - `true`: enable supplementing preemptible instances.
|
|
1538
|
+
* - `false`: disable supplementing preemptible instances.
|
|
1535
1539
|
*
|
|
1536
1540
|
* @example
|
|
1537
1541
|
* false
|
|
@@ -1539,20 +1543,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1539
1543
|
spotInstanceRemedy?: boolean;
|
|
1540
1544
|
/**
|
|
1541
1545
|
* @remarks
|
|
1542
|
-
*
|
|
1546
|
+
* Market price range configuration for a single preemptible instance type.
|
|
1543
1547
|
*/
|
|
1544
1548
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1545
1549
|
/**
|
|
1546
1550
|
* @remarks
|
|
1547
|
-
*
|
|
1551
|
+
* Preemptible instance type. Valid values:
|
|
1548
1552
|
*
|
|
1549
|
-
* - `NoSpot`: non-
|
|
1553
|
+
* - `NoSpot`: non-preemptible instance.
|
|
1550
1554
|
*
|
|
1551
|
-
* - `SpotWithPriceLimit`:
|
|
1555
|
+
* - `SpotWithPriceLimit`: set a maximum price for preemptible instances.
|
|
1552
1556
|
*
|
|
1553
1557
|
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1554
1558
|
*
|
|
1555
|
-
* For more information, see [
|
|
1559
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1556
1560
|
*
|
|
1557
1561
|
* @example
|
|
1558
1562
|
* NoSpot
|
|
@@ -1560,11 +1564,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1560
1564
|
spotStrategy?: string;
|
|
1561
1565
|
/**
|
|
1562
1566
|
* @remarks
|
|
1563
|
-
*
|
|
1564
|
-
* - true:
|
|
1565
|
-
* - false:
|
|
1567
|
+
* Whether to enable burst (performance bursting) for the node system disk. Valid values:
|
|
1568
|
+
* - true: enable.
|
|
1569
|
+
* - false: disable.
|
|
1566
1570
|
*
|
|
1567
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
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).
|
|
1568
1572
|
*
|
|
1569
1573
|
* @example
|
|
1570
1574
|
* true
|
|
@@ -1572,17 +1576,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1572
1576
|
systemDiskBurstingEnabled?: boolean;
|
|
1573
1577
|
/**
|
|
1574
1578
|
* @remarks
|
|
1575
|
-
*
|
|
1579
|
+
* Multiple disk types for the system disk. When a higher-priority disk type is unavailable, the next-priority disk type is automatically used to create the system disk.
|
|
1576
1580
|
*/
|
|
1577
1581
|
systemDiskCategories?: string[];
|
|
1578
1582
|
/**
|
|
1579
1583
|
* @remarks
|
|
1580
|
-
*
|
|
1581
|
-
* - `cloud_efficiency`: ultra
|
|
1584
|
+
* Node system disk type. Valid values:
|
|
1585
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1582
1586
|
* - `cloud_ssd`: standard SSD.
|
|
1583
|
-
* - `cloud_essd`:
|
|
1584
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1585
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1587
|
+
* - `cloud_essd`: ESSD.
|
|
1588
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1589
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1586
1590
|
*
|
|
1587
1591
|
* Default value: `cloud_efficiency`.
|
|
1588
1592
|
*
|
|
@@ -1592,7 +1596,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1592
1596
|
systemDiskCategory?: string;
|
|
1593
1597
|
/**
|
|
1594
1598
|
* @remarks
|
|
1595
|
-
*
|
|
1599
|
+
* Encryption algorithm used by the system disk. Valid values: aes-256.
|
|
1596
1600
|
*
|
|
1597
1601
|
* @example
|
|
1598
1602
|
* aes-256
|
|
@@ -1600,11 +1604,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1600
1604
|
systemDiskEncryptAlgorithm?: string;
|
|
1601
1605
|
/**
|
|
1602
1606
|
* @remarks
|
|
1603
|
-
*
|
|
1607
|
+
* Whether to encrypt the system disk. Valid values:
|
|
1604
1608
|
*
|
|
1605
|
-
* - true:
|
|
1609
|
+
* - true: encrypt.
|
|
1606
1610
|
*
|
|
1607
|
-
* - false:
|
|
1611
|
+
* - false: do not encrypt.
|
|
1608
1612
|
*
|
|
1609
1613
|
* @example
|
|
1610
1614
|
* false
|
|
@@ -1612,7 +1616,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1612
1616
|
systemDiskEncrypted?: boolean;
|
|
1613
1617
|
/**
|
|
1614
1618
|
* @remarks
|
|
1615
|
-
*
|
|
1619
|
+
* KMS key ID used by the system disk.
|
|
1616
1620
|
*
|
|
1617
1621
|
* @example
|
|
1618
1622
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1620,11 +1624,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1620
1624
|
systemDiskKmsKeyId?: string;
|
|
1621
1625
|
/**
|
|
1622
1626
|
* @remarks
|
|
1623
|
-
*
|
|
1624
|
-
* - PL0: moderate
|
|
1625
|
-
* - PL1: moderate
|
|
1626
|
-
* - PL2: high
|
|
1627
|
-
* - PL3: ultra-high
|
|
1627
|
+
* Node system disk performance level. Only applicable to ESSD disks. The performance level is related to disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1628
|
+
* - PL0: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1629
|
+
* - PL1: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1630
|
+
* - PL2: high peak concurrent I/O performance with stable read/write latency.
|
|
1631
|
+
* - PL3: ultra-high peak concurrent I/O performance with extremely stable read/write latency.
|
|
1628
1632
|
*
|
|
1629
1633
|
* @example
|
|
1630
1634
|
* PL1
|
|
@@ -1632,11 +1636,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1632
1636
|
systemDiskPerformanceLevel?: string;
|
|
1633
1637
|
/**
|
|
1634
1638
|
* @remarks
|
|
1635
|
-
*
|
|
1639
|
+
* Pre-configured read/write IOPS for the node system disk.
|
|
1636
1640
|
*
|
|
1637
|
-
* Valid values: 0 to min{50,000, 1000
|
|
1641
|
+
* Valid values: 0 to min{50,000, 1000\\*capacity - baseline performance}. Baseline performance = min{1,800+50\\*capacity, 50000}.
|
|
1638
1642
|
*
|
|
1639
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
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).
|
|
1640
1644
|
*
|
|
1641
1645
|
* @example
|
|
1642
1646
|
* 1000
|
|
@@ -1644,7 +1648,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1644
1648
|
systemDiskProvisionedIops?: number;
|
|
1645
1649
|
/**
|
|
1646
1650
|
* @remarks
|
|
1647
|
-
*
|
|
1651
|
+
* Node system disk size. Unit: GiB.
|
|
1648
1652
|
*
|
|
1649
1653
|
* Valid values: [20,2048\\].
|
|
1650
1654
|
*
|
|
@@ -1654,7 +1658,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1654
1658
|
systemDiskSize?: number;
|
|
1655
1659
|
/**
|
|
1656
1660
|
* @remarks
|
|
1657
|
-
*
|
|
1661
|
+
* System disk snapshot policy.
|
|
1658
1662
|
*
|
|
1659
1663
|
* @example
|
|
1660
1664
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1662,16 +1666,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1662
1666
|
systemDiskSnapshotPolicyId?: string;
|
|
1663
1667
|
/**
|
|
1664
1668
|
* @remarks
|
|
1665
|
-
* Tags
|
|
1669
|
+
* Tags added only to ECS instances.
|
|
1666
1670
|
*
|
|
1667
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with
|
|
1671
|
+
* 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://”.
|
|
1668
1672
|
*/
|
|
1669
1673
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1670
1674
|
/**
|
|
1671
1675
|
* @remarks
|
|
1672
|
-
*
|
|
1676
|
+
* List of vSwitch IDs. Valid values: [1,8\\].
|
|
1673
1677
|
*
|
|
1674
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1678
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1675
1679
|
*
|
|
1676
1680
|
* This parameter is required.
|
|
1677
1681
|
*/
|
|
@@ -1837,11 +1841,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1837
1841
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1838
1842
|
/**
|
|
1839
1843
|
* @remarks
|
|
1840
|
-
*
|
|
1844
|
+
* Whether to enable confidential computing for the cluster.
|
|
1841
1845
|
*
|
|
1842
|
-
* - true:
|
|
1846
|
+
* - true: enable confidential computing.
|
|
1843
1847
|
*
|
|
1844
|
-
* - false:
|
|
1848
|
+
* - false: disable confidential computing.
|
|
1845
1849
|
*
|
|
1846
1850
|
* @example
|
|
1847
1851
|
* true
|
|
@@ -1871,19 +1875,19 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1871
1875
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1872
1876
|
/**
|
|
1873
1877
|
* @remarks
|
|
1874
|
-
*
|
|
1878
|
+
* Node pool intelligent managed configuration.
|
|
1875
1879
|
*/
|
|
1876
1880
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1877
1881
|
/**
|
|
1878
1882
|
* @remarks
|
|
1879
|
-
*
|
|
1883
|
+
* Auto scaling configuration.
|
|
1880
1884
|
*/
|
|
1881
1885
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1882
1886
|
/**
|
|
1883
1887
|
* @remarks
|
|
1884
|
-
* [
|
|
1888
|
+
* [Deprecated] Use desired_size instead.
|
|
1885
1889
|
*
|
|
1886
|
-
*
|
|
1890
|
+
* Number of nodes in the node pool.
|
|
1887
1891
|
*
|
|
1888
1892
|
* @example
|
|
1889
1893
|
* null
|
|
@@ -1893,14 +1897,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1893
1897
|
count?: number;
|
|
1894
1898
|
/**
|
|
1895
1899
|
* @remarks
|
|
1896
|
-
*
|
|
1900
|
+
* Lingjun node pool configuration.
|
|
1897
1901
|
*/
|
|
1898
1902
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1899
1903
|
/**
|
|
1900
1904
|
* @remarks
|
|
1901
|
-
*
|
|
1902
|
-
* - `true`: host network. Pods directly use the host network stack
|
|
1903
|
-
* - `false`: container network. Pods have independent network
|
|
1905
|
+
* Whether the Pod network mode uses host network mode.
|
|
1906
|
+
* - `true`: host network. Pods directly use the host network stack, sharing the IP address and ports with the host.
|
|
1907
|
+
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1904
1908
|
*
|
|
1905
1909
|
* @example
|
|
1906
1910
|
* true
|
|
@@ -1908,19 +1912,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1908
1912
|
hostNetwork?: boolean;
|
|
1909
1913
|
/**
|
|
1910
1914
|
* @remarks
|
|
1911
|
-
* [
|
|
1915
|
+
* [Deprecated]
|
|
1912
1916
|
*
|
|
1913
|
-
*
|
|
1917
|
+
* Edge node pool configuration.
|
|
1914
1918
|
*
|
|
1915
1919
|
* @deprecated
|
|
1916
1920
|
*/
|
|
1917
1921
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1918
1922
|
/**
|
|
1919
1923
|
* @remarks
|
|
1920
|
-
*
|
|
1924
|
+
* Network type of the edge node pool. This parameter takes effect only for node pools of `edge` type. Valid values:
|
|
1921
1925
|
*
|
|
1922
|
-
* - `basic`: public network. Nodes in
|
|
1923
|
-
* - `private`: private network. Nodes in
|
|
1926
|
+
* - `basic`: public network. Nodes in the node pool communicate with cloud nodes over the public network. Applications in the node pool cannot directly access the cloud VPC internal network.
|
|
1927
|
+
* - `private`: private network. Nodes in the node pool connect cloud and on-premises networks through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1924
1928
|
*
|
|
1925
1929
|
* @example
|
|
1926
1930
|
* basic
|
|
@@ -1928,9 +1932,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1928
1932
|
interconnectMode?: string;
|
|
1929
1933
|
/**
|
|
1930
1934
|
* @remarks
|
|
1931
|
-
*
|
|
1932
|
-
* - `true`:
|
|
1933
|
-
* - `false`:
|
|
1935
|
+
* Whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1936
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
1937
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
1934
1938
|
*
|
|
1935
1939
|
* @example
|
|
1936
1940
|
* true
|
|
@@ -1938,19 +1942,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1938
1942
|
intranet?: boolean;
|
|
1939
1943
|
/**
|
|
1940
1944
|
* @remarks
|
|
1941
|
-
*
|
|
1945
|
+
* Cluster-related configuration.
|
|
1942
1946
|
*/
|
|
1943
1947
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1944
1948
|
/**
|
|
1945
1949
|
* @remarks
|
|
1946
|
-
*
|
|
1950
|
+
* Node pool managed feature configuration.
|
|
1947
1951
|
*/
|
|
1948
1952
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1949
1953
|
/**
|
|
1950
1954
|
* @remarks
|
|
1951
|
-
* [
|
|
1955
|
+
* [Deprecated]
|
|
1952
1956
|
*
|
|
1953
|
-
*
|
|
1957
|
+
* Maximum number of nodes allowed in the edge node pool.
|
|
1954
1958
|
*
|
|
1955
1959
|
* @example
|
|
1956
1960
|
* null
|
|
@@ -1960,27 +1964,27 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1960
1964
|
maxNodes?: number;
|
|
1961
1965
|
/**
|
|
1962
1966
|
* @remarks
|
|
1963
|
-
*
|
|
1967
|
+
* Node component list.
|
|
1964
1968
|
*/
|
|
1965
1969
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1966
1970
|
/**
|
|
1967
1971
|
* @remarks
|
|
1968
|
-
*
|
|
1972
|
+
* Node configuration.
|
|
1969
1973
|
*/
|
|
1970
1974
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1971
1975
|
/**
|
|
1972
1976
|
* @remarks
|
|
1973
|
-
*
|
|
1977
|
+
* Node pool configuration.
|
|
1974
1978
|
*/
|
|
1975
1979
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1976
1980
|
/**
|
|
1977
1981
|
* @remarks
|
|
1978
|
-
*
|
|
1982
|
+
* Node pool scaling group configuration.
|
|
1979
1983
|
*/
|
|
1980
1984
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1981
1985
|
/**
|
|
1982
1986
|
* @remarks
|
|
1983
|
-
*
|
|
1987
|
+
* Confidential computing cluster configuration.
|
|
1984
1988
|
*/
|
|
1985
1989
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1986
1990
|
static names(): { [key: string]: string } {
|