@alicloud/cs20151215 6.7.1 → 7.0.1
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 +6 -6
- package/dist/client.js +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -263
- package/dist/models/CreateClusterNodePoolRequest.js +1 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +235 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +92 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +4 -1
- package/dist/models/InstallNodePoolComponentsRequest.js +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +8 -5
- package/dist/models/Nodepool.js +1 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -3
- package/dist/models/UpdateNodePoolComponentRequest.js +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +4 -3
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/CreateClusterNodePoolRequest.ts +268 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +236 -233
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +93 -89
- package/src/models/InstallNodePoolComponentsRequest.ts +5 -2
- package/src/models/Nodepool.ts +9 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +7 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +6 -3
|
@@ -9,10 +9,10 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
*
|
|
12
|
+
* Whether to enable intelligent managed mode.
|
|
13
13
|
* Valid values:
|
|
14
|
-
* - true:
|
|
15
|
-
* - false:
|
|
14
|
+
* - true: enable intelligent managed mode. Can only be enabled when the cluster has intelligent managed mode enabled.
|
|
15
|
+
* - false: disable intelligent managed mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -32,9 +32,9 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
32
32
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* [
|
|
35
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* Maximum EIP bandwidth. Unit: Mbps.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* null
|
|
@@ -44,11 +44,11 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
44
44
|
eipBandwidth?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* [
|
|
47
|
+
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
49
|
+
* EIP billing method. Valid values:
|
|
50
50
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
51
|
-
* - `PayByTraffic`: pay-by-
|
|
51
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
52
52
|
*
|
|
53
53
|
* Default value: `PayByBandwidth`.
|
|
54
54
|
*
|
|
@@ -60,11 +60,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
60
60
|
eipInternetChargeType?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
*
|
|
63
|
+
* Whether to enable auto scaling. Valid values:
|
|
64
64
|
*
|
|
65
|
-
* - `true`: enables
|
|
65
|
+
* - `true`: enables auto scaling for the node pool. When cluster capacity cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later enable instant node scaling by default;
|
|
66
|
+
* clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
66
67
|
*
|
|
67
|
-
* - `false`: disables
|
|
68
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count, always maintaining the node count at the desired number.
|
|
68
69
|
*
|
|
69
70
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
71
|
*
|
|
@@ -76,13 +77,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
77
|
enable?: boolean;
|
|
77
78
|
/**
|
|
78
79
|
* @remarks
|
|
79
|
-
* [
|
|
80
|
+
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
80
81
|
*
|
|
81
|
-
*
|
|
82
|
+
* Whether to bind an EIP. Valid values:
|
|
82
83
|
*
|
|
83
|
-
* - `true`:
|
|
84
|
+
* - `true`: bind an EIP.
|
|
84
85
|
*
|
|
85
|
-
* - `false`:
|
|
86
|
+
* - `false`: do not bind an EIP.
|
|
86
87
|
*
|
|
87
88
|
* Default value: `false`.
|
|
88
89
|
*
|
|
@@ -94,7 +95,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
94
95
|
isBondEip?: boolean;
|
|
95
96
|
/**
|
|
96
97
|
* @remarks
|
|
97
|
-
*
|
|
98
|
+
* Maximum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
98
99
|
*
|
|
99
100
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
100
101
|
*
|
|
@@ -104,12 +105,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
104
105
|
maxInstances?: number;
|
|
105
106
|
/**
|
|
106
107
|
* @remarks
|
|
107
|
-
*
|
|
108
|
+
* Minimum number of instances that can be scaled in the node pool, excluding existing instances. Takes effect only when `enable=true`.
|
|
108
109
|
*
|
|
109
110
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
110
111
|
*
|
|
111
|
-
* > -
|
|
112
|
-
* > -
|
|
112
|
+
* > - When the minimum number of instances is not 0, the corresponding number of ECS instances will be automatically created after the scaling group takes effect.
|
|
113
|
+
* > - It is recommended that the maximum number of instances is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be directly scaled in after auto scaling takes effect.
|
|
113
114
|
*
|
|
114
115
|
* @example
|
|
115
116
|
* 1
|
|
@@ -117,18 +118,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
117
118
|
minInstances?: number;
|
|
118
119
|
/**
|
|
119
120
|
* @remarks
|
|
120
|
-
*
|
|
121
|
+
* Auto scaling instance type. Takes effect only when `enable=true`. Valid values:
|
|
121
122
|
*
|
|
122
|
-
* - `cpu`:
|
|
123
|
+
* - `cpu`: standard instance type.
|
|
123
124
|
*
|
|
124
125
|
* - `gpu`: GPU instance type.
|
|
125
126
|
*
|
|
126
|
-
* - `gpushare`: GPU
|
|
127
|
+
* - `gpushare`: GPU sharing type.
|
|
127
128
|
*
|
|
128
|
-
* - `spot`:
|
|
129
|
+
* - `spot`: preemptible instance type.
|
|
129
130
|
*
|
|
130
131
|
* Default value: `cpu`.
|
|
131
|
-
* >Notice: This
|
|
132
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
132
133
|
*
|
|
133
134
|
* @example
|
|
134
135
|
* cpu
|
|
@@ -148,7 +149,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
148
149
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
150
|
/**
|
|
150
151
|
* @remarks
|
|
151
|
-
*
|
|
152
|
+
* Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
152
153
|
*
|
|
153
154
|
* @example
|
|
154
155
|
* i1169130516633730****
|
|
@@ -156,7 +157,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
156
157
|
clusterId?: string;
|
|
157
158
|
/**
|
|
158
159
|
* @remarks
|
|
159
|
-
*
|
|
160
|
+
* Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
160
161
|
*
|
|
161
162
|
* @example
|
|
162
163
|
* ng-ec3c96ff0aa****
|
|
@@ -176,9 +177,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
176
177
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
177
178
|
/**
|
|
178
179
|
* @remarks
|
|
179
|
-
* [
|
|
180
|
+
* [Deprecated]
|
|
180
181
|
*
|
|
181
|
-
*
|
|
182
|
+
* Network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
182
183
|
*
|
|
183
184
|
* @example
|
|
184
185
|
* null
|
|
@@ -186,9 +187,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
186
187
|
bandwidth?: number;
|
|
187
188
|
/**
|
|
188
189
|
* @remarks
|
|
189
|
-
* [
|
|
190
|
+
* [Deprecated]
|
|
190
191
|
*
|
|
191
|
-
*
|
|
192
|
+
* CCN instance ID (CCN ID) bound to the enhanced edge node pool.
|
|
192
193
|
*
|
|
193
194
|
* @example
|
|
194
195
|
* null
|
|
@@ -196,9 +197,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
196
197
|
ccnId?: string;
|
|
197
198
|
/**
|
|
198
199
|
* @remarks
|
|
199
|
-
* [
|
|
200
|
+
* [Deprecated]
|
|
200
201
|
*
|
|
201
|
-
*
|
|
202
|
+
* Region of the CCN instance bound to the enhanced edge node pool.
|
|
202
203
|
*
|
|
203
204
|
* @example
|
|
204
205
|
* null
|
|
@@ -206,9 +207,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
206
207
|
ccnRegionId?: string;
|
|
207
208
|
/**
|
|
208
209
|
* @remarks
|
|
209
|
-
* [
|
|
210
|
+
* [Deprecated]
|
|
210
211
|
*
|
|
211
|
-
*
|
|
212
|
+
* CEN instance ID (CEN ID) bound to the enhanced edge node pool.
|
|
212
213
|
*
|
|
213
214
|
* @example
|
|
214
215
|
* null
|
|
@@ -216,9 +217,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
216
217
|
cenId?: string;
|
|
217
218
|
/**
|
|
218
219
|
* @remarks
|
|
219
|
-
* [
|
|
220
|
+
* [Deprecated]
|
|
220
221
|
*
|
|
221
|
-
*
|
|
222
|
+
* Subscription duration of the enhanced edge node pool. Unit: months.
|
|
222
223
|
*
|
|
223
224
|
* @example
|
|
224
225
|
* null
|
|
@@ -238,11 +239,11 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
238
239
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
239
240
|
/**
|
|
240
241
|
* @remarks
|
|
241
|
-
*
|
|
242
|
+
* Whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information for created ECS instances in the CloudMonitor console. We recommend enabling this. Valid values:
|
|
242
243
|
*
|
|
243
|
-
* - `true`:
|
|
244
|
+
* - `true`: install CloudMonitor on ECS nodes.
|
|
244
245
|
*
|
|
245
|
-
* - `false`:
|
|
246
|
+
* - `false`: do not install CloudMonitor on ECS nodes.
|
|
246
247
|
*
|
|
247
248
|
* Default value: `false`.
|
|
248
249
|
*
|
|
@@ -252,10 +253,10 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
252
253
|
cmsEnabled?: boolean;
|
|
253
254
|
/**
|
|
254
255
|
* @remarks
|
|
255
|
-
*
|
|
256
|
+
* Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
256
257
|
*
|
|
257
|
-
* - `static`: allows
|
|
258
|
-
* - `none`:
|
|
258
|
+
* - `static`: allows enhanced CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
|
|
259
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
259
260
|
*
|
|
260
261
|
* Default value: `none`.
|
|
261
262
|
*
|
|
@@ -265,27 +266,27 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
265
266
|
cpuPolicy?: string;
|
|
266
267
|
/**
|
|
267
268
|
* @remarks
|
|
268
|
-
*
|
|
269
|
+
* Node labels. Add labels to Kubernetes cluster nodes.
|
|
269
270
|
*/
|
|
270
271
|
labels?: Tag[];
|
|
271
272
|
/**
|
|
272
273
|
* @remarks
|
|
273
|
-
*
|
|
274
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address
|
|
274
|
+
* Custom node name. After setting a custom node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
275
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with "-" replacing "." in the IP address, and does not include the prefix or suffix.
|
|
275
276
|
*
|
|
276
|
-
*
|
|
277
|
+
* A node name consists of three parts: prefix, node IP address, and suffix:
|
|
277
278
|
*
|
|
278
|
-
* -
|
|
279
|
+
* - Total length: 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
279
280
|
*
|
|
280
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with
|
|
281
|
-
* - The prefix is required (ECS restriction)
|
|
282
|
-
* - The node IP is the
|
|
281
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
282
|
+
* - The prefix is required (ECS restriction) and the suffix is optional.
|
|
283
|
+
* - The node IP is the complete private IP address of the node.
|
|
283
284
|
*
|
|
284
285
|
* Example: If the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
285
286
|
*
|
|
286
|
-
* - For
|
|
287
|
+
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
287
288
|
*
|
|
288
|
-
* - For
|
|
289
|
+
* - For Windows nodes, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
289
290
|
*
|
|
290
291
|
* @example
|
|
291
292
|
* aliyun.com192.XX.YY.55test
|
|
@@ -293,7 +294,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
293
294
|
nodeNameMode?: string;
|
|
294
295
|
/**
|
|
295
296
|
* @remarks
|
|
296
|
-
*
|
|
297
|
+
* Instance pre-custom data. Before a node joins the cluster, the specified instance pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
297
298
|
*
|
|
298
299
|
* @example
|
|
299
300
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -301,11 +302,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
301
302
|
preUserData?: string;
|
|
302
303
|
/**
|
|
303
304
|
* @remarks
|
|
304
|
-
*
|
|
305
|
+
* Container runtime name. ACK supports the following three container runtimes.
|
|
305
306
|
*
|
|
306
|
-
* - containerd: recommended
|
|
307
|
-
* - Sandboxed-Container.runv: sandboxed container
|
|
308
|
-
* - docker: no longer maintained
|
|
307
|
+
* - containerd: recommended, supported by all cluster versions.
|
|
308
|
+
* - Sandboxed-Container.runv: sandboxed container with higher isolation, supported by clusters of version 1.31 or earlier.
|
|
309
|
+
* - docker: no longer maintained, supported by clusters of version 1.22 or earlier.
|
|
309
310
|
*
|
|
310
311
|
* Default value: containerd.
|
|
311
312
|
*
|
|
@@ -315,7 +316,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
315
316
|
runtime?: string;
|
|
316
317
|
/**
|
|
317
318
|
* @remarks
|
|
318
|
-
*
|
|
319
|
+
* Container runtime version.
|
|
319
320
|
*
|
|
320
321
|
* @example
|
|
321
322
|
* 1.6.38
|
|
@@ -323,12 +324,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
323
324
|
runtimeVersion?: string;
|
|
324
325
|
/**
|
|
325
326
|
* @remarks
|
|
326
|
-
*
|
|
327
|
+
* Taint configuration.
|
|
327
328
|
*/
|
|
328
329
|
taints?: Taint[];
|
|
329
330
|
/**
|
|
330
331
|
* @remarks
|
|
331
|
-
*
|
|
332
|
+
* Whether scaled-out nodes are unschedulable.
|
|
332
333
|
*
|
|
333
334
|
* - true: unschedulable.
|
|
334
335
|
*
|
|
@@ -340,7 +341,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
340
341
|
unschedulable?: boolean;
|
|
341
342
|
/**
|
|
342
343
|
* @remarks
|
|
343
|
-
*
|
|
344
|
+
* Instance custom data. After a node joins the cluster, the specified instance custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
344
345
|
*
|
|
345
346
|
* @example
|
|
346
347
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -360,17 +361,17 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
360
361
|
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
361
362
|
/**
|
|
362
363
|
* @remarks
|
|
363
|
-
*
|
|
364
|
+
* Whether node repair requires manual approval.
|
|
364
365
|
*/
|
|
365
366
|
approvalRequired?: boolean;
|
|
366
367
|
/**
|
|
367
368
|
* @remarks
|
|
368
|
-
*
|
|
369
|
+
* Whether to allow node restart. Takes effect only when `auto_repair=true`. Valid values:
|
|
369
370
|
*
|
|
370
|
-
* - `true`:
|
|
371
|
-
* - `false`:
|
|
371
|
+
* - `true`: allow node restart
|
|
372
|
+
* - `false`: do not allow node restart
|
|
372
373
|
*
|
|
373
|
-
* Default value: `true
|
|
374
|
+
* Default value: `true`
|
|
374
375
|
*
|
|
375
376
|
* @example
|
|
376
377
|
* true
|
|
@@ -390,9 +391,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
390
391
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
391
392
|
/**
|
|
392
393
|
* @remarks
|
|
393
|
-
*
|
|
394
|
-
* - `true`:
|
|
395
|
-
* - `false`:
|
|
394
|
+
* Whether to allow automatic kubelet upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
395
|
+
* - `true`: allow automatic kubelet upgrade.
|
|
396
|
+
* - `false`: do not allow automatic kubelet upgrade.
|
|
396
397
|
*
|
|
397
398
|
* Default value: `true`.
|
|
398
399
|
*
|
|
@@ -402,9 +403,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
402
403
|
autoUpgradeKubelet?: boolean;
|
|
403
404
|
/**
|
|
404
405
|
* @remarks
|
|
405
|
-
*
|
|
406
|
-
* - `true`:
|
|
407
|
-
* - `false`:
|
|
406
|
+
* Whether to allow automatic OS upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
407
|
+
* - `true`: allow automatic OS upgrade.
|
|
408
|
+
* - `false`: do not allow automatic OS upgrade.
|
|
408
409
|
*
|
|
409
410
|
*
|
|
410
411
|
* Default value: `false`.
|
|
@@ -415,9 +416,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
415
416
|
autoUpgradeOs?: boolean;
|
|
416
417
|
/**
|
|
417
418
|
* @remarks
|
|
418
|
-
*
|
|
419
|
-
* - `true`:
|
|
420
|
-
* - `false`:
|
|
419
|
+
* Whether to allow automatic runtime upgrade. Takes effect only when `auto_upgrade=true`. Valid values:
|
|
420
|
+
* - `true`: allow automatic runtime upgrade.
|
|
421
|
+
* - `false`: do not allow automatic runtime upgrade.
|
|
421
422
|
*
|
|
422
423
|
* Default value: `true`.
|
|
423
424
|
*
|
|
@@ -439,7 +440,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
439
440
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
440
441
|
/**
|
|
441
442
|
* @remarks
|
|
442
|
-
*
|
|
443
|
+
* Packages to exclude during vulnerability patching.
|
|
443
444
|
*
|
|
444
445
|
* Default value: `kernel`.
|
|
445
446
|
*
|
|
@@ -449,11 +450,11 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
449
450
|
excludePackages?: string;
|
|
450
451
|
/**
|
|
451
452
|
* @remarks
|
|
452
|
-
*
|
|
453
|
-
* - `true`:
|
|
454
|
-
* - `false`:
|
|
453
|
+
* Whether to allow node restart. Takes effect only when `auto_vul_fix=true`. Valid values:
|
|
454
|
+
* - `true`: allow node restart
|
|
455
|
+
* - `false`: do not allow node restart
|
|
455
456
|
*
|
|
456
|
-
* Default value: `true
|
|
457
|
+
* Default value: `true`
|
|
457
458
|
*
|
|
458
459
|
* @example
|
|
459
460
|
* false
|
|
@@ -461,7 +462,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
461
462
|
restartNode?: boolean;
|
|
462
463
|
/**
|
|
463
464
|
* @remarks
|
|
464
|
-
*
|
|
465
|
+
* Vulnerability levels allowed for automatic fixing, separated by commas, for example: `asap,later`. Supported vulnerability levels:
|
|
465
466
|
*
|
|
466
467
|
* - `asap`: high
|
|
467
468
|
* - `later`: medium
|
|
@@ -487,13 +488,13 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
487
488
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
488
489
|
/**
|
|
489
490
|
* @remarks
|
|
490
|
-
* [
|
|
491
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
491
492
|
*
|
|
492
|
-
*
|
|
493
|
+
* Whether to enable auto upgrade. Valid values:
|
|
493
494
|
*
|
|
494
|
-
* - `true`:
|
|
495
|
+
* - `true`: enable auto upgrade.
|
|
495
496
|
*
|
|
496
|
-
* - `false`:
|
|
497
|
+
* - `false`: disable auto upgrade.
|
|
497
498
|
*
|
|
498
499
|
* @example
|
|
499
500
|
* null
|
|
@@ -503,8 +504,8 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
503
504
|
autoUpgrade?: boolean;
|
|
504
505
|
/**
|
|
505
506
|
* @remarks
|
|
506
|
-
*
|
|
507
|
-
* Valid values: [1,1000\\]
|
|
507
|
+
* Maximum number of unavailable nodes.
|
|
508
|
+
* Valid values: [1,1000\\]
|
|
508
509
|
*
|
|
509
510
|
* Default value: 1.
|
|
510
511
|
*
|
|
@@ -514,11 +515,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
514
515
|
maxUnavailable?: number;
|
|
515
516
|
/**
|
|
516
517
|
* @remarks
|
|
517
|
-
*
|
|
518
|
+
* Number of extra nodes. Mutually exclusive with `surge_percentage`.
|
|
518
519
|
*
|
|
519
|
-
* Nodes become unavailable during
|
|
520
|
+
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
520
521
|
*
|
|
521
|
-
* >
|
|
522
|
+
* > It is recommended that the number of extra nodes does not exceed the current number of nodes.
|
|
522
523
|
*
|
|
523
524
|
* @example
|
|
524
525
|
* 0
|
|
@@ -526,9 +527,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
526
527
|
surge?: number;
|
|
527
528
|
/**
|
|
528
529
|
* @remarks
|
|
529
|
-
*
|
|
530
|
+
* Percentage of extra nodes. Mutually exclusive with `surge`.
|
|
530
531
|
*
|
|
531
|
-
* Number of extra nodes =
|
|
532
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
532
533
|
*
|
|
533
534
|
* @example
|
|
534
535
|
* 0
|
|
@@ -549,13 +550,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
549
550
|
autoFaultDiagnosis?: boolean;
|
|
550
551
|
/**
|
|
551
552
|
* @remarks
|
|
552
|
-
*
|
|
553
|
+
* Whether to automatically repair nodes. Takes effect only when `enable=true`.
|
|
553
554
|
*
|
|
554
|
-
* - `true`:
|
|
555
|
+
* - `true`: auto repair
|
|
555
556
|
*
|
|
556
|
-
* - `false`:
|
|
557
|
+
* - `false`: no auto repair
|
|
557
558
|
*
|
|
558
|
-
* Default value: `true
|
|
559
|
+
* Default value: `true`
|
|
559
560
|
*
|
|
560
561
|
* @example
|
|
561
562
|
* true
|
|
@@ -563,14 +564,14 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
563
564
|
autoRepair?: boolean;
|
|
564
565
|
/**
|
|
565
566
|
* @remarks
|
|
566
|
-
*
|
|
567
|
+
* Auto repair node policy.
|
|
567
568
|
*/
|
|
568
569
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
569
570
|
/**
|
|
570
571
|
* @remarks
|
|
571
|
-
*
|
|
572
|
-
* - `true`:
|
|
573
|
-
* - `false`:
|
|
572
|
+
* Whether to automatically upgrade nodes. Takes effect only when `enable=true`.
|
|
573
|
+
* - `true`: enable auto upgrade.
|
|
574
|
+
* - `false`: disable auto upgrade.
|
|
574
575
|
*
|
|
575
576
|
* Default value: `true`.
|
|
576
577
|
*
|
|
@@ -580,15 +581,15 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
580
581
|
autoUpgrade?: boolean;
|
|
581
582
|
/**
|
|
582
583
|
* @remarks
|
|
583
|
-
*
|
|
584
|
+
* Auto node upgrade policy.
|
|
584
585
|
*/
|
|
585
586
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
586
587
|
/**
|
|
587
588
|
* @remarks
|
|
588
|
-
*
|
|
589
|
+
* Whether to automatically fix CVE vulnerabilities. Takes effect only when `enable=true`.
|
|
589
590
|
*
|
|
590
|
-
* - `true`:
|
|
591
|
-
* - `false`:
|
|
591
|
+
* - `true`: allow automatic CVE fixing.
|
|
592
|
+
* - `false`: do not allow automatic CVE fixing.
|
|
592
593
|
*
|
|
593
594
|
* Default value: `true`.
|
|
594
595
|
*
|
|
@@ -598,16 +599,16 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
598
599
|
autoVulFix?: boolean;
|
|
599
600
|
/**
|
|
600
601
|
* @remarks
|
|
601
|
-
*
|
|
602
|
+
* Auto CVE fix policy.
|
|
602
603
|
*/
|
|
603
604
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
604
605
|
/**
|
|
605
606
|
* @remarks
|
|
606
|
-
*
|
|
607
|
+
* Whether to enable the managed feature for the node pool. Valid values:
|
|
607
608
|
*
|
|
608
|
-
* - `true`:
|
|
609
|
+
* - `true`: enable the managed feature.
|
|
609
610
|
*
|
|
610
|
-
* - `false`:
|
|
611
|
+
* - `false`: disable the managed feature. Other related configurations take effect only when enable=true.
|
|
611
612
|
*
|
|
612
613
|
* Default value: false.
|
|
613
614
|
*
|
|
@@ -617,9 +618,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
617
618
|
enable?: boolean;
|
|
618
619
|
/**
|
|
619
620
|
* @remarks
|
|
620
|
-
* [
|
|
621
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the parent level instead.
|
|
621
622
|
*
|
|
622
|
-
*
|
|
623
|
+
* Auto upgrade configuration. Takes effect only when `enable=true`.
|
|
623
624
|
*
|
|
624
625
|
* @deprecated
|
|
625
626
|
*/
|
|
@@ -638,10 +639,13 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
638
639
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
639
640
|
/**
|
|
640
641
|
* @remarks
|
|
641
|
-
*
|
|
642
|
+
* Node component custom configuration.
|
|
643
|
+
*
|
|
644
|
+
* @example
|
|
645
|
+
* {"cpuManagerPolicy":"static"}
|
|
642
646
|
*/
|
|
643
647
|
customConfig?: {
|
|
644
|
-
[key: string]:
|
|
648
|
+
[key: string]: any;
|
|
645
649
|
};
|
|
646
650
|
static names(): {
|
|
647
651
|
[key: string]: string;
|
|
@@ -657,12 +661,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
|
|
|
657
661
|
export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
658
662
|
/**
|
|
659
663
|
* @remarks
|
|
660
|
-
*
|
|
664
|
+
* Node component configuration.
|
|
661
665
|
*/
|
|
662
666
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
663
667
|
/**
|
|
664
668
|
* @remarks
|
|
665
|
-
*
|
|
669
|
+
* Node component name.
|
|
666
670
|
*
|
|
667
671
|
* @example
|
|
668
672
|
* kubelet
|
|
@@ -670,7 +674,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
670
674
|
name?: string;
|
|
671
675
|
/**
|
|
672
676
|
* @remarks
|
|
673
|
-
*
|
|
677
|
+
* Node component version.
|
|
674
678
|
*
|
|
675
679
|
* @example
|
|
676
680
|
* 1.33.3-aliyun.1
|
|
@@ -707,7 +711,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
707
711
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
708
712
|
/**
|
|
709
713
|
* @remarks
|
|
710
|
-
*
|
|
714
|
+
* Node pool name.
|
|
711
715
|
*
|
|
712
716
|
* This parameter is required.
|
|
713
717
|
*
|
|
@@ -717,9 +721,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
717
721
|
name?: string;
|
|
718
722
|
/**
|
|
719
723
|
* @remarks
|
|
720
|
-
*
|
|
724
|
+
* Resource group ID of the node pool. Instances created by the node pool will belong to this resource group.
|
|
721
725
|
*
|
|
722
|
-
* A resource can belong to
|
|
726
|
+
* A resource can only belong to one resource group. Based on different business scenarios, you can map resource groups to concepts such as projects, applications, or organizations.
|
|
723
727
|
*
|
|
724
728
|
* @example
|
|
725
729
|
* rg-acfmyvw3wjmb****
|
|
@@ -727,9 +731,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
727
731
|
resourceGroupId?: string;
|
|
728
732
|
/**
|
|
729
733
|
* @remarks
|
|
730
|
-
*
|
|
734
|
+
* Node pool type. Valid values:
|
|
731
735
|
*
|
|
732
|
-
* - `ess`:
|
|
736
|
+
* - `ess`: standard node pool (includes managed and auto scaling features).
|
|
733
737
|
* - `edge`: edge node pool.
|
|
734
738
|
* - `lingjun`: Lingjun node pool.
|
|
735
739
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -752,7 +756,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
752
756
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
753
757
|
/**
|
|
754
758
|
* @remarks
|
|
755
|
-
*
|
|
759
|
+
* Private pool ID. When `match_criteria` is set to `Target`, you must further specify the private pool ID.
|
|
756
760
|
*
|
|
757
761
|
* @example
|
|
758
762
|
* eap-bp67acfmxazb4****
|
|
@@ -760,10 +764,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
760
764
|
id?: string;
|
|
761
765
|
/**
|
|
762
766
|
* @remarks
|
|
763
|
-
*
|
|
764
|
-
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no
|
|
765
|
-
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified
|
|
766
|
-
* - `None`:
|
|
767
|
+
* Private pool type. Private pool capacity option for instance startup. After an Elasticity Assurance or Capacity Reservation takes effect, private pool capacity is generated for instance startup. Valid values:
|
|
768
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, public pool resources are used.
|
|
769
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified capacity is unavailable, instance creation fails.
|
|
770
|
+
* - `None`: do not use mode. Instances will not use private pool capacity.
|
|
767
771
|
*
|
|
768
772
|
* @example
|
|
769
773
|
* Target
|
|
@@ -783,15 +787,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
783
787
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
784
788
|
/**
|
|
785
789
|
* @remarks
|
|
786
|
-
*
|
|
790
|
+
* List of private pool IDs, i.e., Elasticity Assurance IDs or Capacity Reservation IDs. Only Target mode private pool IDs can be passed. Valid values of N: 1 to 20.
|
|
787
791
|
*/
|
|
788
792
|
privatePoolIds?: string[];
|
|
789
793
|
/**
|
|
790
794
|
* @remarks
|
|
791
|
-
*
|
|
792
|
-
* PrivatePoolFirst: private pool first. When this policy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private
|
|
793
|
-
* PrivatePoolOnly: private pool only. When this policy is selected,
|
|
794
|
-
* None:
|
|
795
|
+
* Resource pool policy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, and public pools, for instance startup selection. Valid values:
|
|
796
|
+
* PrivatePoolFirst: private pool first. When this policy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no eligible private pool is available, public pools are used to create instances.
|
|
797
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance creation fails.
|
|
798
|
+
* None: do not use resource pool policy.
|
|
795
799
|
* Default value: None.
|
|
796
800
|
*
|
|
797
801
|
* @example
|
|
@@ -812,7 +816,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
812
816
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
813
817
|
/**
|
|
814
818
|
* @remarks
|
|
815
|
-
*
|
|
819
|
+
* Preemptible instance type.
|
|
816
820
|
*
|
|
817
821
|
* @example
|
|
818
822
|
* ecs.c6.large
|
|
@@ -820,12 +824,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
820
824
|
instanceType?: string;
|
|
821
825
|
/**
|
|
822
826
|
* @remarks
|
|
823
|
-
*
|
|
827
|
+
* Maximum price per instance.
|
|
824
828
|
* <props="china">Unit: CNY/hour.
|
|
825
829
|
*
|
|
826
830
|
*
|
|
827
831
|
*
|
|
828
|
-
* <props="intl">Unit: USD/hour
|
|
832
|
+
* <props="intl">Unit: USD/hour.
|
|
829
833
|
*
|
|
830
834
|
* @example
|
|
831
835
|
* 0.39
|
|
@@ -845,7 +849,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
845
849
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
846
850
|
/**
|
|
847
851
|
* @remarks
|
|
848
|
-
*
|
|
852
|
+
* Tag key.
|
|
849
853
|
*
|
|
850
854
|
* @example
|
|
851
855
|
* node-k-1
|
|
@@ -853,7 +857,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
853
857
|
key?: string;
|
|
854
858
|
/**
|
|
855
859
|
* @remarks
|
|
856
|
-
*
|
|
860
|
+
* Tag value.
|
|
857
861
|
*
|
|
858
862
|
* @example
|
|
859
863
|
* node-v-1
|
|
@@ -873,10 +877,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
873
877
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
874
878
|
/**
|
|
875
879
|
* @remarks
|
|
876
|
-
*
|
|
880
|
+
* Whether to enable auto-renewal for nodes in the node pool. Takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
877
881
|
*
|
|
878
|
-
* - `true`:
|
|
879
|
-
* - `false`:
|
|
882
|
+
* - `true`: enable auto-renewal.
|
|
883
|
+
* - `false`: disable auto-renewal.
|
|
880
884
|
*
|
|
881
885
|
* Default value: `false`.
|
|
882
886
|
*
|
|
@@ -886,7 +890,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
886
890
|
autoRenew?: boolean;
|
|
887
891
|
/**
|
|
888
892
|
* @remarks
|
|
889
|
-
*
|
|
893
|
+
* Duration of each auto-renewal. Valid values:
|
|
890
894
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
891
895
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
892
896
|
*
|
|
@@ -898,7 +902,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
898
902
|
autoRenewPeriod?: number;
|
|
899
903
|
/**
|
|
900
904
|
* @remarks
|
|
901
|
-
* [
|
|
905
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
902
906
|
*
|
|
903
907
|
* @example
|
|
904
908
|
* null
|
|
@@ -908,10 +912,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
908
912
|
cisEnabled?: boolean;
|
|
909
913
|
/**
|
|
910
914
|
* @remarks
|
|
911
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`,
|
|
915
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when preemptible instances cannot be created due to price or inventory constraints. Valid values:
|
|
912
916
|
*
|
|
913
|
-
* - `true`:
|
|
914
|
-
* - `false`:
|
|
917
|
+
* - `true`: allow automatic creation of pay-as-you-go instances.
|
|
918
|
+
* - `false`: do not allow automatic creation of pay-as-you-go instances.
|
|
915
919
|
*
|
|
916
920
|
* @example
|
|
917
921
|
* true
|
|
@@ -919,15 +923,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
919
923
|
compensateWithOnDemand?: boolean;
|
|
920
924
|
/**
|
|
921
925
|
* @remarks
|
|
922
|
-
*
|
|
926
|
+
* Data disk configuration for nodes in the node pool.
|
|
923
927
|
*/
|
|
924
928
|
dataDisks?: DataDisk[];
|
|
925
929
|
/**
|
|
926
930
|
* @remarks
|
|
927
|
-
*
|
|
931
|
+
* Deployment set ID. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and disaster recovery capabilities. When creating ECS instances in a deployment set, instances are distributed across the specified region based on the pre-configured deployment policy.
|
|
928
932
|
*
|
|
929
933
|
*
|
|
930
|
-
* >Notice: After
|
|
934
|
+
* >Notice: After a deployment set is selected, the maximum number of nodes in the node pool is limited. The default upper limit for nodes in a deployment set is 20 × number of zones (the number of zones is determined by vSwitches). Choose carefully and ensure sufficient quota in the deployment set to avoid node creation failures.
|
|
931
935
|
*
|
|
932
936
|
* @example
|
|
933
937
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -935,11 +939,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
935
939
|
deploymentsetId?: string;
|
|
936
940
|
/**
|
|
937
941
|
* @remarks
|
|
938
|
-
*
|
|
942
|
+
* Desired number of nodes in the node pool.
|
|
939
943
|
*
|
|
940
|
-
*
|
|
944
|
+
* The total number of nodes that the node pool should maintain. We recommend configuring at least 2 nodes to ensure proper running of cluster components. You can scale in or out the node pool by adjusting the desired node count.
|
|
941
945
|
*
|
|
942
|
-
* If
|
|
946
|
+
* If no nodes need to be created, set this to 0 and manually adjust the node count later.
|
|
943
947
|
*
|
|
944
948
|
* @example
|
|
945
949
|
* 0
|
|
@@ -947,12 +951,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
947
951
|
desiredSize?: number;
|
|
948
952
|
/**
|
|
949
953
|
* @remarks
|
|
950
|
-
*
|
|
954
|
+
* Block device initialization configuration.
|
|
951
955
|
*/
|
|
952
956
|
diskInit?: DiskInit[];
|
|
953
957
|
/**
|
|
954
958
|
* @remarks
|
|
955
|
-
*
|
|
959
|
+
* Custom image ID. The system-provided image is used by default.
|
|
956
960
|
*
|
|
957
961
|
* @example
|
|
958
962
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -960,13 +964,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
960
964
|
imageId?: string;
|
|
961
965
|
/**
|
|
962
966
|
* @remarks
|
|
963
|
-
*
|
|
967
|
+
* OS image type. Valid values:
|
|
964
968
|
*
|
|
965
969
|
* - `AliyunLinux`: Alinux2 image.
|
|
966
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI
|
|
970
|
+
* - `AliyunLinuxSecurity`: Alinux2 image UEFI version.
|
|
967
971
|
* - `AliyunLinux3`: Alinux3 image.
|
|
968
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM
|
|
969
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI
|
|
972
|
+
* - `AliyunLinux3Arm64`: Alinux3 image ARM version.
|
|
973
|
+
* - `AliyunLinux3Security`: Alinux3 image UEFI version.
|
|
970
974
|
* - `CentOS`: CentOS image.
|
|
971
975
|
* - `Windows`: Windows image.
|
|
972
976
|
* - `WindowsCore`: WindowsCore image.
|
|
@@ -979,11 +983,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
979
983
|
imageType?: string;
|
|
980
984
|
/**
|
|
981
985
|
* @remarks
|
|
982
|
-
*
|
|
986
|
+
* Billing method for nodes in the node pool. Valid values:
|
|
983
987
|
*
|
|
984
|
-
* - `PrePaid`: subscription.
|
|
988
|
+
* - `PrePaid`: subscription instance.
|
|
985
989
|
*
|
|
986
|
-
* - `PostPaid`: pay-as-you-go.
|
|
990
|
+
* - `PostPaid`: pay-as-you-go instance.
|
|
987
991
|
*
|
|
988
992
|
* Default value: `PostPaid`.
|
|
989
993
|
*
|
|
@@ -995,32 +999,32 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
995
999
|
instanceChargeType?: string;
|
|
996
1000
|
/**
|
|
997
1001
|
* @remarks
|
|
998
|
-
*
|
|
1002
|
+
* ECS instance metadata access configuration.
|
|
999
1003
|
*/
|
|
1000
1004
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1001
1005
|
/**
|
|
1002
1006
|
* @remarks
|
|
1003
|
-
*
|
|
1007
|
+
* Instance attribute configuration.
|
|
1004
1008
|
*/
|
|
1005
1009
|
instancePatterns?: InstancePatterns[];
|
|
1006
1010
|
/**
|
|
1007
1011
|
* @remarks
|
|
1008
|
-
*
|
|
1012
|
+
* List of node instance types for the node pool. When the node pool scales out, instance types that meet the requirements are selected from the specified list to create instances.
|
|
1009
1013
|
*
|
|
1010
|
-
*
|
|
1014
|
+
* Supported number of instance types: [1,10]
|
|
1011
1015
|
*
|
|
1012
1016
|
*
|
|
1013
|
-
* > To ensure high availability, select multiple instance types.
|
|
1017
|
+
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
1014
1018
|
*
|
|
1015
1019
|
* This parameter is required.
|
|
1016
1020
|
*/
|
|
1017
1021
|
instanceTypes?: string[];
|
|
1018
1022
|
/**
|
|
1019
1023
|
* @remarks
|
|
1020
|
-
*
|
|
1024
|
+
* Public IP billing method. Valid values:
|
|
1021
1025
|
*
|
|
1022
1026
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1023
|
-
* - PayByTraffic: pay-by-
|
|
1027
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1024
1028
|
*
|
|
1025
1029
|
* @example
|
|
1026
1030
|
* PayByTraffic
|
|
@@ -1028,7 +1032,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1028
1032
|
internetChargeType?: string;
|
|
1029
1033
|
/**
|
|
1030
1034
|
* @remarks
|
|
1031
|
-
*
|
|
1035
|
+
* Maximum outbound public bandwidth for nodes. Unit: Mbps (Megabits per second). Valid values: [1,100\\].
|
|
1032
1036
|
*
|
|
1033
1037
|
* @example
|
|
1034
1038
|
* 5
|
|
@@ -1036,7 +1040,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1036
1040
|
internetMaxBandwidthOut?: number;
|
|
1037
1041
|
/**
|
|
1038
1042
|
* @remarks
|
|
1039
|
-
*
|
|
1043
|
+
* Key pair name for passwordless login. Mutually exclusive with `login_password`.
|
|
1040
1044
|
*
|
|
1041
1045
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1042
1046
|
*
|
|
@@ -1046,11 +1050,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1046
1050
|
keyPair?: string;
|
|
1047
1051
|
/**
|
|
1048
1052
|
* @remarks
|
|
1049
|
-
*
|
|
1053
|
+
* Whether the created ECS instances use a non-root user for login.
|
|
1050
1054
|
*
|
|
1051
|
-
* - true:
|
|
1055
|
+
* - true: log on as a non-root user (ecs-user).
|
|
1052
1056
|
*
|
|
1053
|
-
* - false:
|
|
1057
|
+
* - false: log on as the root user.
|
|
1054
1058
|
*
|
|
1055
1059
|
* @example
|
|
1056
1060
|
* true
|
|
@@ -1058,7 +1062,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1058
1062
|
loginAsNonRoot?: boolean;
|
|
1059
1063
|
/**
|
|
1060
1064
|
* @remarks
|
|
1061
|
-
*
|
|
1065
|
+
* SSH login password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1062
1066
|
*
|
|
1063
1067
|
* @example
|
|
1064
1068
|
* ****
|
|
@@ -1066,15 +1070,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1066
1070
|
loginPassword?: string;
|
|
1067
1071
|
/**
|
|
1068
1072
|
* @remarks
|
|
1069
|
-
*
|
|
1073
|
+
* Multi-zone scaling group ECS instance scaling policy. Valid values:
|
|
1070
1074
|
*
|
|
1071
|
-
* - `PRIORITY`: scales
|
|
1075
|
+
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used.
|
|
1072
1076
|
*
|
|
1073
|
-
* - `COST_OPTIMIZED`: attempts to create instances
|
|
1077
|
+
* - `COST_OPTIMIZED`: attempts to create instances from lowest to highest vCPU unit price. When multiple instance types with preemptible billing are configured, preemptible instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt creating pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
1074
1078
|
*
|
|
1075
|
-
*
|
|
1079
|
+
* > `COST_OPTIMIZED` takes effect only when multiple instance types or preemptible instances are configured.
|
|
1076
1080
|
*
|
|
1077
|
-
* - `BALANCE`: evenly
|
|
1081
|
+
* - `BALANCE`: evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) to rebalance resources.
|
|
1078
1082
|
*
|
|
1079
1083
|
* Default value: `PRIORITY`.
|
|
1080
1084
|
*
|
|
@@ -1084,7 +1088,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1084
1088
|
multiAzPolicy?: string;
|
|
1085
1089
|
/**
|
|
1086
1090
|
* @remarks
|
|
1087
|
-
*
|
|
1091
|
+
* Minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
|
|
1088
1092
|
*
|
|
1089
1093
|
* @example
|
|
1090
1094
|
* 0
|
|
@@ -1092,7 +1096,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1092
1096
|
onDemandBaseCapacity?: number;
|
|
1093
1097
|
/**
|
|
1094
1098
|
* @remarks
|
|
1095
|
-
*
|
|
1099
|
+
* Percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum pay-as-you-go instance requirement (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1096
1100
|
*
|
|
1097
1101
|
* @example
|
|
1098
1102
|
* 20
|
|
@@ -1100,7 +1104,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1100
1104
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1101
1105
|
/**
|
|
1102
1106
|
* @remarks
|
|
1103
|
-
*
|
|
1107
|
+
* Subscription duration for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1104
1108
|
*
|
|
1105
1109
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1106
1110
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1111,7 +1115,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1111
1115
|
period?: number;
|
|
1112
1116
|
/**
|
|
1113
1117
|
* @remarks
|
|
1114
|
-
*
|
|
1118
|
+
* Billing period unit for nodes in the node pool. Takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1115
1119
|
*
|
|
1116
1120
|
* - `Month`: billed on a monthly basis.
|
|
1117
1121
|
* - `Week`: billed on a weekly basis.
|
|
@@ -1124,9 +1128,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1124
1128
|
periodUnit?: string;
|
|
1125
1129
|
/**
|
|
1126
1130
|
* @remarks
|
|
1127
|
-
* [
|
|
1131
|
+
* [Deprecated] Use the `image_type` parameter instead.
|
|
1128
1132
|
*
|
|
1129
|
-
*
|
|
1133
|
+
* OS distribution. Valid values:
|
|
1130
1134
|
* - `CentOS`
|
|
1131
1135
|
* - `AliyunLinux`
|
|
1132
1136
|
* - `Windows`
|
|
@@ -1142,17 +1146,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1142
1146
|
platform?: string;
|
|
1143
1147
|
/**
|
|
1144
1148
|
* @remarks
|
|
1145
|
-
*
|
|
1149
|
+
* Private pool configuration.
|
|
1146
1150
|
*/
|
|
1147
1151
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1148
1152
|
/**
|
|
1149
1153
|
* @remarks
|
|
1150
|
-
*
|
|
1154
|
+
* Worker RAM role name.
|
|
1151
1155
|
*
|
|
1152
|
-
* *
|
|
1153
|
-
* *
|
|
1156
|
+
* * When left empty, the default Worker RAM role created by the cluster is used.
|
|
1157
|
+
* * When specified, the RAM role must be a **normal service role**, and its **trusted service** must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1154
1158
|
*
|
|
1155
|
-
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later
|
|
1159
|
+
* >Notice: This parameter is supported only for ACK managed clusters of version 1.22 or later.
|
|
1156
1160
|
*
|
|
1157
1161
|
* @example
|
|
1158
1162
|
* example-role
|
|
@@ -1160,22 +1164,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1160
1164
|
ramRoleName?: string;
|
|
1161
1165
|
/**
|
|
1162
1166
|
* @remarks
|
|
1163
|
-
*
|
|
1167
|
+
* RDS instance list.
|
|
1164
1168
|
*/
|
|
1165
1169
|
rdsInstances?: string[];
|
|
1166
1170
|
/**
|
|
1167
1171
|
* @remarks
|
|
1168
|
-
*
|
|
1172
|
+
* Resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
1169
1173
|
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1170
1174
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1171
1175
|
*/
|
|
1172
1176
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1173
1177
|
/**
|
|
1174
1178
|
* @remarks
|
|
1175
|
-
*
|
|
1179
|
+
* Scaling group mode. Valid values:
|
|
1176
1180
|
*
|
|
1177
1181
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1178
|
-
* - `recycle`:
|
|
1182
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting ECS instances, improving the speed of subsequent scaling (compute resources are not charged when stopped, only storage fees are charged, except for local disk instance types).
|
|
1179
1183
|
*
|
|
1180
1184
|
* Default value: `release`.
|
|
1181
1185
|
*
|
|
@@ -1185,7 +1189,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1185
1189
|
scalingPolicy?: string;
|
|
1186
1190
|
/**
|
|
1187
1191
|
* @remarks
|
|
1188
|
-
*
|
|
1192
|
+
* Security group ID for the node pool. Mutually exclusive with `security_group_ids`. We recommend using `security_group_ids`.
|
|
1189
1193
|
*
|
|
1190
1194
|
* @example
|
|
1191
1195
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1195,15 +1199,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1195
1199
|
securityGroupId?: string;
|
|
1196
1200
|
/**
|
|
1197
1201
|
* @remarks
|
|
1198
|
-
*
|
|
1202
|
+
* List of security group IDs. Mutually exclusive with `security_group_id`. We recommend using `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes priority.
|
|
1199
1203
|
*/
|
|
1200
1204
|
securityGroupIds?: string[];
|
|
1201
1205
|
/**
|
|
1202
1206
|
* @remarks
|
|
1203
|
-
*
|
|
1207
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1204
1208
|
*
|
|
1205
|
-
* - `true`:
|
|
1206
|
-
* - `false`:
|
|
1209
|
+
* - `true`: enable Alibaba Cloud OS security hardening.
|
|
1210
|
+
* - `false`: disable Alibaba Cloud OS security hardening.
|
|
1207
1211
|
*
|
|
1208
1212
|
* Default value: `false`.
|
|
1209
1213
|
*
|
|
@@ -1213,7 +1217,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1213
1217
|
securityHardeningOs?: boolean;
|
|
1214
1218
|
/**
|
|
1215
1219
|
* @remarks
|
|
1216
|
-
*
|
|
1220
|
+
* Whether to enable China classified protection of cybersecurity (China MLPS) hardening. China MLPS hardening can be enabled for nodes only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides China MLPS 2.0 Level III baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images.
|
|
1217
1221
|
*
|
|
1218
1222
|
* @example
|
|
1219
1223
|
* false
|
|
@@ -1221,7 +1225,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1221
1225
|
socEnabled?: boolean;
|
|
1222
1226
|
/**
|
|
1223
1227
|
* @remarks
|
|
1224
|
-
*
|
|
1228
|
+
* Number of available instance types. The scaling group creates preemptible instances in a balanced manner among the lowest-cost instance types. Valid values: [1,10\\].
|
|
1225
1229
|
*
|
|
1226
1230
|
* @example
|
|
1227
1231
|
* 5
|
|
@@ -1229,10 +1233,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1229
1233
|
spotInstancePools?: number;
|
|
1230
1234
|
/**
|
|
1231
1235
|
* @remarks
|
|
1232
|
-
*
|
|
1236
|
+
* Whether to enable supplementing preemptible instances. When enabled, the scaling group attempts to create new instances to replace preemptible instances that are about to be reclaimed. Valid values:
|
|
1233
1237
|
*
|
|
1234
|
-
* - `true`:
|
|
1235
|
-
* - `false`:
|
|
1238
|
+
* - `true`: enable supplementing preemptible instances.
|
|
1239
|
+
* - `false`: disable supplementing preemptible instances.
|
|
1236
1240
|
*
|
|
1237
1241
|
* @example
|
|
1238
1242
|
* false
|
|
@@ -1240,20 +1244,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1240
1244
|
spotInstanceRemedy?: boolean;
|
|
1241
1245
|
/**
|
|
1242
1246
|
* @remarks
|
|
1243
|
-
*
|
|
1247
|
+
* Market price range configuration for a single preemptible instance type.
|
|
1244
1248
|
*/
|
|
1245
1249
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1246
1250
|
/**
|
|
1247
1251
|
* @remarks
|
|
1248
|
-
*
|
|
1252
|
+
* Preemptible instance type. Valid values:
|
|
1249
1253
|
*
|
|
1250
|
-
* - `NoSpot`: non-
|
|
1254
|
+
* - `NoSpot`: non-preemptible instance.
|
|
1251
1255
|
*
|
|
1252
|
-
* - `SpotWithPriceLimit`:
|
|
1256
|
+
* - `SpotWithPriceLimit`: set a maximum price for preemptible instances.
|
|
1253
1257
|
*
|
|
1254
1258
|
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1255
1259
|
*
|
|
1256
|
-
* For more information, see [
|
|
1260
|
+
* For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1257
1261
|
*
|
|
1258
1262
|
* @example
|
|
1259
1263
|
* NoSpot
|
|
@@ -1261,11 +1265,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1261
1265
|
spotStrategy?: string;
|
|
1262
1266
|
/**
|
|
1263
1267
|
* @remarks
|
|
1264
|
-
*
|
|
1265
|
-
* - true:
|
|
1266
|
-
* - false:
|
|
1268
|
+
* Whether to enable burst (performance bursting) for the node system disk. Valid values:
|
|
1269
|
+
* - true: enable.
|
|
1270
|
+
* - false: disable.
|
|
1267
1271
|
*
|
|
1268
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
1272
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1269
1273
|
*
|
|
1270
1274
|
* @example
|
|
1271
1275
|
* true
|
|
@@ -1273,17 +1277,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1273
1277
|
systemDiskBurstingEnabled?: boolean;
|
|
1274
1278
|
/**
|
|
1275
1279
|
* @remarks
|
|
1276
|
-
*
|
|
1280
|
+
* Multiple disk types for the system disk. When a higher-priority disk type is unavailable, the next-priority disk type is automatically used to create the system disk.
|
|
1277
1281
|
*/
|
|
1278
1282
|
systemDiskCategories?: string[];
|
|
1279
1283
|
/**
|
|
1280
1284
|
* @remarks
|
|
1281
|
-
*
|
|
1282
|
-
* - `cloud_efficiency`: ultra
|
|
1285
|
+
* Node system disk type. Valid values:
|
|
1286
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1283
1287
|
* - `cloud_ssd`: standard SSD.
|
|
1284
|
-
* - `cloud_essd`:
|
|
1285
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1286
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1288
|
+
* - `cloud_essd`: ESSD.
|
|
1289
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1290
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1287
1291
|
*
|
|
1288
1292
|
* Default value: `cloud_efficiency`.
|
|
1289
1293
|
*
|
|
@@ -1293,7 +1297,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1293
1297
|
systemDiskCategory?: string;
|
|
1294
1298
|
/**
|
|
1295
1299
|
* @remarks
|
|
1296
|
-
*
|
|
1300
|
+
* Encryption algorithm used by the system disk. Valid values: aes-256.
|
|
1297
1301
|
*
|
|
1298
1302
|
* @example
|
|
1299
1303
|
* aes-256
|
|
@@ -1301,11 +1305,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1301
1305
|
systemDiskEncryptAlgorithm?: string;
|
|
1302
1306
|
/**
|
|
1303
1307
|
* @remarks
|
|
1304
|
-
*
|
|
1308
|
+
* Whether to encrypt the system disk. Valid values:
|
|
1305
1309
|
*
|
|
1306
|
-
* - true:
|
|
1310
|
+
* - true: encrypt.
|
|
1307
1311
|
*
|
|
1308
|
-
* - false:
|
|
1312
|
+
* - false: do not encrypt.
|
|
1309
1313
|
*
|
|
1310
1314
|
* @example
|
|
1311
1315
|
* false
|
|
@@ -1313,7 +1317,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1313
1317
|
systemDiskEncrypted?: boolean;
|
|
1314
1318
|
/**
|
|
1315
1319
|
* @remarks
|
|
1316
|
-
*
|
|
1320
|
+
* KMS key ID used by the system disk.
|
|
1317
1321
|
*
|
|
1318
1322
|
* @example
|
|
1319
1323
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1321,11 +1325,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1321
1325
|
systemDiskKmsKeyId?: string;
|
|
1322
1326
|
/**
|
|
1323
1327
|
* @remarks
|
|
1324
|
-
*
|
|
1325
|
-
* - PL0: moderate
|
|
1326
|
-
* - PL1: moderate
|
|
1327
|
-
* - PL2: high
|
|
1328
|
-
* - PL3: ultra-high
|
|
1328
|
+
* Node system disk performance level. Only applicable to ESSD disks. The performance level is related to disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1329
|
+
* - PL0: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1330
|
+
* - PL1: moderate peak concurrent I/O performance with relatively stable read/write latency.
|
|
1331
|
+
* - PL2: high peak concurrent I/O performance with stable read/write latency.
|
|
1332
|
+
* - PL3: ultra-high peak concurrent I/O performance with extremely stable read/write latency.
|
|
1329
1333
|
*
|
|
1330
1334
|
* @example
|
|
1331
1335
|
* PL1
|
|
@@ -1333,11 +1337,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1333
1337
|
systemDiskPerformanceLevel?: string;
|
|
1334
1338
|
/**
|
|
1335
1339
|
* @remarks
|
|
1336
|
-
*
|
|
1340
|
+
* Pre-configured read/write IOPS for the node system disk.
|
|
1337
1341
|
*
|
|
1338
|
-
* Valid values: 0 to min{50,000, 1000
|
|
1342
|
+
* Valid values: 0 to min{50,000, 1000\\*capacity - baseline performance}. Baseline performance = min{1,800+50\\*capacity, 50000}.
|
|
1339
1343
|
*
|
|
1340
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL
|
|
1344
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1341
1345
|
*
|
|
1342
1346
|
* @example
|
|
1343
1347
|
* 1000
|
|
@@ -1345,7 +1349,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1345
1349
|
systemDiskProvisionedIops?: number;
|
|
1346
1350
|
/**
|
|
1347
1351
|
* @remarks
|
|
1348
|
-
*
|
|
1352
|
+
* Node system disk size. Unit: GiB.
|
|
1349
1353
|
*
|
|
1350
1354
|
* Valid values: [20,2048\\].
|
|
1351
1355
|
*
|
|
@@ -1355,7 +1359,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1355
1359
|
systemDiskSize?: number;
|
|
1356
1360
|
/**
|
|
1357
1361
|
* @remarks
|
|
1358
|
-
*
|
|
1362
|
+
* System disk snapshot policy.
|
|
1359
1363
|
*
|
|
1360
1364
|
* @example
|
|
1361
1365
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1363,16 +1367,16 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1363
1367
|
systemDiskSnapshotPolicyId?: string;
|
|
1364
1368
|
/**
|
|
1365
1369
|
* @remarks
|
|
1366
|
-
* Tags
|
|
1370
|
+
* Tags added only to ECS instances.
|
|
1367
1371
|
*
|
|
1368
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with
|
|
1372
|
+
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with “aliyun” or “acs:”, or contain “https://” or “http://”.
|
|
1369
1373
|
*/
|
|
1370
1374
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1371
1375
|
/**
|
|
1372
1376
|
* @remarks
|
|
1373
|
-
*
|
|
1377
|
+
* List of vSwitch IDs. Valid values: [1,8\\].
|
|
1374
1378
|
*
|
|
1375
|
-
* > To ensure high availability, select vSwitches in different zones.
|
|
1379
|
+
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1376
1380
|
*
|
|
1377
1381
|
* This parameter is required.
|
|
1378
1382
|
*/
|
|
@@ -1391,11 +1395,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1391
1395
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1392
1396
|
/**
|
|
1393
1397
|
* @remarks
|
|
1394
|
-
*
|
|
1398
|
+
* Whether to enable confidential computing for the cluster.
|
|
1395
1399
|
*
|
|
1396
|
-
* - true:
|
|
1400
|
+
* - true: enable confidential computing.
|
|
1397
1401
|
*
|
|
1398
|
-
* - false:
|
|
1402
|
+
* - false: disable confidential computing.
|
|
1399
1403
|
*
|
|
1400
1404
|
* @example
|
|
1401
1405
|
* true
|
|
@@ -1415,19 +1419,19 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1415
1419
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1416
1420
|
/**
|
|
1417
1421
|
* @remarks
|
|
1418
|
-
*
|
|
1422
|
+
* Node pool intelligent managed configuration.
|
|
1419
1423
|
*/
|
|
1420
1424
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1421
1425
|
/**
|
|
1422
1426
|
* @remarks
|
|
1423
|
-
*
|
|
1427
|
+
* Auto scaling configuration.
|
|
1424
1428
|
*/
|
|
1425
1429
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1426
1430
|
/**
|
|
1427
1431
|
* @remarks
|
|
1428
|
-
* [
|
|
1432
|
+
* [Deprecated] Use desired_size instead.
|
|
1429
1433
|
*
|
|
1430
|
-
*
|
|
1434
|
+
* Number of nodes in the node pool.
|
|
1431
1435
|
*
|
|
1432
1436
|
* @example
|
|
1433
1437
|
* null
|
|
@@ -1437,14 +1441,14 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1437
1441
|
count?: number;
|
|
1438
1442
|
/**
|
|
1439
1443
|
* @remarks
|
|
1440
|
-
*
|
|
1444
|
+
* Lingjun node pool configuration.
|
|
1441
1445
|
*/
|
|
1442
1446
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1443
1447
|
/**
|
|
1444
1448
|
* @remarks
|
|
1445
|
-
*
|
|
1446
|
-
* - `true`: host network. Pods directly use the host network stack
|
|
1447
|
-
* - `false`: container network. Pods have independent network
|
|
1449
|
+
* Whether the Pod network mode uses host network mode.
|
|
1450
|
+
* - `true`: host network. Pods directly use the host network stack, sharing the IP address and ports with the host.
|
|
1451
|
+
* - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
|
|
1448
1452
|
*
|
|
1449
1453
|
* @example
|
|
1450
1454
|
* true
|
|
@@ -1452,19 +1456,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1452
1456
|
hostNetwork?: boolean;
|
|
1453
1457
|
/**
|
|
1454
1458
|
* @remarks
|
|
1455
|
-
* [
|
|
1459
|
+
* [Deprecated]
|
|
1456
1460
|
*
|
|
1457
|
-
*
|
|
1461
|
+
* Edge node pool configuration.
|
|
1458
1462
|
*
|
|
1459
1463
|
* @deprecated
|
|
1460
1464
|
*/
|
|
1461
1465
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1462
1466
|
/**
|
|
1463
1467
|
* @remarks
|
|
1464
|
-
*
|
|
1468
|
+
* Network type of the edge node pool. This parameter takes effect only for node pools of `edge` type. Valid values:
|
|
1465
1469
|
*
|
|
1466
|
-
* - `basic`: public network. Nodes in
|
|
1467
|
-
* - `private`: private network. Nodes in
|
|
1470
|
+
* - `basic`: public network. Nodes in the node pool communicate with cloud nodes over the public network. Applications in the node pool cannot directly access the cloud VPC internal network.
|
|
1471
|
+
* - `private`: private network. Nodes in the node pool connect cloud and on-premises networks through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1468
1472
|
*
|
|
1469
1473
|
* @example
|
|
1470
1474
|
* basic
|
|
@@ -1472,9 +1476,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1472
1476
|
interconnectMode?: string;
|
|
1473
1477
|
/**
|
|
1474
1478
|
* @remarks
|
|
1475
|
-
*
|
|
1476
|
-
* - `true`:
|
|
1477
|
-
* - `false`:
|
|
1479
|
+
* Whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1480
|
+
* - `true`: connected. All nodes in this node pool have Layer 3 network connectivity.
|
|
1481
|
+
* - `false`: not connected. All hosts in this node pool do not have Layer 3 network connectivity.
|
|
1478
1482
|
*
|
|
1479
1483
|
* @example
|
|
1480
1484
|
* true
|
|
@@ -1482,19 +1486,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1482
1486
|
intranet?: boolean;
|
|
1483
1487
|
/**
|
|
1484
1488
|
* @remarks
|
|
1485
|
-
*
|
|
1489
|
+
* Cluster-related configuration.
|
|
1486
1490
|
*/
|
|
1487
1491
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1488
1492
|
/**
|
|
1489
1493
|
* @remarks
|
|
1490
|
-
*
|
|
1494
|
+
* Node pool managed feature configuration.
|
|
1491
1495
|
*/
|
|
1492
1496
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1493
1497
|
/**
|
|
1494
1498
|
* @remarks
|
|
1495
|
-
* [
|
|
1499
|
+
* [Deprecated]
|
|
1496
1500
|
*
|
|
1497
|
-
*
|
|
1501
|
+
* Maximum number of nodes allowed in the edge node pool.
|
|
1498
1502
|
*
|
|
1499
1503
|
* @example
|
|
1500
1504
|
* null
|
|
@@ -1504,27 +1508,27 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1504
1508
|
maxNodes?: number;
|
|
1505
1509
|
/**
|
|
1506
1510
|
* @remarks
|
|
1507
|
-
*
|
|
1511
|
+
* Node component list.
|
|
1508
1512
|
*/
|
|
1509
1513
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1510
1514
|
/**
|
|
1511
1515
|
* @remarks
|
|
1512
|
-
*
|
|
1516
|
+
* Node configuration.
|
|
1513
1517
|
*/
|
|
1514
1518
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1515
1519
|
/**
|
|
1516
1520
|
* @remarks
|
|
1517
|
-
*
|
|
1521
|
+
* Node pool configuration.
|
|
1518
1522
|
*/
|
|
1519
1523
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1520
1524
|
/**
|
|
1521
1525
|
* @remarks
|
|
1522
|
-
*
|
|
1526
|
+
* Node pool scaling group configuration.
|
|
1523
1527
|
*/
|
|
1524
1528
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1525
1529
|
/**
|
|
1526
1530
|
* @remarks
|
|
1527
|
-
*
|
|
1531
|
+
* Confidential computing cluster configuration.
|
|
1528
1532
|
*/
|
|
1529
1533
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1530
1534
|
static names(): {
|