@alicloud/cs20151215 7.2.4 → 7.2.6
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 +88 -88
- package/dist/client.js +107 -88
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +310 -392
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +85 -77
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +23 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +27 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +70 -54
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +111 -99
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +112 -88
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +214 -163
- package/src/models/CreateClusterRequest.ts +312 -392
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +87 -77
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +25 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +29 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +90 -70
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +113 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +21 -11
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +21 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
|
@@ -13,9 +13,9 @@ import { Taint } from "./Taint";
|
|
|
13
13
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to enable
|
|
17
|
-
* - true: enables
|
|
18
|
-
* - false: disables
|
|
16
|
+
* Specifies whether to enable intelligent management mode. Valid values:
|
|
17
|
+
* - true: enables intelligent management mode. This mode can be enabled only when the cluster has intelligent management mode enabled.
|
|
18
|
+
* - false: disables intelligent management mode.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -75,11 +75,11 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* Specifies whether to enable auto scaling. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling
|
|
78
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling of application pods, ACK automatically scales the node resources based on the configured minimum and maximum number of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
79
79
|
*
|
|
80
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes
|
|
80
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes, and always maintains the number of nodes at the expected number.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
83
|
*
|
|
84
84
|
* Default value: `false`.
|
|
85
85
|
*
|
|
@@ -89,7 +89,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
89
89
|
enable?: boolean;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
92
|
+
* **[Deprecated]** This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
93
93
|
*
|
|
94
94
|
* Specifies whether to associate an EIP. Valid values:
|
|
95
95
|
*
|
|
@@ -107,7 +107,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
107
107
|
isBondEip?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true
|
|
110
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
111
111
|
*
|
|
112
112
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
113
113
|
*
|
|
@@ -117,7 +117,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
117
117
|
maxInstances?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true
|
|
120
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
121
121
|
*
|
|
122
122
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
123
|
*
|
|
@@ -130,7 +130,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
130
130
|
minInstances?: number;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true
|
|
133
|
+
* The instance type for automatic elastic scaling. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
134
134
|
*
|
|
135
135
|
* - `cpu`: regular instance.
|
|
136
136
|
*
|
|
@@ -141,7 +141,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
141
141
|
* - `spot`: spot instance.
|
|
142
142
|
*
|
|
143
143
|
* Default value: `cpu`.
|
|
144
|
-
* >Notice: This
|
|
144
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
145
145
|
*
|
|
146
146
|
* @example
|
|
147
147
|
* cpu
|
|
@@ -183,7 +183,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* Specifies whether to enable
|
|
186
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
187
187
|
*/
|
|
188
188
|
autoAttachEnabled?: boolean;
|
|
189
189
|
/**
|
|
@@ -205,6 +205,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
207
|
* The worker RAM role used by the Lingjun node pool.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* KubernetesWorkerRole-1025ec00-9a27-4c63-8a98-******
|
|
208
211
|
*/
|
|
209
212
|
workerRamRoleName?: string;
|
|
210
213
|
static names(): { [key: string]: string } {
|
|
@@ -249,7 +252,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
249
252
|
* @remarks
|
|
250
253
|
* **[Deprecated]**
|
|
251
254
|
*
|
|
252
|
-
* The
|
|
255
|
+
* The Cloud Connect Network (CCN) instance ID attached to the edge-enhanced node pool.
|
|
253
256
|
*
|
|
254
257
|
* @example
|
|
255
258
|
* null
|
|
@@ -269,7 +272,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
269
272
|
* @remarks
|
|
270
273
|
* **[Deprecated]**
|
|
271
274
|
*
|
|
272
|
-
* The
|
|
275
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the edge-enhanced node pool.
|
|
273
276
|
*
|
|
274
277
|
* @example
|
|
275
278
|
* null
|
|
@@ -279,7 +282,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
279
282
|
* @remarks
|
|
280
283
|
* **[Deprecated]**
|
|
281
284
|
*
|
|
282
|
-
* The subscription duration of the edge-enhanced node pool. Unit:
|
|
285
|
+
* The subscription duration of the edge-enhanced node pool. Unit: month.
|
|
283
286
|
*
|
|
284
287
|
* @example
|
|
285
288
|
* null
|
|
@@ -317,9 +320,12 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
317
320
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
318
321
|
/**
|
|
319
322
|
* @remarks
|
|
320
|
-
* Specifies whether to install
|
|
321
|
-
*
|
|
322
|
-
* - `
|
|
323
|
+
* Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. We recommend enabling this feature. Valid values:
|
|
324
|
+
*
|
|
325
|
+
* - `true`: installs CloudMonitor on ECS nodes.
|
|
326
|
+
*
|
|
327
|
+
* - `false`: does not install CloudMonitor on ECS nodes.
|
|
328
|
+
*
|
|
323
329
|
* Default value: `false`.
|
|
324
330
|
*
|
|
325
331
|
* @example
|
|
@@ -329,8 +335,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
329
335
|
/**
|
|
330
336
|
* @remarks
|
|
331
337
|
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
332
|
-
*
|
|
333
|
-
* - `
|
|
338
|
+
*
|
|
339
|
+
* - `static`: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
340
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
341
|
+
*
|
|
334
342
|
* Default value: `none`.
|
|
335
343
|
*
|
|
336
344
|
* @example
|
|
@@ -339,22 +347,26 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
339
347
|
cpuPolicy?: string;
|
|
340
348
|
/**
|
|
341
349
|
* @remarks
|
|
342
|
-
* The labels
|
|
350
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
343
351
|
*/
|
|
344
352
|
labels?: Tag[];
|
|
345
353
|
/**
|
|
346
354
|
* @remarks
|
|
347
|
-
* The custom node name. After you
|
|
348
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed
|
|
355
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed at the same time.
|
|
356
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed as the IP address, with hyphens (-) replacing the periods (.) in the IP address, and without prefixes or suffixes.
|
|
357
|
+
*
|
|
358
|
+
* The node name consists of three parts: prefix, node IP address, and suffix:
|
|
349
359
|
*
|
|
350
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
351
360
|
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
361
|
+
*
|
|
352
362
|
* - 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 a period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
353
|
-
* - The prefix is required due to ECS limits, and the suffix is optional.
|
|
354
|
-
* - The node IP
|
|
363
|
+
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
364
|
+
* - The node IP is the complete private IP address of the node.
|
|
365
|
+
*
|
|
366
|
+
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
355
367
|
*
|
|
356
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
357
368
|
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
369
|
+
*
|
|
358
370
|
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and both the node name and ECS instance name are aliyun.com192.XX.YY.55test.
|
|
359
371
|
*
|
|
360
372
|
* @example
|
|
@@ -363,7 +375,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
363
375
|
nodeNameMode?: string;
|
|
364
376
|
/**
|
|
365
377
|
* @remarks
|
|
366
|
-
* The pre-custom data of the instance. Before the node
|
|
378
|
+
* The pre-custom data of the instance. Before the node joins the cluster, the specified pre-custom data script of the instance is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
367
379
|
*
|
|
368
380
|
* @example
|
|
369
381
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -372,10 +384,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
372
384
|
/**
|
|
373
385
|
* @remarks
|
|
374
386
|
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
375
|
-
*
|
|
376
|
-
* -
|
|
377
|
-
* -
|
|
378
|
-
*
|
|
387
|
+
*
|
|
388
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
389
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
390
|
+
* - docker: deprecated. Supports cluster versions 1.22 and earlier.
|
|
391
|
+
*
|
|
392
|
+
* Default value: containerd.
|
|
379
393
|
*
|
|
380
394
|
* @example
|
|
381
395
|
* containerd
|
|
@@ -397,8 +411,10 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
397
411
|
/**
|
|
398
412
|
* @remarks
|
|
399
413
|
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
400
|
-
*
|
|
401
|
-
* -
|
|
414
|
+
*
|
|
415
|
+
* - true: The nodes are unschedulable.
|
|
416
|
+
*
|
|
417
|
+
* - false: The nodes are schedulable.
|
|
402
418
|
*
|
|
403
419
|
* @example
|
|
404
420
|
* true
|
|
@@ -406,7 +422,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
406
422
|
unschedulable?: boolean;
|
|
407
423
|
/**
|
|
408
424
|
* @remarks
|
|
409
|
-
* The instance user data. After the node
|
|
425
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
410
426
|
*
|
|
411
427
|
* @example
|
|
412
428
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -473,7 +489,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
473
489
|
autoRepairPolicyId?: string;
|
|
474
490
|
/**
|
|
475
491
|
* @remarks
|
|
476
|
-
* The maximum number of
|
|
492
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value on the backend: 1.
|
|
477
493
|
*
|
|
478
494
|
* @example
|
|
479
495
|
* 5
|
|
@@ -481,7 +497,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
481
497
|
maxParallelRepairingNodes?: string;
|
|
482
498
|
/**
|
|
483
499
|
* @remarks
|
|
484
|
-
* The circuit breaker
|
|
500
|
+
* The circuit breaker condition for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default circuit breaker condition on the backend: 100%.
|
|
485
501
|
*
|
|
486
502
|
* @example
|
|
487
503
|
* 20%
|
|
@@ -489,9 +505,11 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
489
505
|
maxUnhealthyNodesThreshold?: string;
|
|
490
506
|
/**
|
|
491
507
|
* @remarks
|
|
492
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair
|
|
493
|
-
*
|
|
494
|
-
* - `
|
|
508
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
509
|
+
*
|
|
510
|
+
* - `true`: allows node restarts.
|
|
511
|
+
* - `false`: does not allow node restarts.
|
|
512
|
+
*
|
|
495
513
|
* Default value: `true`.
|
|
496
514
|
*
|
|
497
515
|
* @example
|
|
@@ -530,9 +548,10 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
530
548
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
531
549
|
/**
|
|
532
550
|
* @remarks
|
|
533
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade
|
|
534
|
-
* - `true`:
|
|
535
|
-
* - `false`:
|
|
551
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
552
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
553
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
554
|
+
*
|
|
536
555
|
* Default value: `true`.
|
|
537
556
|
*
|
|
538
557
|
* @example
|
|
@@ -541,9 +560,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
541
560
|
autoUpgradeKubelet?: boolean;
|
|
542
561
|
/**
|
|
543
562
|
* @remarks
|
|
544
|
-
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade
|
|
545
|
-
* - `true`:
|
|
546
|
-
* - `false`:
|
|
563
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
564
|
+
* - `true`: allows automatic operating system upgrades.
|
|
565
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
566
|
+
*
|
|
547
567
|
* Default value: `false`.
|
|
548
568
|
*
|
|
549
569
|
* @example
|
|
@@ -552,9 +572,10 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
552
572
|
autoUpgradeOs?: boolean;
|
|
553
573
|
/**
|
|
554
574
|
* @remarks
|
|
555
|
-
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade
|
|
556
|
-
* - `true`:
|
|
557
|
-
* - `false`:
|
|
575
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
576
|
+
* - `true`: allows automatic runtime upgrades.
|
|
577
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
578
|
+
*
|
|
558
579
|
* Default value: `true`.
|
|
559
580
|
*
|
|
560
581
|
* @example
|
|
@@ -589,7 +610,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
589
610
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
590
611
|
/**
|
|
591
612
|
* @remarks
|
|
592
|
-
* The packages to be excluded during vulnerability repair.
|
|
613
|
+
* The packages to be excluded during vulnerability repair.
|
|
614
|
+
*
|
|
615
|
+
* Default value: `kernel`.
|
|
593
616
|
*
|
|
594
617
|
* @example
|
|
595
618
|
* kernel
|
|
@@ -597,9 +620,10 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
597
620
|
excludePackages?: string;
|
|
598
621
|
/**
|
|
599
622
|
* @remarks
|
|
600
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix
|
|
601
|
-
* - `true`:
|
|
602
|
-
* - `false`:
|
|
623
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
624
|
+
* - `true`: allows node restarts.
|
|
625
|
+
* - `false`: does not allow node restarts.
|
|
626
|
+
*
|
|
603
627
|
* Default value: `true`.
|
|
604
628
|
*
|
|
605
629
|
* @example
|
|
@@ -608,10 +632,12 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
608
632
|
restartNode?: boolean;
|
|
609
633
|
/**
|
|
610
634
|
* @remarks
|
|
611
|
-
* The vulnerability levels that are allowed for
|
|
612
|
-
*
|
|
613
|
-
* - `
|
|
614
|
-
* - `
|
|
635
|
+
* The vulnerability levels that are allowed for auto-repair, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
636
|
+
*
|
|
637
|
+
* - `asap`: high.
|
|
638
|
+
* - `later`: medium.
|
|
639
|
+
* - `nntf`: low.
|
|
640
|
+
*
|
|
615
641
|
* Default value: `asap`.
|
|
616
642
|
*
|
|
617
643
|
* @example
|
|
@@ -646,9 +672,13 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
646
672
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
647
673
|
/**
|
|
648
674
|
* @remarks
|
|
649
|
-
* **[Deprecated]** Use the auto_upgrade parameter
|
|
650
|
-
*
|
|
651
|
-
*
|
|
675
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
676
|
+
*
|
|
677
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
678
|
+
*
|
|
679
|
+
* - `true`: enables auto-upgrade.
|
|
680
|
+
*
|
|
681
|
+
* - `false`: disables auto-upgrade.
|
|
652
682
|
*
|
|
653
683
|
* @example
|
|
654
684
|
* null
|
|
@@ -658,7 +688,10 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
658
688
|
autoUpgrade?: boolean;
|
|
659
689
|
/**
|
|
660
690
|
* @remarks
|
|
661
|
-
* The maximum number of unavailable nodes.
|
|
691
|
+
* The maximum number of unavailable nodes.
|
|
692
|
+
* Valid values: [1,1000\\].
|
|
693
|
+
*
|
|
694
|
+
* Default value: 1.
|
|
662
695
|
*
|
|
663
696
|
* @example
|
|
664
697
|
* 1
|
|
@@ -666,8 +699,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
666
699
|
maxUnavailable?: number;
|
|
667
700
|
/**
|
|
668
701
|
* @remarks
|
|
669
|
-
* The number of extra nodes. This parameter and surge_percentage are mutually exclusive.
|
|
670
|
-
*
|
|
702
|
+
* The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive.
|
|
703
|
+
*
|
|
704
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
705
|
+
*
|
|
706
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
671
707
|
*
|
|
672
708
|
* @example
|
|
673
709
|
* 0
|
|
@@ -675,7 +711,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
675
711
|
surge?: number;
|
|
676
712
|
/**
|
|
677
713
|
* @remarks
|
|
678
|
-
* The percentage of extra nodes. This parameter and surge are mutually exclusive.
|
|
714
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
|
|
715
|
+
*
|
|
716
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the number of existing nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
679
717
|
*
|
|
680
718
|
* @example
|
|
681
719
|
* 0
|
|
@@ -716,9 +754,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
716
754
|
autoFaultDiagnosis?: boolean;
|
|
717
755
|
/**
|
|
718
756
|
* @remarks
|
|
719
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when enable
|
|
720
|
-
*
|
|
721
|
-
* - `
|
|
757
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
758
|
+
*
|
|
759
|
+
* - `true`: automatically repairs nodes.
|
|
760
|
+
*
|
|
761
|
+
* - `false`: does not automatically repair nodes.
|
|
762
|
+
*
|
|
722
763
|
* Default value: `true`.
|
|
723
764
|
*
|
|
724
765
|
* @example
|
|
@@ -732,9 +773,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
732
773
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
733
774
|
/**
|
|
734
775
|
* @remarks
|
|
735
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable
|
|
736
|
-
* - `true`:
|
|
737
|
-
* - `false`:
|
|
776
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
777
|
+
* - `true`: enables auto-upgrade.
|
|
778
|
+
* - `false`: disables auto-upgrade.
|
|
779
|
+
*
|
|
738
780
|
* Default value: `true`.
|
|
739
781
|
*
|
|
740
782
|
* @example
|
|
@@ -748,9 +790,11 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
748
790
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
749
791
|
/**
|
|
750
792
|
* @remarks
|
|
751
|
-
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable
|
|
752
|
-
*
|
|
753
|
-
* - `
|
|
793
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable=true`. Valid values:
|
|
794
|
+
*
|
|
795
|
+
* - `true`: allows automatic CVE repair.
|
|
796
|
+
* - `false`: does not allow automatic CVE repair.
|
|
797
|
+
*
|
|
754
798
|
* Default value: `true`.
|
|
755
799
|
*
|
|
756
800
|
* @example
|
|
@@ -759,20 +803,23 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
759
803
|
autoVulFix?: boolean;
|
|
760
804
|
/**
|
|
761
805
|
* @remarks
|
|
762
|
-
* The auto-repair policy for
|
|
806
|
+
* The auto-repair policy for CVEs.
|
|
763
807
|
*/
|
|
764
808
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
765
809
|
/**
|
|
766
810
|
* @remarks
|
|
767
|
-
* Specifies whether to enable the node rotation
|
|
811
|
+
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default. Common node pools do not support this feature.
|
|
768
812
|
*/
|
|
769
813
|
driftEnabled?: boolean;
|
|
770
814
|
/**
|
|
771
815
|
* @remarks
|
|
772
|
-
* Specifies whether to enable the managed node pool
|
|
773
|
-
*
|
|
774
|
-
* - `
|
|
775
|
-
*
|
|
816
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
817
|
+
*
|
|
818
|
+
* - `true`: enables the managed feature.
|
|
819
|
+
*
|
|
820
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
821
|
+
*
|
|
822
|
+
* Default value: false.
|
|
776
823
|
*
|
|
777
824
|
* @example
|
|
778
825
|
* false
|
|
@@ -780,7 +827,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
780
827
|
enable?: boolean;
|
|
781
828
|
/**
|
|
782
829
|
* @remarks
|
|
783
|
-
* **[Deprecated]** Use the
|
|
830
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
831
|
+
*
|
|
832
|
+
* The auto-upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
784
833
|
*
|
|
785
834
|
* @deprecated
|
|
786
835
|
*/
|
|
@@ -1065,7 +1114,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1065
1114
|
name?: string;
|
|
1066
1115
|
/**
|
|
1067
1116
|
* @remarks
|
|
1068
|
-
* The
|
|
1117
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
1069
1118
|
*
|
|
1070
1119
|
* 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.
|
|
1071
1120
|
*
|
|
@@ -1077,7 +1126,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1077
1126
|
* @remarks
|
|
1078
1127
|
* The type of the node pool. Valid values:
|
|
1079
1128
|
*
|
|
1080
|
-
* - `ess`: standard node pool, which
|
|
1129
|
+
* - `ess`: standard node pool, which includes managed and elastic scaling features.
|
|
1081
1130
|
* - `edge`: edge node pool.
|
|
1082
1131
|
* - `lingjun`: Lingjun node pool.
|
|
1083
1132
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1144,7 +1193,7 @@ export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Mo
|
|
|
1144
1193
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1145
1194
|
/**
|
|
1146
1195
|
* @remarks
|
|
1147
|
-
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool
|
|
1196
|
+
* The ID of the private node pool. When `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
1148
1197
|
*
|
|
1149
1198
|
* @example
|
|
1150
1199
|
* eap-bp67acfmxazb4****
|
|
@@ -1152,10 +1201,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1152
1201
|
id?: string;
|
|
1153
1202
|
/**
|
|
1154
1203
|
* @remarks
|
|
1155
|
-
* The private pool capacity
|
|
1156
|
-
* - `Open`: open mode. The system automatically matches
|
|
1157
|
-
* - `Target`: specified mode. The system uses the
|
|
1158
|
-
* - `None`: no private pool mode. The system does not use private pool capacity to start
|
|
1204
|
+
* The type of the private node pool and the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when starting instances. Valid values:
|
|
1205
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no eligible private pool capacity is available, public pool resources are used to start the instance. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
|
|
1206
|
+
* - `Target`: specified mode. The system uses the specified private pool capacity to start the instance. If the specified private pool capacity is unavailable, the instance fails to start. In this mode, you must specify the private pool ID, which means the PrivatePoolOptions.Id parameter is required.
|
|
1207
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start the instance.
|
|
1159
1208
|
*
|
|
1160
1209
|
* @example
|
|
1161
1210
|
* Target
|
|
@@ -1187,15 +1236,15 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1187
1236
|
export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
1188
1237
|
/**
|
|
1189
1238
|
* @remarks
|
|
1190
|
-
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify
|
|
1239
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only specify the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
1191
1240
|
*/
|
|
1192
1241
|
privatePoolIds?: string[];
|
|
1193
1242
|
/**
|
|
1194
1243
|
* @remarks
|
|
1195
|
-
* The resource pool strategy used
|
|
1196
|
-
* 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 pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create
|
|
1197
|
-
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
1198
|
-
* None: No resource pool strategy is used.
|
|
1244
|
+
* The resource pool strategy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools, which are available for selection during instance startup. Valid values:
|
|
1245
|
+
* - 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 pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
1246
|
+
* - PrivatePoolOnly: Private pool only. When this strategy is selected, `resouce_pool_options.private_pool_ids` must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
1247
|
+
* - None: No resource pool strategy is used.
|
|
1199
1248
|
* Default value: None.
|
|
1200
1249
|
*
|
|
1201
1250
|
* @example
|
|
@@ -1329,7 +1378,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1329
1378
|
autoRenew?: boolean;
|
|
1330
1379
|
/**
|
|
1331
1380
|
* @remarks
|
|
1332
|
-
* The duration of each auto-renewal
|
|
1381
|
+
* The duration of each auto-renewal. Valid values:
|
|
1333
1382
|
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
1334
1383
|
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
1335
1384
|
*
|
|
@@ -1351,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1351
1400
|
cisEnabled?: boolean;
|
|
1352
1401
|
/**
|
|
1353
1402
|
* @remarks
|
|
1354
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory
|
|
1403
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and sufficient spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
1355
1404
|
*
|
|
1356
1405
|
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1357
1406
|
* - `false`: does not automatically create pay-as-you-go instances.
|
|
@@ -1372,10 +1421,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1372
1421
|
dataDisks?: DataDisk[];
|
|
1373
1422
|
/**
|
|
1374
1423
|
* @remarks
|
|
1375
|
-
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When
|
|
1424
|
+
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When creating ECS instances in a deployment set, the instances are started in a distributed manner in the specified region based on the predefined deployment policy.
|
|
1376
1425
|
*
|
|
1377
1426
|
*
|
|
1378
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports
|
|
1427
|
+
* >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 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.
|
|
1379
1428
|
*
|
|
1380
1429
|
* @example
|
|
1381
1430
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1443,6 +1492,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1443
1492
|
*
|
|
1444
1493
|
* Default value: `PostPaid`.
|
|
1445
1494
|
*
|
|
1495
|
+
* Deleting a node pool, scaling in a node pool, or removing nodes does not automatically release subscription nodes. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1), and then log on to the ECS console automatic release them.
|
|
1496
|
+
*
|
|
1446
1497
|
* This parameter is required.
|
|
1447
1498
|
*
|
|
1448
1499
|
* @example
|
|
@@ -1463,7 +1514,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1463
1514
|
* @remarks
|
|
1464
1515
|
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, it selects instance types that meet the requirements from the specified list to create instances.
|
|
1465
1516
|
*
|
|
1466
|
-
* Valid values for the number of instance types: 1
|
|
1517
|
+
* Valid values for the number of supported instance types: [1,10].
|
|
1467
1518
|
*
|
|
1468
1519
|
*
|
|
1469
1520
|
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
@@ -1473,7 +1524,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1473
1524
|
instanceTypes?: string[];
|
|
1474
1525
|
/**
|
|
1475
1526
|
* @remarks
|
|
1476
|
-
* The billing method for public IP
|
|
1527
|
+
* The billing method for the public IP address. Valid values:
|
|
1477
1528
|
*
|
|
1478
1529
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1479
1530
|
* - PayByTraffic: pay-by-data-transfer.
|
|
@@ -1484,7 +1535,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1484
1535
|
internetChargeType?: string;
|
|
1485
1536
|
/**
|
|
1486
1537
|
* @remarks
|
|
1487
|
-
* The maximum outbound bandwidth for public IP
|
|
1538
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1488
1539
|
*
|
|
1489
1540
|
* @example
|
|
1490
1541
|
* 5
|
|
@@ -1492,7 +1543,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1492
1543
|
internetMaxBandwidthOut?: number;
|
|
1493
1544
|
/**
|
|
1494
1545
|
* @remarks
|
|
1495
|
-
* The name of the key pair used for
|
|
1546
|
+
* The name of the key pair used for passwordless logon. You must specify either this parameter or `login_password`.
|
|
1496
1547
|
*
|
|
1497
1548
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1498
1549
|
*
|
|
@@ -1514,7 +1565,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1514
1565
|
loginAsNonRoot?: boolean;
|
|
1515
1566
|
/**
|
|
1516
1567
|
* @remarks
|
|
1517
|
-
* The SSH logon password. You must specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1568
|
+
* The SSH logon password. You must 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.
|
|
1518
1569
|
*
|
|
1519
1570
|
* @example
|
|
1520
1571
|
* ****
|
|
@@ -1526,11 +1577,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1526
1577
|
*
|
|
1527
1578
|
* - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If 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.
|
|
1528
1579
|
*
|
|
1529
|
-
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order.
|
|
1580
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. If the scaling configuration specifies multiple instance types and the billing method is set to spot instance, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages.
|
|
1530
1581
|
*
|
|
1531
1582
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1532
1583
|
*
|
|
1533
|
-
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the
|
|
1584
|
+
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the distribution becomes unbalanced due to inventory shortages, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1534
1585
|
*
|
|
1535
1586
|
* Default value: `PRIORITY`.
|
|
1536
1587
|
*
|
|
@@ -1540,7 +1591,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1540
1591
|
multiAzPolicy?: string;
|
|
1541
1592
|
/**
|
|
1542
1593
|
* @remarks
|
|
1543
|
-
* The minimum number of pay-as-you-go instances required
|
|
1594
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
1544
1595
|
*
|
|
1545
1596
|
* @example
|
|
1546
1597
|
* 0
|
|
@@ -1548,7 +1599,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1548
1599
|
onDemandBaseCapacity?: number;
|
|
1549
1600
|
/**
|
|
1550
1601
|
* @remarks
|
|
1551
|
-
* The percentage of pay-as-you-go instances among the
|
|
1602
|
+
* The percentage of pay-as-you-go instances among the additional instances after the scaling group meets the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1552
1603
|
*
|
|
1553
1604
|
* @example
|
|
1554
1605
|
* 20
|
|
@@ -1556,7 +1607,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1556
1607
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1557
1608
|
/**
|
|
1558
1609
|
* @remarks
|
|
1559
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1610
|
+
* 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`.
|
|
1560
1611
|
*
|
|
1561
1612
|
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1562
1613
|
* - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
@@ -1567,10 +1618,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1567
1618
|
period?: number;
|
|
1568
1619
|
/**
|
|
1569
1620
|
* @remarks
|
|
1570
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1621
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1571
1622
|
*
|
|
1572
|
-
* - `Month`: month.
|
|
1573
|
-
* - `Week`: week.
|
|
1623
|
+
* - `Month`: uses the month as the billing unit.
|
|
1624
|
+
* - `Week`: uses the week as the billing unit.
|
|
1574
1625
|
*
|
|
1575
1626
|
* Default value: `Month`.
|
|
1576
1627
|
*
|
|
@@ -1598,7 +1649,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1598
1649
|
platform?: string;
|
|
1599
1650
|
/**
|
|
1600
1651
|
* @remarks
|
|
1601
|
-
* The private pool configuration.
|
|
1652
|
+
* The private node pool configuration.
|
|
1602
1653
|
*/
|
|
1603
1654
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1604
1655
|
/**
|
|
@@ -1606,9 +1657,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1606
1657
|
* The name of the worker RAM role.
|
|
1607
1658
|
*
|
|
1608
1659
|
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1609
|
-
* * If this parameter is specified, the RAM role must be a **normal service role
|
|
1660
|
+
* * If this parameter is specified, the RAM role must be a **normal service role**, and its **trusted service** must be configured as **ECS**. 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 for the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1610
1661
|
*
|
|
1611
|
-
* >Notice: This parameter is supported only by ACK managed clusters of
|
|
1662
|
+
* >Notice: This parameter is supported only by ACK managed clusters of Kubernetes 1.22 and later.
|
|
1612
1663
|
*
|
|
1613
1664
|
* @example
|
|
1614
1665
|
* example-role
|
|
@@ -1621,16 +1672,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1621
1672
|
rdsInstances?: string[];
|
|
1622
1673
|
/**
|
|
1623
1674
|
* @remarks
|
|
1624
|
-
* The resource pool and resource pool policy used
|
|
1675
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you configure this parameter:
|
|
1625
1676
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1626
|
-
* This parameter cannot be
|
|
1677
|
+
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1627
1678
|
*/
|
|
1628
1679
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1629
1680
|
/**
|
|
1630
1681
|
* @remarks
|
|
1631
1682
|
* The scaling group mode. Valid values:
|
|
1632
|
-
* - `release`: Standard mode.
|
|
1633
|
-
* - `recycle`: Extreme mode.
|
|
1683
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1684
|
+
* - `recycle`: Extreme mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1634
1685
|
* Default value: `release`.
|
|
1635
1686
|
*
|
|
1636
1687
|
* @example
|
|
@@ -1639,7 +1690,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1639
1690
|
scalingPolicy?: string;
|
|
1640
1691
|
/**
|
|
1641
1692
|
* @remarks
|
|
1642
|
-
* The security group ID of the node pool.
|
|
1693
|
+
* The security group ID of the node pool. You can specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1643
1694
|
*
|
|
1644
1695
|
* @example
|
|
1645
1696
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1649,14 +1700,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1649
1700
|
securityGroupId?: string;
|
|
1650
1701
|
/**
|
|
1651
1702
|
* @remarks
|
|
1652
|
-
* The list of security group IDs.
|
|
1703
|
+
* The list of security group IDs. You can specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1653
1704
|
*/
|
|
1654
1705
|
securityGroupIds?: string[];
|
|
1655
1706
|
/**
|
|
1656
1707
|
* @remarks
|
|
1657
1708
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1658
|
-
* - `true`:
|
|
1659
|
-
* - `false`:
|
|
1709
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1710
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1660
1711
|
* Default value: `false`.
|
|
1661
1712
|
*
|
|
1662
1713
|
* @example
|
|
@@ -1665,7 +1716,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1665
1716
|
securityHardeningOs?: boolean;
|
|
1666
1717
|
/**
|
|
1667
1718
|
* @remarks
|
|
1668
|
-
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for
|
|
1719
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes 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.
|
|
1669
1720
|
*
|
|
1670
1721
|
* @example
|
|
1671
1722
|
* false
|
|
@@ -1682,8 +1733,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1682
1733
|
/**
|
|
1683
1734
|
* @remarks
|
|
1684
1735
|
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1685
|
-
* - `true`:
|
|
1686
|
-
* - `false`:
|
|
1736
|
+
* - `true`: enables spot instance replenishment.
|
|
1737
|
+
* - `false`: does not enable spot instance replenishment.
|
|
1687
1738
|
*
|
|
1688
1739
|
* @example
|
|
1689
1740
|
* false
|
|
@@ -1697,9 +1748,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1697
1748
|
/**
|
|
1698
1749
|
* @remarks
|
|
1699
1750
|
* The spot instance strategy. Valid values:
|
|
1700
|
-
* - `NoSpot`:
|
|
1701
|
-
* - `SpotWithPriceLimit`:
|
|
1702
|
-
* - `SpotAsPriceGo`:
|
|
1751
|
+
* - `NoSpot`: pay-as-you-go instance.
|
|
1752
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1753
|
+
* - `SpotAsPriceGo`: uses the system automatic bidding strategy, which follows the actual market price.
|
|
1703
1754
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1704
1755
|
*
|
|
1705
1756
|
* @example
|
|
@@ -1708,10 +1759,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1708
1759
|
spotStrategy?: string;
|
|
1709
1760
|
/**
|
|
1710
1761
|
* @remarks
|
|
1711
|
-
* Specifies whether to enable performance burst for the
|
|
1712
|
-
* - true:
|
|
1713
|
-
* - false:
|
|
1714
|
-
* 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).
|
|
1762
|
+
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1763
|
+
* - true: yes.
|
|
1764
|
+
* - false: no.
|
|
1765
|
+
* 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).
|
|
1715
1766
|
*
|
|
1716
1767
|
* @example
|
|
1717
1768
|
* true
|
|
@@ -1719,17 +1770,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1719
1770
|
systemDiskBurstingEnabled?: boolean;
|
|
1720
1771
|
/**
|
|
1721
1772
|
* @remarks
|
|
1722
|
-
* The
|
|
1773
|
+
* The list of system disk types. If a disk type with a higher priority is unavailable, the system automatically tries the next disk type in the list to create the system disk.
|
|
1723
1774
|
*/
|
|
1724
1775
|
systemDiskCategories?: string[];
|
|
1725
1776
|
/**
|
|
1726
1777
|
* @remarks
|
|
1727
|
-
* The
|
|
1728
|
-
* - `cloud_efficiency`:
|
|
1729
|
-
* - `cloud_ssd`:
|
|
1778
|
+
* The system disk type of the node. Valid values:
|
|
1779
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1780
|
+
* - `cloud_ssd`: standard SSD.
|
|
1730
1781
|
* - `cloud_essd`: ESSD.
|
|
1731
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1732
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1782
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1783
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1733
1784
|
* Default value: `cloud_efficiency`.
|
|
1734
1785
|
*
|
|
1735
1786
|
* @example
|
|
@@ -1738,7 +1789,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1738
1789
|
systemDiskCategory?: string;
|
|
1739
1790
|
/**
|
|
1740
1791
|
* @remarks
|
|
1741
|
-
* The encryption algorithm used for the system disk. Valid
|
|
1792
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1742
1793
|
*
|
|
1743
1794
|
* @example
|
|
1744
1795
|
* aes-256
|
|
@@ -1747,8 +1798,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1747
1798
|
/**
|
|
1748
1799
|
* @remarks
|
|
1749
1800
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
1750
|
-
* - true:
|
|
1751
|
-
* - false:
|
|
1801
|
+
* - true: encrypts the system disk.
|
|
1802
|
+
* - false: does not encrypt the system disk.
|
|
1752
1803
|
*
|
|
1753
1804
|
* @example
|
|
1754
1805
|
* false
|
|
@@ -1756,7 +1807,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1756
1807
|
systemDiskEncrypted?: boolean;
|
|
1757
1808
|
/**
|
|
1758
1809
|
* @remarks
|
|
1759
|
-
* The ID of the KMS key used for the system disk.
|
|
1810
|
+
* The ID of the Key Management Service (KMS) key used for the system disk.
|
|
1760
1811
|
*
|
|
1761
1812
|
* @example
|
|
1762
1813
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1764,11 +1815,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1764
1815
|
systemDiskKmsKeyId?: string;
|
|
1765
1816
|
/**
|
|
1766
1817
|
* @remarks
|
|
1767
|
-
* The performance level of the
|
|
1768
|
-
* - PL0:
|
|
1769
|
-
* - PL1:
|
|
1770
|
-
* - PL2:
|
|
1771
|
-
* - PL3:
|
|
1818
|
+
* The performance level of the system disk. This parameter is applicable only to ESSDs, excluding standard SSDs. The performance level varies based on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1819
|
+
* - PL0: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1820
|
+
* - PL1: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1821
|
+
* - PL2: provides high concurrent I/O performance and stable read/write latency.
|
|
1822
|
+
* - PL3: provides extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1772
1823
|
*
|
|
1773
1824
|
* @example
|
|
1774
1825
|
* PL1
|
|
@@ -1776,8 +1827,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1776
1827
|
systemDiskPerformanceLevel?: string;
|
|
1777
1828
|
/**
|
|
1778
1829
|
* @remarks
|
|
1779
|
-
* The provisioned read/write IOPS for the
|
|
1780
|
-
* 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).
|
|
1830
|
+
* The provisioned read/write IOPS for the system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1831
|
+
* 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).
|
|
1781
1832
|
*
|
|
1782
1833
|
* @example
|
|
1783
1834
|
* 1000
|
|
@@ -1785,7 +1836,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1785
1836
|
systemDiskProvisionedIops?: number;
|
|
1786
1837
|
/**
|
|
1787
1838
|
* @remarks
|
|
1788
|
-
* The size of the
|
|
1839
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1789
1840
|
*
|
|
1790
1841
|
* @example
|
|
1791
1842
|
* 120
|
|
@@ -1806,7 +1857,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1806
1857
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1807
1858
|
/**
|
|
1808
1859
|
* @remarks
|
|
1809
|
-
* The list of vSwitch IDs.
|
|
1860
|
+
* The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1810
1861
|
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1811
1862
|
*
|
|
1812
1863
|
* This parameter is required.
|
|
@@ -1980,9 +2031,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1980
2031
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1981
2032
|
/**
|
|
1982
2033
|
* @remarks
|
|
1983
|
-
* Specifies whether
|
|
1984
|
-
* - true:
|
|
1985
|
-
* - false:
|
|
2034
|
+
* Specifies whether confidential computing is enabled for the cluster. Valid values:
|
|
2035
|
+
* - true: Confidential computing is enabled.
|
|
2036
|
+
* - false: Confidential computing is not enabled.
|
|
1986
2037
|
*
|
|
1987
2038
|
* @example
|
|
1988
2039
|
* true
|
|
@@ -2012,12 +2063,12 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
2012
2063
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
2013
2064
|
/**
|
|
2014
2065
|
* @remarks
|
|
2015
|
-
* The
|
|
2066
|
+
* The intelligent management configuration of the node pool.
|
|
2016
2067
|
*/
|
|
2017
2068
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
2018
2069
|
/**
|
|
2019
2070
|
* @remarks
|
|
2020
|
-
* The elastic scaling configuration.
|
|
2071
|
+
* The automatic elastic scaling configuration.
|
|
2021
2072
|
*/
|
|
2022
2073
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2023
2074
|
/**
|
|
@@ -2039,8 +2090,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2039
2090
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
2040
2091
|
/**
|
|
2041
2092
|
* @remarks
|
|
2042
|
-
* Specifies whether the pod network mode uses the host network mode.
|
|
2043
|
-
* - `true`: host network. Pods directly use the network stack of the host and share
|
|
2093
|
+
* Specifies whether the pod network mode uses the host network mode.
|
|
2094
|
+
* - `true`: host network. Pods directly use the network stack of the host and share IP addresses and ports with the host.
|
|
2044
2095
|
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
2045
2096
|
*
|
|
2046
2097
|
* @example
|
|
@@ -2051,17 +2102,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2051
2102
|
* @remarks
|
|
2052
2103
|
* **[Deprecated]**
|
|
2053
2104
|
*
|
|
2054
|
-
* The
|
|
2105
|
+
* The edge node pool configuration.
|
|
2055
2106
|
*
|
|
2056
2107
|
* @deprecated
|
|
2057
2108
|
*/
|
|
2058
2109
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2059
2110
|
/**
|
|
2060
2111
|
* @remarks
|
|
2061
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
2112
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
2062
2113
|
*
|
|
2063
2114
|
* - `basic`: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
2064
|
-
* - `private`: private network. Nodes in cloud node pool connect
|
|
2115
|
+
* - `private`: private network. Nodes in cloud node pool connect the cloud and on-premises networks through Express Connect circuits, VPNs, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
2065
2116
|
*
|
|
2066
2117
|
* @example
|
|
2067
2118
|
* basic
|
|
@@ -2069,7 +2120,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2069
2120
|
interconnectMode?: string;
|
|
2070
2121
|
/**
|
|
2071
2122
|
* @remarks
|
|
2072
|
-
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
2123
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
2073
2124
|
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
2074
2125
|
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
2075
2126
|
*
|
|
@@ -2079,17 +2130,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2079
2130
|
intranet?: boolean;
|
|
2080
2131
|
/**
|
|
2081
2132
|
* @remarks
|
|
2082
|
-
* The cluster configurations.
|
|
2133
|
+
* The cluster-related configurations.
|
|
2083
2134
|
*/
|
|
2084
2135
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2085
2136
|
/**
|
|
2086
2137
|
* @remarks
|
|
2087
|
-
* The
|
|
2138
|
+
* The configuration of the managed node pool feature.
|
|
2088
2139
|
*/
|
|
2089
2140
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2090
2141
|
/**
|
|
2091
2142
|
* @remarks
|
|
2092
|
-
* **[Deprecated]** The maximum number of nodes
|
|
2143
|
+
* **[Deprecated]** The maximum number of nodes allowed in an edge node pool.
|
|
2093
2144
|
*
|
|
2094
2145
|
* @example
|
|
2095
2146
|
* null
|