@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
|
@@ -10,9 +10,9 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Specifies whether to enable
|
|
14
|
-
* - true: enables
|
|
15
|
-
* - false: disables
|
|
13
|
+
* Specifies whether to enable intelligent management mode. Valid values:
|
|
14
|
+
* - true: enables intelligent management mode. This mode can be enabled only when the cluster has intelligent management mode enabled.
|
|
15
|
+
* - false: disables intelligent management mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -62,11 +62,11 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
62
62
|
* @remarks
|
|
63
63
|
* Specifies whether to enable auto scaling. Valid values:
|
|
64
64
|
*
|
|
65
|
-
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling
|
|
65
|
+
* - `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).
|
|
66
66
|
*
|
|
67
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes
|
|
67
|
+
* - `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.
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
70
|
*
|
|
71
71
|
* Default value: `false`.
|
|
72
72
|
*
|
|
@@ -76,7 +76,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
76
|
enable?: boolean;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
79
|
+
* **[Deprecated]** This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
80
80
|
*
|
|
81
81
|
* Specifies whether to associate an EIP. Valid values:
|
|
82
82
|
*
|
|
@@ -94,7 +94,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
94
94
|
isBondEip?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true
|
|
97
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
98
98
|
*
|
|
99
99
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
100
100
|
*
|
|
@@ -104,7 +104,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
104
104
|
maxInstances?: number;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true
|
|
107
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
108
108
|
*
|
|
109
109
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
110
110
|
*
|
|
@@ -117,7 +117,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
117
117
|
minInstances?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true
|
|
120
|
+
* The instance type for automatic elastic scaling. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
121
121
|
*
|
|
122
122
|
* - `cpu`: regular instance.
|
|
123
123
|
*
|
|
@@ -128,7 +128,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
128
128
|
* - `spot`: spot instance.
|
|
129
129
|
*
|
|
130
130
|
* Default value: `cpu`.
|
|
131
|
-
* >Notice: This
|
|
131
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* cpu
|
|
@@ -148,7 +148,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
148
148
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* Specifies whether to enable
|
|
151
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
152
152
|
*/
|
|
153
153
|
autoAttachEnabled?: boolean;
|
|
154
154
|
/**
|
|
@@ -170,6 +170,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
172
|
* The worker RAM role used by the Lingjun node pool.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* KubernetesWorkerRole-1025ec00-9a27-4c63-8a98-******
|
|
173
176
|
*/
|
|
174
177
|
workerRamRoleName?: string;
|
|
175
178
|
static names(): {
|
|
@@ -198,7 +201,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
198
201
|
* @remarks
|
|
199
202
|
* **[Deprecated]**
|
|
200
203
|
*
|
|
201
|
-
* The
|
|
204
|
+
* The Cloud Connect Network (CCN) instance ID attached to the edge-enhanced node pool.
|
|
202
205
|
*
|
|
203
206
|
* @example
|
|
204
207
|
* null
|
|
@@ -218,7 +221,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
218
221
|
* @remarks
|
|
219
222
|
* **[Deprecated]**
|
|
220
223
|
*
|
|
221
|
-
* The
|
|
224
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the edge-enhanced node pool.
|
|
222
225
|
*
|
|
223
226
|
* @example
|
|
224
227
|
* null
|
|
@@ -228,7 +231,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
228
231
|
* @remarks
|
|
229
232
|
* **[Deprecated]**
|
|
230
233
|
*
|
|
231
|
-
* The subscription duration of the edge-enhanced node pool. Unit:
|
|
234
|
+
* The subscription duration of the edge-enhanced node pool. Unit: month.
|
|
232
235
|
*
|
|
233
236
|
* @example
|
|
234
237
|
* null
|
|
@@ -248,9 +251,12 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
248
251
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
249
252
|
/**
|
|
250
253
|
* @remarks
|
|
251
|
-
* Specifies whether to install
|
|
252
|
-
*
|
|
253
|
-
* - `
|
|
254
|
+
* 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:
|
|
255
|
+
*
|
|
256
|
+
* - `true`: installs CloudMonitor on ECS nodes.
|
|
257
|
+
*
|
|
258
|
+
* - `false`: does not install CloudMonitor on ECS nodes.
|
|
259
|
+
*
|
|
254
260
|
* Default value: `false`.
|
|
255
261
|
*
|
|
256
262
|
* @example
|
|
@@ -260,8 +266,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
260
266
|
/**
|
|
261
267
|
* @remarks
|
|
262
268
|
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
263
|
-
*
|
|
264
|
-
* - `
|
|
269
|
+
*
|
|
270
|
+
* - `static`: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
271
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
272
|
+
*
|
|
265
273
|
* Default value: `none`.
|
|
266
274
|
*
|
|
267
275
|
* @example
|
|
@@ -270,22 +278,26 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
270
278
|
cpuPolicy?: string;
|
|
271
279
|
/**
|
|
272
280
|
* @remarks
|
|
273
|
-
* The labels
|
|
281
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
274
282
|
*/
|
|
275
283
|
labels?: Tag[];
|
|
276
284
|
/**
|
|
277
285
|
* @remarks
|
|
278
|
-
* The custom node name. After you
|
|
279
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed
|
|
286
|
+
* 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.
|
|
287
|
+
* > 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.
|
|
288
|
+
*
|
|
289
|
+
* The node name consists of three parts: prefix, node IP address, and suffix:
|
|
280
290
|
*
|
|
281
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
282
291
|
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
292
|
+
*
|
|
283
293
|
* - 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.
|
|
284
|
-
* - The prefix is required due to ECS limits, and the suffix is optional.
|
|
285
|
-
* - The node IP
|
|
294
|
+
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
295
|
+
* - The node IP is the complete private IP address of the node.
|
|
296
|
+
*
|
|
297
|
+
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
286
298
|
*
|
|
287
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
288
299
|
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
300
|
+
*
|
|
289
301
|
* - 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.
|
|
290
302
|
*
|
|
291
303
|
* @example
|
|
@@ -294,7 +306,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
294
306
|
nodeNameMode?: string;
|
|
295
307
|
/**
|
|
296
308
|
* @remarks
|
|
297
|
-
* The pre-custom data of the instance. Before the node
|
|
309
|
+
* 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).
|
|
298
310
|
*
|
|
299
311
|
* @example
|
|
300
312
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -303,10 +315,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
303
315
|
/**
|
|
304
316
|
* @remarks
|
|
305
317
|
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
306
|
-
*
|
|
307
|
-
* -
|
|
308
|
-
* -
|
|
309
|
-
*
|
|
318
|
+
*
|
|
319
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
320
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
321
|
+
* - docker: deprecated. Supports cluster versions 1.22 and earlier.
|
|
322
|
+
*
|
|
323
|
+
* Default value: containerd.
|
|
310
324
|
*
|
|
311
325
|
* @example
|
|
312
326
|
* containerd
|
|
@@ -328,8 +342,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
328
342
|
/**
|
|
329
343
|
* @remarks
|
|
330
344
|
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
331
|
-
*
|
|
332
|
-
* -
|
|
345
|
+
*
|
|
346
|
+
* - true: The nodes are unschedulable.
|
|
347
|
+
*
|
|
348
|
+
* - false: The nodes are schedulable.
|
|
333
349
|
*
|
|
334
350
|
* @example
|
|
335
351
|
* true
|
|
@@ -337,7 +353,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
337
353
|
unschedulable?: boolean;
|
|
338
354
|
/**
|
|
339
355
|
* @remarks
|
|
340
|
-
* The instance user data. After the node
|
|
356
|
+
* 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).
|
|
341
357
|
*
|
|
342
358
|
* @example
|
|
343
359
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -370,7 +386,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
370
386
|
autoRepairPolicyId?: string;
|
|
371
387
|
/**
|
|
372
388
|
* @remarks
|
|
373
|
-
* The maximum number of
|
|
389
|
+
* 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.
|
|
374
390
|
*
|
|
375
391
|
* @example
|
|
376
392
|
* 5
|
|
@@ -378,7 +394,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
378
394
|
maxParallelRepairingNodes?: string;
|
|
379
395
|
/**
|
|
380
396
|
* @remarks
|
|
381
|
-
* The circuit breaker
|
|
397
|
+
* 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%.
|
|
382
398
|
*
|
|
383
399
|
* @example
|
|
384
400
|
* 20%
|
|
@@ -386,9 +402,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
386
402
|
maxUnhealthyNodesThreshold?: string;
|
|
387
403
|
/**
|
|
388
404
|
* @remarks
|
|
389
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair
|
|
390
|
-
*
|
|
391
|
-
* - `
|
|
405
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
406
|
+
*
|
|
407
|
+
* - `true`: allows node restarts.
|
|
408
|
+
* - `false`: does not allow node restarts.
|
|
409
|
+
*
|
|
392
410
|
* Default value: `true`.
|
|
393
411
|
*
|
|
394
412
|
* @example
|
|
@@ -409,9 +427,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
409
427
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
410
428
|
/**
|
|
411
429
|
* @remarks
|
|
412
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade
|
|
413
|
-
* - `true`:
|
|
414
|
-
* - `false`:
|
|
430
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
431
|
+
* - `true`: allows automatic kubelet upgrades.
|
|
432
|
+
* - `false`: does not allow automatic kubelet upgrades.
|
|
433
|
+
*
|
|
415
434
|
* Default value: `true`.
|
|
416
435
|
*
|
|
417
436
|
* @example
|
|
@@ -420,9 +439,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
420
439
|
autoUpgradeKubelet?: boolean;
|
|
421
440
|
/**
|
|
422
441
|
* @remarks
|
|
423
|
-
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade
|
|
424
|
-
* - `true`:
|
|
425
|
-
* - `false`:
|
|
442
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
443
|
+
* - `true`: allows automatic operating system upgrades.
|
|
444
|
+
* - `false`: does not allow automatic operating system upgrades.
|
|
445
|
+
*
|
|
426
446
|
* Default value: `false`.
|
|
427
447
|
*
|
|
428
448
|
* @example
|
|
@@ -431,9 +451,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
431
451
|
autoUpgradeOs?: boolean;
|
|
432
452
|
/**
|
|
433
453
|
* @remarks
|
|
434
|
-
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade
|
|
435
|
-
* - `true`:
|
|
436
|
-
* - `false`:
|
|
454
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
455
|
+
* - `true`: allows automatic runtime upgrades.
|
|
456
|
+
* - `false`: does not allow automatic runtime upgrades.
|
|
457
|
+
*
|
|
437
458
|
* Default value: `true`.
|
|
438
459
|
*
|
|
439
460
|
* @example
|
|
@@ -454,7 +475,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
454
475
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
455
476
|
/**
|
|
456
477
|
* @remarks
|
|
457
|
-
* The packages to be excluded during vulnerability repair.
|
|
478
|
+
* The packages to be excluded during vulnerability repair.
|
|
479
|
+
*
|
|
480
|
+
* Default value: `kernel`.
|
|
458
481
|
*
|
|
459
482
|
* @example
|
|
460
483
|
* kernel
|
|
@@ -462,9 +485,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
462
485
|
excludePackages?: string;
|
|
463
486
|
/**
|
|
464
487
|
* @remarks
|
|
465
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix
|
|
466
|
-
* - `true`:
|
|
467
|
-
* - `false`:
|
|
488
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
489
|
+
* - `true`: allows node restarts.
|
|
490
|
+
* - `false`: does not allow node restarts.
|
|
491
|
+
*
|
|
468
492
|
* Default value: `true`.
|
|
469
493
|
*
|
|
470
494
|
* @example
|
|
@@ -473,10 +497,12 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
473
497
|
restartNode?: boolean;
|
|
474
498
|
/**
|
|
475
499
|
* @remarks
|
|
476
|
-
* The vulnerability levels that are allowed for
|
|
477
|
-
*
|
|
478
|
-
* - `
|
|
479
|
-
* - `
|
|
500
|
+
* The vulnerability levels that are allowed for auto-repair, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
501
|
+
*
|
|
502
|
+
* - `asap`: high.
|
|
503
|
+
* - `later`: medium.
|
|
504
|
+
* - `nntf`: low.
|
|
505
|
+
*
|
|
480
506
|
* Default value: `asap`.
|
|
481
507
|
*
|
|
482
508
|
* @example
|
|
@@ -497,9 +523,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
497
523
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
498
524
|
/**
|
|
499
525
|
* @remarks
|
|
500
|
-
* **[Deprecated]** Use the auto_upgrade parameter
|
|
501
|
-
*
|
|
502
|
-
*
|
|
526
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
527
|
+
*
|
|
528
|
+
* Specifies whether to enable auto-upgrade. Valid values:
|
|
529
|
+
*
|
|
530
|
+
* - `true`: enables auto-upgrade.
|
|
531
|
+
*
|
|
532
|
+
* - `false`: disables auto-upgrade.
|
|
503
533
|
*
|
|
504
534
|
* @example
|
|
505
535
|
* null
|
|
@@ -509,7 +539,10 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
509
539
|
autoUpgrade?: boolean;
|
|
510
540
|
/**
|
|
511
541
|
* @remarks
|
|
512
|
-
* The maximum number of unavailable nodes.
|
|
542
|
+
* The maximum number of unavailable nodes.
|
|
543
|
+
* Valid values: [1,1000\\].
|
|
544
|
+
*
|
|
545
|
+
* Default value: 1.
|
|
513
546
|
*
|
|
514
547
|
* @example
|
|
515
548
|
* 1
|
|
@@ -517,8 +550,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
517
550
|
maxUnavailable?: number;
|
|
518
551
|
/**
|
|
519
552
|
* @remarks
|
|
520
|
-
* The number of extra nodes. This parameter and surge_percentage are mutually exclusive.
|
|
521
|
-
*
|
|
553
|
+
* The number of extra nodes. This parameter and `surge_percentage` are mutually exclusive.
|
|
554
|
+
*
|
|
555
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
556
|
+
*
|
|
557
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
522
558
|
*
|
|
523
559
|
* @example
|
|
524
560
|
* 0
|
|
@@ -526,7 +562,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
526
562
|
surge?: number;
|
|
527
563
|
/**
|
|
528
564
|
* @remarks
|
|
529
|
-
* The percentage of extra nodes. This parameter and surge are mutually exclusive.
|
|
565
|
+
* The percentage of extra nodes. This parameter and `surge` are mutually exclusive.
|
|
566
|
+
*
|
|
567
|
+
* 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.
|
|
530
568
|
*
|
|
531
569
|
* @example
|
|
532
570
|
* 0
|
|
@@ -551,9 +589,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
551
589
|
autoFaultDiagnosis?: boolean;
|
|
552
590
|
/**
|
|
553
591
|
* @remarks
|
|
554
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when enable
|
|
555
|
-
*
|
|
556
|
-
* - `
|
|
592
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
593
|
+
*
|
|
594
|
+
* - `true`: automatically repairs nodes.
|
|
595
|
+
*
|
|
596
|
+
* - `false`: does not automatically repair nodes.
|
|
597
|
+
*
|
|
557
598
|
* Default value: `true`.
|
|
558
599
|
*
|
|
559
600
|
* @example
|
|
@@ -567,9 +608,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
567
608
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
568
609
|
/**
|
|
569
610
|
* @remarks
|
|
570
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable
|
|
571
|
-
* - `true`:
|
|
572
|
-
* - `false`:
|
|
611
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
612
|
+
* - `true`: enables auto-upgrade.
|
|
613
|
+
* - `false`: disables auto-upgrade.
|
|
614
|
+
*
|
|
573
615
|
* Default value: `true`.
|
|
574
616
|
*
|
|
575
617
|
* @example
|
|
@@ -583,9 +625,11 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
583
625
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
584
626
|
/**
|
|
585
627
|
* @remarks
|
|
586
|
-
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable
|
|
587
|
-
*
|
|
588
|
-
* - `
|
|
628
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable=true`. Valid values:
|
|
629
|
+
*
|
|
630
|
+
* - `true`: allows automatic CVE repair.
|
|
631
|
+
* - `false`: does not allow automatic CVE repair.
|
|
632
|
+
*
|
|
589
633
|
* Default value: `true`.
|
|
590
634
|
*
|
|
591
635
|
* @example
|
|
@@ -594,20 +638,23 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
594
638
|
autoVulFix?: boolean;
|
|
595
639
|
/**
|
|
596
640
|
* @remarks
|
|
597
|
-
* The auto-repair policy for
|
|
641
|
+
* The auto-repair policy for CVEs.
|
|
598
642
|
*/
|
|
599
643
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
600
644
|
/**
|
|
601
645
|
* @remarks
|
|
602
|
-
* Specifies whether to enable the node rotation
|
|
646
|
+
* 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.
|
|
603
647
|
*/
|
|
604
648
|
driftEnabled?: boolean;
|
|
605
649
|
/**
|
|
606
650
|
* @remarks
|
|
607
|
-
* Specifies whether to enable the managed node pool
|
|
608
|
-
*
|
|
609
|
-
* - `
|
|
610
|
-
*
|
|
651
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
652
|
+
*
|
|
653
|
+
* - `true`: enables the managed feature.
|
|
654
|
+
*
|
|
655
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
656
|
+
*
|
|
657
|
+
* Default value: false.
|
|
611
658
|
*
|
|
612
659
|
* @example
|
|
613
660
|
* false
|
|
@@ -615,7 +662,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
615
662
|
enable?: boolean;
|
|
616
663
|
/**
|
|
617
664
|
* @remarks
|
|
618
|
-
* **[Deprecated]** Use the
|
|
665
|
+
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
666
|
+
*
|
|
667
|
+
* The auto-upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
619
668
|
*
|
|
620
669
|
* @deprecated
|
|
621
670
|
*/
|
|
@@ -781,7 +830,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
781
830
|
name?: string;
|
|
782
831
|
/**
|
|
783
832
|
* @remarks
|
|
784
|
-
* The
|
|
833
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
785
834
|
*
|
|
786
835
|
* 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.
|
|
787
836
|
*
|
|
@@ -793,7 +842,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
793
842
|
* @remarks
|
|
794
843
|
* The type of the node pool. Valid values:
|
|
795
844
|
*
|
|
796
|
-
* - `ess`: standard node pool, which
|
|
845
|
+
* - `ess`: standard node pool, which includes managed and elastic scaling features.
|
|
797
846
|
* - `edge`: edge node pool.
|
|
798
847
|
* - `lingjun`: Lingjun node pool.
|
|
799
848
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -836,7 +885,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends
|
|
|
836
885
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
837
886
|
/**
|
|
838
887
|
* @remarks
|
|
839
|
-
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool
|
|
888
|
+
* The ID of the private node pool. When `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
840
889
|
*
|
|
841
890
|
* @example
|
|
842
891
|
* eap-bp67acfmxazb4****
|
|
@@ -844,10 +893,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
844
893
|
id?: string;
|
|
845
894
|
/**
|
|
846
895
|
* @remarks
|
|
847
|
-
* The private pool capacity
|
|
848
|
-
* - `Open`: open mode. The system automatically matches
|
|
849
|
-
* - `Target`: specified mode. The system uses the
|
|
850
|
-
* - `None`: no private pool mode. The system does not use private pool capacity to start
|
|
896
|
+
* 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:
|
|
897
|
+
* - `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.
|
|
898
|
+
* - `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.
|
|
899
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start the instance.
|
|
851
900
|
*
|
|
852
901
|
* @example
|
|
853
902
|
* Target
|
|
@@ -867,15 +916,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
867
916
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
868
917
|
/**
|
|
869
918
|
* @remarks
|
|
870
|
-
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify
|
|
919
|
+
* 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.
|
|
871
920
|
*/
|
|
872
921
|
privatePoolIds?: string[];
|
|
873
922
|
/**
|
|
874
923
|
* @remarks
|
|
875
|
-
* The resource pool strategy used
|
|
876
|
-
* 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
|
|
877
|
-
* 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.
|
|
878
|
-
* None: No resource pool strategy is used.
|
|
924
|
+
* 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:
|
|
925
|
+
* - 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.
|
|
926
|
+
* - 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.
|
|
927
|
+
* - None: No resource pool strategy is used.
|
|
879
928
|
* Default value: None.
|
|
880
929
|
*
|
|
881
930
|
* @example
|
|
@@ -970,7 +1019,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
970
1019
|
autoRenew?: boolean;
|
|
971
1020
|
/**
|
|
972
1021
|
* @remarks
|
|
973
|
-
* The duration of each auto-renewal
|
|
1022
|
+
* The duration of each auto-renewal. Valid values:
|
|
974
1023
|
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
975
1024
|
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
976
1025
|
*
|
|
@@ -992,7 +1041,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
992
1041
|
cisEnabled?: boolean;
|
|
993
1042
|
/**
|
|
994
1043
|
* @remarks
|
|
995
|
-
* 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
|
|
1044
|
+
* 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:
|
|
996
1045
|
*
|
|
997
1046
|
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
998
1047
|
* - `false`: does not automatically create pay-as-you-go instances.
|
|
@@ -1013,10 +1062,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1013
1062
|
dataDisks?: DataDisk[];
|
|
1014
1063
|
/**
|
|
1015
1064
|
* @remarks
|
|
1016
|
-
* 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
|
|
1065
|
+
* 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.
|
|
1017
1066
|
*
|
|
1018
1067
|
*
|
|
1019
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports
|
|
1068
|
+
* >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.
|
|
1020
1069
|
*
|
|
1021
1070
|
* @example
|
|
1022
1071
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1084,6 +1133,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1084
1133
|
*
|
|
1085
1134
|
* Default value: `PostPaid`.
|
|
1086
1135
|
*
|
|
1136
|
+
* 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.
|
|
1137
|
+
*
|
|
1087
1138
|
* This parameter is required.
|
|
1088
1139
|
*
|
|
1089
1140
|
* @example
|
|
@@ -1104,7 +1155,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1104
1155
|
* @remarks
|
|
1105
1156
|
* 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.
|
|
1106
1157
|
*
|
|
1107
|
-
* Valid values for the number of instance types: 1
|
|
1158
|
+
* Valid values for the number of supported instance types: [1,10].
|
|
1108
1159
|
*
|
|
1109
1160
|
*
|
|
1110
1161
|
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
@@ -1114,7 +1165,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1114
1165
|
instanceTypes?: string[];
|
|
1115
1166
|
/**
|
|
1116
1167
|
* @remarks
|
|
1117
|
-
* The billing method for public IP
|
|
1168
|
+
* The billing method for the public IP address. Valid values:
|
|
1118
1169
|
*
|
|
1119
1170
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1120
1171
|
* - PayByTraffic: pay-by-data-transfer.
|
|
@@ -1125,7 +1176,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1125
1176
|
internetChargeType?: string;
|
|
1126
1177
|
/**
|
|
1127
1178
|
* @remarks
|
|
1128
|
-
* The maximum outbound bandwidth for public IP
|
|
1179
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1129
1180
|
*
|
|
1130
1181
|
* @example
|
|
1131
1182
|
* 5
|
|
@@ -1133,7 +1184,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1133
1184
|
internetMaxBandwidthOut?: number;
|
|
1134
1185
|
/**
|
|
1135
1186
|
* @remarks
|
|
1136
|
-
* The name of the key pair used for
|
|
1187
|
+
* The name of the key pair used for passwordless logon. You must specify either this parameter or `login_password`.
|
|
1137
1188
|
*
|
|
1138
1189
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1139
1190
|
*
|
|
@@ -1155,7 +1206,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1155
1206
|
loginAsNonRoot?: boolean;
|
|
1156
1207
|
/**
|
|
1157
1208
|
* @remarks
|
|
1158
|
-
* 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.
|
|
1209
|
+
* 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.
|
|
1159
1210
|
*
|
|
1160
1211
|
* @example
|
|
1161
1212
|
* ****
|
|
@@ -1167,11 +1218,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1167
1218
|
*
|
|
1168
1219
|
* - `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.
|
|
1169
1220
|
*
|
|
1170
|
-
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order.
|
|
1221
|
+
* - `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.
|
|
1171
1222
|
*
|
|
1172
1223
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1173
1224
|
*
|
|
1174
|
-
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the
|
|
1225
|
+
* - `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.
|
|
1175
1226
|
*
|
|
1176
1227
|
* Default value: `PRIORITY`.
|
|
1177
1228
|
*
|
|
@@ -1181,7 +1232,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1181
1232
|
multiAzPolicy?: string;
|
|
1182
1233
|
/**
|
|
1183
1234
|
* @remarks
|
|
1184
|
-
* The minimum number of pay-as-you-go instances required
|
|
1235
|
+
* 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.
|
|
1185
1236
|
*
|
|
1186
1237
|
* @example
|
|
1187
1238
|
* 0
|
|
@@ -1189,7 +1240,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1189
1240
|
onDemandBaseCapacity?: number;
|
|
1190
1241
|
/**
|
|
1191
1242
|
* @remarks
|
|
1192
|
-
* The percentage of pay-as-you-go instances among the
|
|
1243
|
+
* 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\\].
|
|
1193
1244
|
*
|
|
1194
1245
|
* @example
|
|
1195
1246
|
* 20
|
|
@@ -1197,7 +1248,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1197
1248
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1198
1249
|
/**
|
|
1199
1250
|
* @remarks
|
|
1200
|
-
* The subscription duration of nodes in the node pool. This parameter
|
|
1251
|
+
* 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`.
|
|
1201
1252
|
*
|
|
1202
1253
|
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1203
1254
|
* - 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.
|
|
@@ -1208,10 +1259,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1208
1259
|
period?: number;
|
|
1209
1260
|
/**
|
|
1210
1261
|
* @remarks
|
|
1211
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1262
|
+
* 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`.
|
|
1212
1263
|
*
|
|
1213
|
-
* - `Month`: month.
|
|
1214
|
-
* - `Week`: week.
|
|
1264
|
+
* - `Month`: uses the month as the billing unit.
|
|
1265
|
+
* - `Week`: uses the week as the billing unit.
|
|
1215
1266
|
*
|
|
1216
1267
|
* Default value: `Month`.
|
|
1217
1268
|
*
|
|
@@ -1239,7 +1290,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1239
1290
|
platform?: string;
|
|
1240
1291
|
/**
|
|
1241
1292
|
* @remarks
|
|
1242
|
-
* The private pool configuration.
|
|
1293
|
+
* The private node pool configuration.
|
|
1243
1294
|
*/
|
|
1244
1295
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1245
1296
|
/**
|
|
@@ -1247,9 +1298,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1247
1298
|
* The name of the worker RAM role.
|
|
1248
1299
|
*
|
|
1249
1300
|
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1250
|
-
* * If this parameter is specified, the RAM role must be a **normal service role
|
|
1301
|
+
* * 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-`.
|
|
1251
1302
|
*
|
|
1252
|
-
* >Notice: This parameter is supported only by ACK managed clusters of
|
|
1303
|
+
* >Notice: This parameter is supported only by ACK managed clusters of Kubernetes 1.22 and later.
|
|
1253
1304
|
*
|
|
1254
1305
|
* @example
|
|
1255
1306
|
* example-role
|
|
@@ -1262,16 +1313,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1262
1313
|
rdsInstances?: string[];
|
|
1263
1314
|
/**
|
|
1264
1315
|
* @remarks
|
|
1265
|
-
* The resource pool and resource pool policy used
|
|
1316
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you configure this parameter:
|
|
1266
1317
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1267
|
-
* This parameter cannot be
|
|
1318
|
+
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1268
1319
|
*/
|
|
1269
1320
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1270
1321
|
/**
|
|
1271
1322
|
* @remarks
|
|
1272
1323
|
* The scaling group mode. Valid values:
|
|
1273
|
-
* - `release`: Standard mode.
|
|
1274
|
-
* - `recycle`: Extreme mode.
|
|
1324
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1325
|
+
* - `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.
|
|
1275
1326
|
* Default value: `release`.
|
|
1276
1327
|
*
|
|
1277
1328
|
* @example
|
|
@@ -1280,7 +1331,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1280
1331
|
scalingPolicy?: string;
|
|
1281
1332
|
/**
|
|
1282
1333
|
* @remarks
|
|
1283
|
-
* The security group ID of the node pool.
|
|
1334
|
+
* 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`.
|
|
1284
1335
|
*
|
|
1285
1336
|
* @example
|
|
1286
1337
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1290,14 +1341,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1290
1341
|
securityGroupId?: string;
|
|
1291
1342
|
/**
|
|
1292
1343
|
* @remarks
|
|
1293
|
-
* The list of security group IDs.
|
|
1344
|
+
* 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.
|
|
1294
1345
|
*/
|
|
1295
1346
|
securityGroupIds?: string[];
|
|
1296
1347
|
/**
|
|
1297
1348
|
* @remarks
|
|
1298
1349
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1299
|
-
* - `true`:
|
|
1300
|
-
* - `false`:
|
|
1350
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1351
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1301
1352
|
* Default value: `false`.
|
|
1302
1353
|
*
|
|
1303
1354
|
* @example
|
|
@@ -1306,7 +1357,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1306
1357
|
securityHardeningOs?: boolean;
|
|
1307
1358
|
/**
|
|
1308
1359
|
* @remarks
|
|
1309
|
-
* 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
|
|
1360
|
+
* 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.
|
|
1310
1361
|
*
|
|
1311
1362
|
* @example
|
|
1312
1363
|
* false
|
|
@@ -1323,8 +1374,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1323
1374
|
/**
|
|
1324
1375
|
* @remarks
|
|
1325
1376
|
* 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:
|
|
1326
|
-
* - `true`:
|
|
1327
|
-
* - `false`:
|
|
1377
|
+
* - `true`: enables spot instance replenishment.
|
|
1378
|
+
* - `false`: does not enable spot instance replenishment.
|
|
1328
1379
|
*
|
|
1329
1380
|
* @example
|
|
1330
1381
|
* false
|
|
@@ -1338,9 +1389,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1338
1389
|
/**
|
|
1339
1390
|
* @remarks
|
|
1340
1391
|
* The spot instance strategy. Valid values:
|
|
1341
|
-
* - `NoSpot`:
|
|
1342
|
-
* - `SpotWithPriceLimit`:
|
|
1343
|
-
* - `SpotAsPriceGo`:
|
|
1392
|
+
* - `NoSpot`: pay-as-you-go instance.
|
|
1393
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1394
|
+
* - `SpotAsPriceGo`: uses the system automatic bidding strategy, which follows the actual market price.
|
|
1344
1395
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1345
1396
|
*
|
|
1346
1397
|
* @example
|
|
@@ -1349,10 +1400,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1349
1400
|
spotStrategy?: string;
|
|
1350
1401
|
/**
|
|
1351
1402
|
* @remarks
|
|
1352
|
-
* Specifies whether to enable performance burst for the
|
|
1353
|
-
* - true:
|
|
1354
|
-
* - false:
|
|
1355
|
-
* 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).
|
|
1403
|
+
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1404
|
+
* - true: yes.
|
|
1405
|
+
* - false: no.
|
|
1406
|
+
* 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).
|
|
1356
1407
|
*
|
|
1357
1408
|
* @example
|
|
1358
1409
|
* true
|
|
@@ -1360,17 +1411,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1360
1411
|
systemDiskBurstingEnabled?: boolean;
|
|
1361
1412
|
/**
|
|
1362
1413
|
* @remarks
|
|
1363
|
-
* The
|
|
1414
|
+
* 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.
|
|
1364
1415
|
*/
|
|
1365
1416
|
systemDiskCategories?: string[];
|
|
1366
1417
|
/**
|
|
1367
1418
|
* @remarks
|
|
1368
|
-
* The
|
|
1369
|
-
* - `cloud_efficiency`:
|
|
1370
|
-
* - `cloud_ssd`:
|
|
1419
|
+
* The system disk type of the node. Valid values:
|
|
1420
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1421
|
+
* - `cloud_ssd`: standard SSD.
|
|
1371
1422
|
* - `cloud_essd`: ESSD.
|
|
1372
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1373
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1423
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1424
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1374
1425
|
* Default value: `cloud_efficiency`.
|
|
1375
1426
|
*
|
|
1376
1427
|
* @example
|
|
@@ -1379,7 +1430,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1379
1430
|
systemDiskCategory?: string;
|
|
1380
1431
|
/**
|
|
1381
1432
|
* @remarks
|
|
1382
|
-
* The encryption algorithm used for the system disk. Valid
|
|
1433
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1383
1434
|
*
|
|
1384
1435
|
* @example
|
|
1385
1436
|
* aes-256
|
|
@@ -1388,8 +1439,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1388
1439
|
/**
|
|
1389
1440
|
* @remarks
|
|
1390
1441
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
1391
|
-
* - true:
|
|
1392
|
-
* - false:
|
|
1442
|
+
* - true: encrypts the system disk.
|
|
1443
|
+
* - false: does not encrypt the system disk.
|
|
1393
1444
|
*
|
|
1394
1445
|
* @example
|
|
1395
1446
|
* false
|
|
@@ -1397,7 +1448,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1397
1448
|
systemDiskEncrypted?: boolean;
|
|
1398
1449
|
/**
|
|
1399
1450
|
* @remarks
|
|
1400
|
-
* The ID of the KMS key used for the system disk.
|
|
1451
|
+
* The ID of the Key Management Service (KMS) key used for the system disk.
|
|
1401
1452
|
*
|
|
1402
1453
|
* @example
|
|
1403
1454
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1405,11 +1456,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1405
1456
|
systemDiskKmsKeyId?: string;
|
|
1406
1457
|
/**
|
|
1407
1458
|
* @remarks
|
|
1408
|
-
* The performance level of the
|
|
1409
|
-
* - PL0:
|
|
1410
|
-
* - PL1:
|
|
1411
|
-
* - PL2:
|
|
1412
|
-
* - PL3:
|
|
1459
|
+
* 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:
|
|
1460
|
+
* - PL0: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1461
|
+
* - PL1: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1462
|
+
* - PL2: provides high concurrent I/O performance and stable read/write latency.
|
|
1463
|
+
* - PL3: provides extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1413
1464
|
*
|
|
1414
1465
|
* @example
|
|
1415
1466
|
* PL1
|
|
@@ -1417,8 +1468,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1417
1468
|
systemDiskPerformanceLevel?: string;
|
|
1418
1469
|
/**
|
|
1419
1470
|
* @remarks
|
|
1420
|
-
* The provisioned read/write IOPS for the
|
|
1421
|
-
* 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).
|
|
1471
|
+
* 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}.
|
|
1472
|
+
* 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).
|
|
1422
1473
|
*
|
|
1423
1474
|
* @example
|
|
1424
1475
|
* 1000
|
|
@@ -1426,7 +1477,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1426
1477
|
systemDiskProvisionedIops?: number;
|
|
1427
1478
|
/**
|
|
1428
1479
|
* @remarks
|
|
1429
|
-
* The size of the
|
|
1480
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1430
1481
|
*
|
|
1431
1482
|
* @example
|
|
1432
1483
|
* 120
|
|
@@ -1447,7 +1498,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1447
1498
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1448
1499
|
/**
|
|
1449
1500
|
* @remarks
|
|
1450
|
-
* The list of vSwitch IDs.
|
|
1501
|
+
* The list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1451
1502
|
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1452
1503
|
*
|
|
1453
1504
|
* This parameter is required.
|
|
@@ -1467,9 +1518,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1467
1518
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1468
1519
|
/**
|
|
1469
1520
|
* @remarks
|
|
1470
|
-
* Specifies whether
|
|
1471
|
-
* - true:
|
|
1472
|
-
* - false:
|
|
1521
|
+
* Specifies whether confidential computing is enabled for the cluster. Valid values:
|
|
1522
|
+
* - true: Confidential computing is enabled.
|
|
1523
|
+
* - false: Confidential computing is not enabled.
|
|
1473
1524
|
*
|
|
1474
1525
|
* @example
|
|
1475
1526
|
* true
|
|
@@ -1489,12 +1540,12 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1489
1540
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1490
1541
|
/**
|
|
1491
1542
|
* @remarks
|
|
1492
|
-
* The
|
|
1543
|
+
* The intelligent management configuration of the node pool.
|
|
1493
1544
|
*/
|
|
1494
1545
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1495
1546
|
/**
|
|
1496
1547
|
* @remarks
|
|
1497
|
-
* The elastic scaling configuration.
|
|
1548
|
+
* The automatic elastic scaling configuration.
|
|
1498
1549
|
*/
|
|
1499
1550
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1500
1551
|
/**
|
|
@@ -1516,8 +1567,8 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1516
1567
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1517
1568
|
/**
|
|
1518
1569
|
* @remarks
|
|
1519
|
-
* Specifies whether the pod network mode uses the host network mode.
|
|
1520
|
-
* - `true`: host network. Pods directly use the network stack of the host and share
|
|
1570
|
+
* Specifies whether the pod network mode uses the host network mode.
|
|
1571
|
+
* - `true`: host network. Pods directly use the network stack of the host and share IP addresses and ports with the host.
|
|
1521
1572
|
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1522
1573
|
*
|
|
1523
1574
|
* @example
|
|
@@ -1528,17 +1579,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1528
1579
|
* @remarks
|
|
1529
1580
|
* **[Deprecated]**
|
|
1530
1581
|
*
|
|
1531
|
-
* The
|
|
1582
|
+
* The edge node pool configuration.
|
|
1532
1583
|
*
|
|
1533
1584
|
* @deprecated
|
|
1534
1585
|
*/
|
|
1535
1586
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1536
1587
|
/**
|
|
1537
1588
|
* @remarks
|
|
1538
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1589
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1539
1590
|
*
|
|
1540
1591
|
* - `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.
|
|
1541
|
-
* - `private`: private network. Nodes in cloud node pool connect
|
|
1592
|
+
* - `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.
|
|
1542
1593
|
*
|
|
1543
1594
|
* @example
|
|
1544
1595
|
* basic
|
|
@@ -1546,7 +1597,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1546
1597
|
interconnectMode?: string;
|
|
1547
1598
|
/**
|
|
1548
1599
|
* @remarks
|
|
1549
|
-
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
1600
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
1550
1601
|
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
1551
1602
|
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
1552
1603
|
*
|
|
@@ -1556,17 +1607,17 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1556
1607
|
intranet?: boolean;
|
|
1557
1608
|
/**
|
|
1558
1609
|
* @remarks
|
|
1559
|
-
* The cluster configurations.
|
|
1610
|
+
* The cluster-related configurations.
|
|
1560
1611
|
*/
|
|
1561
1612
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1562
1613
|
/**
|
|
1563
1614
|
* @remarks
|
|
1564
|
-
* The
|
|
1615
|
+
* The configuration of the managed node pool feature.
|
|
1565
1616
|
*/
|
|
1566
1617
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1567
1618
|
/**
|
|
1568
1619
|
* @remarks
|
|
1569
|
-
* **[Deprecated]** The maximum number of nodes
|
|
1620
|
+
* **[Deprecated]** The maximum number of nodes allowed in an edge node pool.
|
|
1570
1621
|
*
|
|
1571
1622
|
* @example
|
|
1572
1623
|
* null
|