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