@alicloud/cs20151215 7.0.1 → 7.0.2
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 +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -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 +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -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/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 +16 -12
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- 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: Disables 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,9 +45,9 @@ 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
|
-
* - `PayByTraffic`: pay-by-
|
|
50
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
52
51
|
*
|
|
53
52
|
* Default value: `PayByBandwidth`.
|
|
54
53
|
*
|
|
@@ -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 the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum instance counts. For clusters of version 1.24 or later, instant node elasticity is enabled by default. For clusters of versions earlier than 1.24, node auto scaling is enabled 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 elastic IP address (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 scalable instances in the node pool, excluding your existing instances. This parameter 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 scalable instances in the node pool, excluding your existing instances. This parameter 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 number of instances is not 0, the corresponding number of ECS instances is automatically created after the scaling group takes effect. Settings take effect after the elastic scaling group is activated, and instances are automatically created.
|
|
111
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the elastic 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 elastic scaling instance type. This parameter 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 with 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 with 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 the CloudMonitor agent 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 the CloudMonitor agent on ECS nodes.
|
|
245
245
|
*
|
|
246
|
-
* - `false`:
|
|
246
|
+
* - `false`: Does not install the CloudMonitor agent 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 pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
259
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
260
260
|
*
|
|
261
261
|
* Default value: `none`.
|
|
262
262
|
*
|
|
@@ -266,27 +266,27 @@ 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
|
-
*
|
|
285
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
286
286
|
*
|
|
287
|
-
* - For Linux
|
|
287
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
288
288
|
*
|
|
289
|
-
* - For Windows
|
|
289
|
+
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
290
290
|
*
|
|
291
291
|
* @example
|
|
292
292
|
* aliyun.com192.XX.YY.55test
|
|
@@ -294,7 +294,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
294
294
|
nodeNameMode?: string;
|
|
295
295
|
/**
|
|
296
296
|
* @remarks
|
|
297
|
-
*
|
|
297
|
+
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is executed. 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 the 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 user data script is executed. 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. This parameter 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. This parameter 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. This parameter 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. This parameter 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. This parameter 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 automatic upgrade. Valid values:
|
|
494
494
|
*
|
|
495
|
-
* - `true`:
|
|
495
|
+
* - `true`: enables automatic upgrade.
|
|
496
496
|
*
|
|
497
|
-
* - `false`:
|
|
497
|
+
* - `false`: disables automatic 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. Specify either this parameter or `surge_percentage`.
|
|
519
519
|
*
|
|
520
|
-
* Nodes become unavailable during upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
520
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
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,9 +527,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
527
527
|
surge?: number;
|
|
528
528
|
/**
|
|
529
529
|
* @remarks
|
|
530
|
-
*
|
|
530
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
531
531
|
*
|
|
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
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage of extra nodes is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
533
533
|
*
|
|
534
534
|
* @example
|
|
535
535
|
* 0
|
|
@@ -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. This parameter takes effect only when `enable=true`.
|
|
554
554
|
*
|
|
555
|
-
* - `true`:
|
|
555
|
+
* - `true`: automatically repairs nodes.
|
|
556
556
|
*
|
|
557
|
-
* - `false`:
|
|
557
|
+
* - `false`: does not automatically repair nodes.
|
|
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. This parameter takes effect only when `enable=true`.
|
|
573
|
+
* - `true`: enables automatic upgrade.
|
|
574
|
+
* - `false`: disables automatic 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. This parameter 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,16 @@ 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
605
|
/**
|
|
606
606
|
* @remarks
|
|
607
|
-
*
|
|
607
|
+
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
608
608
|
*
|
|
609
|
-
* - `true`:
|
|
609
|
+
* - `true`: enables the managed feature.
|
|
610
610
|
*
|
|
611
|
-
* - `false`:
|
|
611
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
612
612
|
*
|
|
613
613
|
* Default value: false.
|
|
614
614
|
*
|
|
@@ -618,9 +618,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
618
618
|
enable?: boolean;
|
|
619
619
|
/**
|
|
620
620
|
* @remarks
|
|
621
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the
|
|
621
|
+
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
622
622
|
*
|
|
623
|
-
*
|
|
623
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
624
624
|
*
|
|
625
625
|
* @deprecated
|
|
626
626
|
*/
|
|
@@ -639,7 +639,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
639
639
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
640
640
|
/**
|
|
641
641
|
* @remarks
|
|
642
|
-
*
|
|
642
|
+
* The node component custom configuration.
|
|
643
643
|
*
|
|
644
644
|
* @example
|
|
645
645
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -661,12 +661,12 @@ export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $d
|
|
|
661
661
|
export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
662
662
|
/**
|
|
663
663
|
* @remarks
|
|
664
|
-
*
|
|
664
|
+
* The node component configuration.
|
|
665
665
|
*/
|
|
666
666
|
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
667
667
|
/**
|
|
668
668
|
* @remarks
|
|
669
|
-
*
|
|
669
|
+
* The node component name.
|
|
670
670
|
*
|
|
671
671
|
* @example
|
|
672
672
|
* kubelet
|
|
@@ -674,7 +674,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
674
674
|
name?: string;
|
|
675
675
|
/**
|
|
676
676
|
* @remarks
|
|
677
|
-
*
|
|
677
|
+
* The node component version.
|
|
678
678
|
*
|
|
679
679
|
* @example
|
|
680
680
|
* 1.33.3-aliyun.1
|
|
@@ -694,7 +694,7 @@ export declare class CreateClusterNodePoolRequestNodeComponents extends $dara.Mo
|
|
|
694
694
|
export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
695
695
|
/**
|
|
696
696
|
* @remarks
|
|
697
|
-
* Kubelet parameter
|
|
697
|
+
* The Kubelet parameter settings.
|
|
698
698
|
*/
|
|
699
699
|
kubeletConfiguration?: KubeletConfig;
|
|
700
700
|
static names(): {
|
|
@@ -711,7 +711,7 @@ export declare class CreateClusterNodePoolRequestNodeConfig extends $dara.Model
|
|
|
711
711
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
712
712
|
/**
|
|
713
713
|
* @remarks
|
|
714
|
-
*
|
|
714
|
+
* The node pool name.
|
|
715
715
|
*
|
|
716
716
|
* This parameter is required.
|
|
717
717
|
*
|
|
@@ -721,9 +721,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
721
721
|
name?: string;
|
|
722
722
|
/**
|
|
723
723
|
* @remarks
|
|
724
|
-
*
|
|
724
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
725
725
|
*
|
|
726
|
-
* A resource can
|
|
726
|
+
* 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
727
|
*
|
|
728
728
|
* @example
|
|
729
729
|
* rg-acfmyvw3wjmb****
|
|
@@ -731,9 +731,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
731
731
|
resourceGroupId?: string;
|
|
732
732
|
/**
|
|
733
733
|
* @remarks
|
|
734
|
-
*
|
|
734
|
+
* The node pool type. Valid values:
|
|
735
735
|
*
|
|
736
|
-
* - `ess`: standard node pool (includes managed and
|
|
736
|
+
* - `ess`: standard node pool (includes managed features and automatic elastic scaling).
|
|
737
737
|
* - `edge`: edge node pool.
|
|
738
738
|
* - `lingjun`: Lingjun node pool.
|
|
739
739
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -756,7 +756,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
756
756
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
757
757
|
/**
|
|
758
758
|
* @remarks
|
|
759
|
-
*
|
|
759
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
760
760
|
*
|
|
761
761
|
* @example
|
|
762
762
|
* eap-bp67acfmxazb4****
|
|
@@ -764,10 +764,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
764
764
|
id?: string;
|
|
765
765
|
/**
|
|
766
766
|
* @remarks
|
|
767
|
-
*
|
|
768
|
-
* - `Open`:
|
|
769
|
-
* - `Target`:
|
|
770
|
-
* - `None`:
|
|
767
|
+
* The private node pool type. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
|
|
768
|
+
* - `Open`: Open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
769
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to start instances. If the private pool capacity is unavailable, instance startup fails.
|
|
770
|
+
* - `None`: No private pool mode. Private pool capacity is not used for instance startup.
|
|
771
771
|
*
|
|
772
772
|
* @example
|
|
773
773
|
* Target
|
|
@@ -787,15 +787,15 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
787
787
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
788
788
|
/**
|
|
789
789
|
* @remarks
|
|
790
|
-
*
|
|
790
|
+
* 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
791
|
*/
|
|
792
792
|
privatePoolIds?: string[];
|
|
793
793
|
/**
|
|
794
794
|
* @remarks
|
|
795
|
-
*
|
|
796
|
-
* PrivatePoolFirst:
|
|
797
|
-
* PrivatePoolOnly:
|
|
798
|
-
* None:
|
|
795
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated by elasticity assurance or capacity reservation services and public pools. Valid values:
|
|
796
|
+
* PrivatePoolFirst: Private pool first. When this strategy is selected and resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open private pools are automatically matched. If no matching private pool is available, public pool resources are used.
|
|
797
|
+
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance startup fails.
|
|
798
|
+
* None: No resource pool strategy is used.
|
|
799
799
|
* Default value: None.
|
|
800
800
|
*
|
|
801
801
|
* @example
|
|
@@ -816,7 +816,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
816
816
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
817
817
|
/**
|
|
818
818
|
* @remarks
|
|
819
|
-
*
|
|
819
|
+
* The spot instance type.
|
|
820
820
|
*
|
|
821
821
|
* @example
|
|
822
822
|
* ecs.c6.large
|
|
@@ -824,7 +824,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
824
824
|
instanceType?: string;
|
|
825
825
|
/**
|
|
826
826
|
* @remarks
|
|
827
|
-
*
|
|
827
|
+
* The maximum price per instance.
|
|
828
828
|
* <props="china">Unit: CNY/hour.
|
|
829
829
|
*
|
|
830
830
|
*
|
|
@@ -849,7 +849,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
849
849
|
export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
850
850
|
/**
|
|
851
851
|
* @remarks
|
|
852
|
-
*
|
|
852
|
+
* The tag key.
|
|
853
853
|
*
|
|
854
854
|
* @example
|
|
855
855
|
* node-k-1
|
|
@@ -857,7 +857,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
857
857
|
key?: string;
|
|
858
858
|
/**
|
|
859
859
|
* @remarks
|
|
860
|
-
*
|
|
860
|
+
* The tag value.
|
|
861
861
|
*
|
|
862
862
|
* @example
|
|
863
863
|
* node-v-1
|
|
@@ -877,10 +877,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
877
877
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
878
878
|
/**
|
|
879
879
|
* @remarks
|
|
880
|
-
*
|
|
880
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
881
881
|
*
|
|
882
|
-
* - `true`:
|
|
883
|
-
* - `false`:
|
|
882
|
+
* - `true`: enables auto-renewal.
|
|
883
|
+
* - `false`: disables auto-renewal.
|
|
884
884
|
*
|
|
885
885
|
* Default value: `false`.
|
|
886
886
|
*
|
|
@@ -890,7 +890,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
890
890
|
autoRenew?: boolean;
|
|
891
891
|
/**
|
|
892
892
|
* @remarks
|
|
893
|
-
*
|
|
893
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
894
894
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
895
895
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
896
896
|
*
|
|
@@ -912,10 +912,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
912
912
|
cisEnabled?: boolean;
|
|
913
913
|
/**
|
|
914
914
|
* @remarks
|
|
915
|
-
*
|
|
915
|
+
* Specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and spot instances cannot be created due to price, inventory, or other reasons. Valid values:
|
|
916
916
|
*
|
|
917
|
-
* - `true`:
|
|
918
|
-
* - `false`:
|
|
917
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
918
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
919
919
|
*
|
|
920
920
|
* @example
|
|
921
921
|
* true
|
|
@@ -923,15 +923,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
923
923
|
compensateWithOnDemand?: boolean;
|
|
924
924
|
/**
|
|
925
925
|
* @remarks
|
|
926
|
-
*
|
|
926
|
+
* The data cloud disk configuration for nodes in the node pool.
|
|
927
927
|
*/
|
|
928
928
|
dataDisks?: DataDisk[];
|
|
929
929
|
/**
|
|
930
930
|
* @remarks
|
|
931
|
-
*
|
|
931
|
+
* 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 ECS instances are created in a deployment set, they are started across the specified region based on the preconfigured deployment strategy.
|
|
932
932
|
*
|
|
933
933
|
*
|
|
934
|
-
* >Notice: After a deployment set
|
|
934
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node scale-out failures.
|
|
935
935
|
*
|
|
936
936
|
* @example
|
|
937
937
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -939,11 +939,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
939
939
|
deploymentsetId?: string;
|
|
940
940
|
/**
|
|
941
941
|
* @remarks
|
|
942
|
-
*
|
|
942
|
+
* The desired number of nodes in the node pool.
|
|
943
943
|
*
|
|
944
|
-
* The total number of nodes that the node pool should maintain. We recommend
|
|
944
|
+
* 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
945
|
*
|
|
946
|
-
* If
|
|
946
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
947
|
+
* [_single.params.body.props.scaling_group
|
|
947
948
|
*
|
|
948
949
|
* @example
|
|
949
950
|
* 0
|
|
@@ -951,12 +952,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
951
952
|
desiredSize?: number;
|
|
952
953
|
/**
|
|
953
954
|
* @remarks
|
|
954
|
-
*
|
|
955
|
+
* The block device initialization configuration.
|
|
955
956
|
*/
|
|
956
957
|
diskInit?: DiskInit[];
|
|
957
958
|
/**
|
|
958
959
|
* @remarks
|
|
959
|
-
*
|
|
960
|
+
* The custom image ID. The system-provided image is used by default.
|
|
960
961
|
*
|
|
961
962
|
* @example
|
|
962
963
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -964,13 +965,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
964
965
|
imageId?: string;
|
|
965
966
|
/**
|
|
966
967
|
* @remarks
|
|
967
|
-
*
|
|
968
|
+
* The operating system image type. Valid values:
|
|
968
969
|
*
|
|
969
970
|
* - `AliyunLinux`: Alinux2 image.
|
|
970
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
971
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
971
972
|
* - `AliyunLinux3`: Alinux3 image.
|
|
972
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
973
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
973
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
974
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
974
975
|
* - `CentOS`: CentOS image.
|
|
975
976
|
* - `Windows`: Windows image.
|
|
976
977
|
* - `WindowsCore`: WindowsCore image.
|
|
@@ -983,11 +984,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
983
984
|
imageType?: string;
|
|
984
985
|
/**
|
|
985
986
|
* @remarks
|
|
986
|
-
*
|
|
987
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
987
988
|
*
|
|
988
|
-
* - `PrePaid`: subscription
|
|
989
|
+
* - `PrePaid`: subscription.
|
|
989
990
|
*
|
|
990
|
-
* - `PostPaid`: pay-as-you-go
|
|
991
|
+
* - `PostPaid`: pay-as-you-go.
|
|
991
992
|
*
|
|
992
993
|
* Default value: `PostPaid`.
|
|
993
994
|
*
|
|
@@ -999,32 +1000,31 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
999
1000
|
instanceChargeType?: string;
|
|
1000
1001
|
/**
|
|
1001
1002
|
* @remarks
|
|
1002
|
-
* ECS instance metadata access configuration.
|
|
1003
|
+
* The ECS instance metadata access configuration.
|
|
1003
1004
|
*/
|
|
1004
1005
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
1005
1006
|
/**
|
|
1006
1007
|
* @remarks
|
|
1007
|
-
*
|
|
1008
|
+
* The instance attribute configuration.
|
|
1008
1009
|
*/
|
|
1009
1010
|
instancePatterns?: InstancePatterns[];
|
|
1010
1011
|
/**
|
|
1011
1012
|
* @remarks
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
* Supported number of instance types: [1,10]
|
|
1013
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, eligible instance types are selected from this list to create instances.
|
|
1015
1014
|
*
|
|
1015
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1016
1016
|
*
|
|
1017
|
-
* > To ensure high availability,
|
|
1017
|
+
* > To ensure high availability, select multiple instance types.
|
|
1018
1018
|
*
|
|
1019
1019
|
* This parameter is required.
|
|
1020
1020
|
*/
|
|
1021
1021
|
instanceTypes?: string[];
|
|
1022
1022
|
/**
|
|
1023
1023
|
* @remarks
|
|
1024
|
-
*
|
|
1024
|
+
* The billing method of the public IP address. Valid values:
|
|
1025
1025
|
*
|
|
1026
1026
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1027
|
-
* - PayByTraffic: pay-by-
|
|
1027
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1028
1028
|
*
|
|
1029
1029
|
* @example
|
|
1030
1030
|
* PayByTraffic
|
|
@@ -1032,7 +1032,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1032
1032
|
internetChargeType?: string;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* @remarks
|
|
1035
|
-
*
|
|
1035
|
+
* The maximum outbound public bandwidth of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1036
1036
|
*
|
|
1037
1037
|
* @example
|
|
1038
1038
|
* 5
|
|
@@ -1040,9 +1040,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1040
1040
|
internetMaxBandwidthOut?: number;
|
|
1041
1041
|
/**
|
|
1042
1042
|
* @remarks
|
|
1043
|
-
*
|
|
1043
|
+
* The name of the key pair for password-free logon. Specify either this parameter or `login_password`.
|
|
1044
1044
|
*
|
|
1045
|
-
* >
|
|
1045
|
+
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1046
1046
|
*
|
|
1047
1047
|
* @example
|
|
1048
1048
|
* np-key-name
|
|
@@ -1050,11 +1050,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1050
1050
|
keyPair?: string;
|
|
1051
1051
|
/**
|
|
1052
1052
|
* @remarks
|
|
1053
|
-
*
|
|
1053
|
+
* Specifies whether scaled-out ECS instances use non-root logon.
|
|
1054
1054
|
*
|
|
1055
|
-
* - true:
|
|
1055
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1056
1056
|
*
|
|
1057
|
-
* - false:
|
|
1057
|
+
* - false: logs on as the root user.
|
|
1058
1058
|
*
|
|
1059
1059
|
* @example
|
|
1060
1060
|
* true
|
|
@@ -1062,7 +1062,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1062
1062
|
loginAsNonRoot?: boolean;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* @remarks
|
|
1065
|
-
* SSH
|
|
1065
|
+
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1066
1066
|
*
|
|
1067
1067
|
* @example
|
|
1068
1068
|
* ****
|
|
@@ -1070,15 +1070,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1070
1070
|
loginPassword?: string;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* @remarks
|
|
1073
|
-
*
|
|
1073
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1074
1074
|
*
|
|
1075
|
-
* - `PRIORITY`:
|
|
1075
|
+
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1076
1076
|
*
|
|
1077
|
-
* - `COST_OPTIMIZED`:
|
|
1077
|
+
* - `COST_OPTIMIZED`: Creates instances by trying instance types in ascending order of vCPU unit price. When the scaling configuration sets multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1078
1078
|
*
|
|
1079
|
-
*
|
|
1079
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1080
1080
|
*
|
|
1081
|
-
* - `BALANCE`:
|
|
1081
|
+
* - `BALANCE`: Allocates ECS instances evenly across the zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1082
1082
|
*
|
|
1083
1083
|
* Default value: `PRIORITY`.
|
|
1084
1084
|
*
|
|
@@ -1088,7 +1088,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1088
1088
|
multiAzPolicy?: string;
|
|
1089
1089
|
/**
|
|
1090
1090
|
* @remarks
|
|
1091
|
-
*
|
|
1091
|
+
* 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
1092
|
*
|
|
1093
1093
|
* @example
|
|
1094
1094
|
* 0
|
|
@@ -1096,7 +1096,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1096
1096
|
onDemandBaseCapacity?: number;
|
|
1097
1097
|
/**
|
|
1098
1098
|
* @remarks
|
|
1099
|
-
*
|
|
1099
|
+
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) is met. Valid values: [0,100\\].
|
|
1100
1100
|
*
|
|
1101
1101
|
* @example
|
|
1102
1102
|
* 20
|
|
@@ -1104,7 +1104,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1104
1104
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1105
1105
|
/**
|
|
1106
1106
|
* @remarks
|
|
1107
|
-
*
|
|
1107
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1108
1108
|
*
|
|
1109
1109
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1110
1110
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1115,10 +1115,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1115
1115
|
period?: number;
|
|
1116
1116
|
/**
|
|
1117
1117
|
* @remarks
|
|
1118
|
-
*
|
|
1118
|
+
* The billing epoch of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1119
1119
|
*
|
|
1120
|
-
* - `Month`:
|
|
1121
|
-
* - `Week`:
|
|
1120
|
+
* - `Month`: uses month as the compute unit (CU).
|
|
1121
|
+
* - `Week`: uses week as the compute unit (CU).
|
|
1122
1122
|
*
|
|
1123
1123
|
* Default value: `Month`.
|
|
1124
1124
|
*
|
|
@@ -1128,9 +1128,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1128
1128
|
periodUnit?: string;
|
|
1129
1129
|
/**
|
|
1130
1130
|
* @remarks
|
|
1131
|
-
* [
|
|
1131
|
+
* [This field is deprecated] Use the `image_type` parameter instead.
|
|
1132
1132
|
*
|
|
1133
|
-
*
|
|
1133
|
+
* The operating system distribution. Valid values:
|
|
1134
1134
|
* - `CentOS`
|
|
1135
1135
|
* - `AliyunLinux`
|
|
1136
1136
|
* - `Windows`
|
|
@@ -1146,17 +1146,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1146
1146
|
platform?: string;
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @remarks
|
|
1149
|
-
*
|
|
1149
|
+
* The private node pool configuration.
|
|
1150
1150
|
*/
|
|
1151
1151
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1152
1152
|
/**
|
|
1153
1153
|
* @remarks
|
|
1154
|
-
* Worker RAM role name.
|
|
1154
|
+
* The Worker RAM role name.
|
|
1155
1155
|
*
|
|
1156
|
-
* *
|
|
1157
|
-
* *
|
|
1156
|
+
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1157
|
+
* * If specified, the RAM role must be a **normal service role** with its **trusted service** set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1158
1158
|
*
|
|
1159
|
-
* >Notice: This parameter is supported only
|
|
1159
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.
|
|
1160
1160
|
*
|
|
1161
1161
|
* @example
|
|
1162
1162
|
* example-role
|
|
@@ -1164,22 +1164,22 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1164
1164
|
ramRoleName?: string;
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @remarks
|
|
1167
|
-
* RDS
|
|
1167
|
+
* The list of RDS instances.
|
|
1168
1168
|
*/
|
|
1169
1169
|
rdsInstances?: string[];
|
|
1170
1170
|
/**
|
|
1171
1171
|
* @remarks
|
|
1172
|
-
*
|
|
1172
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1173
1173
|
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1174
1174
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1175
1175
|
*/
|
|
1176
1176
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1177
1177
|
/**
|
|
1178
1178
|
* @remarks
|
|
1179
|
-
*
|
|
1179
|
+
* The scaling group mode. Valid values:
|
|
1180
1180
|
*
|
|
1181
|
-
* - `release`:
|
|
1182
|
-
* - `recycle`:
|
|
1181
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1182
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources, but storage fees still apply, except for instances with local disks.
|
|
1183
1183
|
*
|
|
1184
1184
|
* Default value: `release`.
|
|
1185
1185
|
*
|
|
@@ -1189,7 +1189,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1189
1189
|
scalingPolicy?: string;
|
|
1190
1190
|
/**
|
|
1191
1191
|
* @remarks
|
|
1192
|
-
*
|
|
1192
|
+
* 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
1193
|
*
|
|
1194
1194
|
* @example
|
|
1195
1195
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1199,15 +1199,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1199
1199
|
securityGroupId?: string;
|
|
1200
1200
|
/**
|
|
1201
1201
|
* @remarks
|
|
1202
|
-
*
|
|
1202
|
+
* The list of security group IDs. Specify either this parameter or `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
1203
|
*/
|
|
1204
1204
|
securityGroupIds?: string[];
|
|
1205
1205
|
/**
|
|
1206
1206
|
* @remarks
|
|
1207
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1207
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1208
1208
|
*
|
|
1209
|
-
* - `true`:
|
|
1210
|
-
* - `false`:
|
|
1209
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1210
|
+
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1211
1211
|
*
|
|
1212
1212
|
* Default value: `false`.
|
|
1213
1213
|
*
|
|
@@ -1217,7 +1217,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1217
1217
|
securityHardeningOs?: boolean;
|
|
1218
1218
|
/**
|
|
1219
1219
|
* @remarks
|
|
1220
|
-
*
|
|
1220
|
+
* 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
1221
|
*
|
|
1222
1222
|
* @example
|
|
1223
1223
|
* false
|
|
@@ -1225,7 +1225,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1225
1225
|
socEnabled?: boolean;
|
|
1226
1226
|
/**
|
|
1227
1227
|
* @remarks
|
|
1228
|
-
*
|
|
1228
|
+
* 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
1229
|
*
|
|
1230
1230
|
* @example
|
|
1231
1231
|
* 5
|
|
@@ -1233,10 +1233,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1233
1233
|
spotInstancePools?: number;
|
|
1234
1234
|
/**
|
|
1235
1235
|
* @remarks
|
|
1236
|
-
*
|
|
1236
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed when a reclamation notification is received. Valid values:
|
|
1237
1237
|
*
|
|
1238
|
-
* - `true`:
|
|
1239
|
-
* - `false`:
|
|
1238
|
+
* - `true`: Enables supplementation of spot instances.
|
|
1239
|
+
* - `false`: Disables supplementation of spot instances.
|
|
1240
1240
|
*
|
|
1241
1241
|
* @example
|
|
1242
1242
|
* false
|
|
@@ -1244,20 +1244,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1244
1244
|
spotInstanceRemedy?: boolean;
|
|
1245
1245
|
/**
|
|
1246
1246
|
* @remarks
|
|
1247
|
-
*
|
|
1247
|
+
* The market price range configuration for a single spot instance type.
|
|
1248
1248
|
*/
|
|
1249
1249
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1250
1250
|
/**
|
|
1251
1251
|
* @remarks
|
|
1252
|
-
*
|
|
1252
|
+
* The type of spot instance. Valid values:
|
|
1253
1253
|
*
|
|
1254
|
-
* - `NoSpot`: non-
|
|
1254
|
+
* - `NoSpot`: non-spot instance.
|
|
1255
1255
|
*
|
|
1256
|
-
* - `SpotWithPriceLimit`:
|
|
1256
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1257
1257
|
*
|
|
1258
|
-
* - `SpotAsPriceGo`:
|
|
1258
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1259
1259
|
*
|
|
1260
|
-
* For more information, see [
|
|
1260
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1261
1261
|
*
|
|
1262
1262
|
* @example
|
|
1263
1263
|
* NoSpot
|
|
@@ -1265,11 +1265,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1265
1265
|
spotStrategy?: string;
|
|
1266
1266
|
/**
|
|
1267
1267
|
* @remarks
|
|
1268
|
-
*
|
|
1269
|
-
* - true:
|
|
1270
|
-
* - false:
|
|
1268
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1269
|
+
* - true: Enabled.
|
|
1270
|
+
* - false: Disabled.
|
|
1271
1271
|
*
|
|
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).
|
|
1272
|
+
* 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
1273
|
*
|
|
1274
1274
|
* @example
|
|
1275
1275
|
* true
|
|
@@ -1277,17 +1277,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1277
1277
|
systemDiskBurstingEnabled?: boolean;
|
|
1278
1278
|
/**
|
|
1279
1279
|
* @remarks
|
|
1280
|
-
*
|
|
1280
|
+
* The multiple cloud disk types for the system cloud disk. 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
1281
|
*/
|
|
1282
1282
|
systemDiskCategories?: string[];
|
|
1283
1283
|
/**
|
|
1284
1284
|
* @remarks
|
|
1285
|
-
*
|
|
1286
|
-
* - `cloud_efficiency`: ultra disk.
|
|
1285
|
+
* The type of the node system cloud disk. Valid values:
|
|
1286
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1287
1287
|
* - `cloud_ssd`: standard SSD.
|
|
1288
1288
|
* - `cloud_essd`: ESSD.
|
|
1289
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1290
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1289
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1290
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1291
1291
|
*
|
|
1292
1292
|
* Default value: `cloud_efficiency`.
|
|
1293
1293
|
*
|
|
@@ -1297,7 +1297,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1297
1297
|
systemDiskCategory?: string;
|
|
1298
1298
|
/**
|
|
1299
1299
|
* @remarks
|
|
1300
|
-
*
|
|
1300
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1301
1301
|
*
|
|
1302
1302
|
* @example
|
|
1303
1303
|
* aes-256
|
|
@@ -1305,11 +1305,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1305
1305
|
systemDiskEncryptAlgorithm?: string;
|
|
1306
1306
|
/**
|
|
1307
1307
|
* @remarks
|
|
1308
|
-
*
|
|
1308
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1309
1309
|
*
|
|
1310
|
-
* - true:
|
|
1310
|
+
* - true: Encrypted.
|
|
1311
1311
|
*
|
|
1312
|
-
* - false:
|
|
1312
|
+
* - false: Not encrypted.
|
|
1313
1313
|
*
|
|
1314
1314
|
* @example
|
|
1315
1315
|
* false
|
|
@@ -1317,7 +1317,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1317
1317
|
systemDiskEncrypted?: boolean;
|
|
1318
1318
|
/**
|
|
1319
1319
|
* @remarks
|
|
1320
|
-
* KMS key ID used by the system disk.
|
|
1320
|
+
* The KMS key ID used by the system cloud disk.
|
|
1321
1321
|
*
|
|
1322
1322
|
* @example
|
|
1323
1323
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1325,11 +1325,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1325
1325
|
systemDiskKmsKeyId?: string;
|
|
1326
1326
|
/**
|
|
1327
1327
|
* @remarks
|
|
1328
|
-
*
|
|
1329
|
-
* - PL0: moderate
|
|
1330
|
-
* - PL1: moderate
|
|
1331
|
-
* - PL2: high
|
|
1332
|
-
* - PL3: ultra-high
|
|
1328
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1329
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1330
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1331
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1332
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1333
1333
|
*
|
|
1334
1334
|
* @example
|
|
1335
1335
|
* PL1
|
|
@@ -1337,11 +1337,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1337
1337
|
systemDiskPerformanceLevel?: string;
|
|
1338
1338
|
/**
|
|
1339
1339
|
* @remarks
|
|
1340
|
-
*
|
|
1340
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1341
1341
|
*
|
|
1342
|
-
* 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}.
|
|
1343
1343
|
*
|
|
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).
|
|
1344
|
+
* 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
1345
|
*
|
|
1346
1346
|
* @example
|
|
1347
1347
|
* 1000
|
|
@@ -1349,7 +1349,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1349
1349
|
systemDiskProvisionedIops?: number;
|
|
1350
1350
|
/**
|
|
1351
1351
|
* @remarks
|
|
1352
|
-
*
|
|
1352
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1353
1353
|
*
|
|
1354
1354
|
* Valid values: [20,2048\\].
|
|
1355
1355
|
*
|
|
@@ -1359,7 +1359,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1359
1359
|
systemDiskSize?: number;
|
|
1360
1360
|
/**
|
|
1361
1361
|
* @remarks
|
|
1362
|
-
*
|
|
1362
|
+
* The system cloud disk snapshot policy.
|
|
1363
1363
|
*
|
|
1364
1364
|
* @example
|
|
1365
1365
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1369,14 +1369,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1369
1369
|
* @remarks
|
|
1370
1370
|
* Tags added only to ECS instances.
|
|
1371
1371
|
*
|
|
1372
|
-
* 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://".
|
|
1373
1373
|
*/
|
|
1374
1374
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1375
1375
|
/**
|
|
1376
1376
|
* @remarks
|
|
1377
|
-
*
|
|
1377
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1378
1378
|
*
|
|
1379
|
-
* > To ensure high availability,
|
|
1379
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1380
1380
|
*
|
|
1381
1381
|
* This parameter is required.
|
|
1382
1382
|
*/
|
|
@@ -1395,11 +1395,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1395
1395
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1396
1396
|
/**
|
|
1397
1397
|
* @remarks
|
|
1398
|
-
*
|
|
1398
|
+
* Specifies whether to enable confidential computing for the cluster.
|
|
1399
1399
|
*
|
|
1400
|
-
* - true:
|
|
1400
|
+
* - true: Enables confidential computing.
|
|
1401
1401
|
*
|
|
1402
|
-
* - false:
|
|
1402
|
+
* - false: Disables confidential computing.
|
|
1403
1403
|
*
|
|
1404
1404
|
* @example
|
|
1405
1405
|
* true
|
|
@@ -1419,19 +1419,19 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1419
1419
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1420
1420
|
/**
|
|
1421
1421
|
* @remarks
|
|
1422
|
-
*
|
|
1422
|
+
* The intelligent managed configuration for the node pool.
|
|
1423
1423
|
*/
|
|
1424
1424
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1425
1425
|
/**
|
|
1426
1426
|
* @remarks
|
|
1427
|
-
*
|
|
1427
|
+
* The automatic elastic scaling configuration.
|
|
1428
1428
|
*/
|
|
1429
1429
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @remarks
|
|
1432
|
-
* [
|
|
1432
|
+
* [This field is deprecated] Use desired_size instead.
|
|
1433
1433
|
*
|
|
1434
|
-
*
|
|
1434
|
+
* The number of nodes in the node pool.
|
|
1435
1435
|
*
|
|
1436
1436
|
* @example
|
|
1437
1437
|
* null
|
|
@@ -1441,14 +1441,14 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1441
1441
|
count?: number;
|
|
1442
1442
|
/**
|
|
1443
1443
|
* @remarks
|
|
1444
|
-
* Lingjun node pool configuration.
|
|
1444
|
+
* The Lingjun node pool configuration.
|
|
1445
1445
|
*/
|
|
1446
1446
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1447
1447
|
/**
|
|
1448
1448
|
* @remarks
|
|
1449
|
-
*
|
|
1450
|
-
* - `true`:
|
|
1451
|
-
* - `false`:
|
|
1449
|
+
* Specifies whether the pod network mode uses host network mode.
|
|
1450
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1451
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1452
1452
|
*
|
|
1453
1453
|
* @example
|
|
1454
1454
|
* true
|
|
@@ -1456,19 +1456,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1456
1456
|
hostNetwork?: boolean;
|
|
1457
1457
|
/**
|
|
1458
1458
|
* @remarks
|
|
1459
|
-
* [
|
|
1459
|
+
* [This field is deprecated]
|
|
1460
1460
|
*
|
|
1461
|
-
*
|
|
1461
|
+
* The edge node pool configuration.
|
|
1462
1462
|
*
|
|
1463
1463
|
* @deprecated
|
|
1464
1464
|
*/
|
|
1465
1465
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1466
1466
|
/**
|
|
1467
1467
|
* @remarks
|
|
1468
|
-
*
|
|
1468
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1469
1469
|
*
|
|
1470
|
-
* - `basic`:
|
|
1471
|
-
* - `private`:
|
|
1470
|
+
* - `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.
|
|
1471
|
+
* - `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
1472
|
*
|
|
1473
1473
|
* @example
|
|
1474
1474
|
* basic
|
|
@@ -1476,9 +1476,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1476
1476
|
interconnectMode?: string;
|
|
1477
1477
|
/**
|
|
1478
1478
|
* @remarks
|
|
1479
|
-
*
|
|
1480
|
-
* - `true`:
|
|
1481
|
-
* - `false`:
|
|
1479
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1480
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1481
|
+
* - `false`: Not connected. All hosts in the node pool do not have Layer 3 network connectivity.
|
|
1482
1482
|
*
|
|
1483
1483
|
* @example
|
|
1484
1484
|
* true
|
|
@@ -1486,19 +1486,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1486
1486
|
intranet?: boolean;
|
|
1487
1487
|
/**
|
|
1488
1488
|
* @remarks
|
|
1489
|
-
*
|
|
1489
|
+
* The cluster-related configuration.
|
|
1490
1490
|
*/
|
|
1491
1491
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1492
1492
|
/**
|
|
1493
1493
|
* @remarks
|
|
1494
|
-
*
|
|
1494
|
+
* The managed feature configuration of the node pool.
|
|
1495
1495
|
*/
|
|
1496
1496
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* @remarks
|
|
1499
|
-
* [
|
|
1499
|
+
* [This field is deprecated]
|
|
1500
1500
|
*
|
|
1501
|
-
*
|
|
1501
|
+
* The maximum number of nodes allowed in the edge node pool.
|
|
1502
1502
|
*
|
|
1503
1503
|
* @example
|
|
1504
1504
|
* null
|
|
@@ -1508,27 +1508,27 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1508
1508
|
maxNodes?: number;
|
|
1509
1509
|
/**
|
|
1510
1510
|
* @remarks
|
|
1511
|
-
*
|
|
1511
|
+
* The list of node components.
|
|
1512
1512
|
*/
|
|
1513
1513
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1514
1514
|
/**
|
|
1515
1515
|
* @remarks
|
|
1516
|
-
*
|
|
1516
|
+
* The node configuration.
|
|
1517
1517
|
*/
|
|
1518
1518
|
nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
|
|
1519
1519
|
/**
|
|
1520
1520
|
* @remarks
|
|
1521
|
-
*
|
|
1521
|
+
* The node pool configuration.
|
|
1522
1522
|
*/
|
|
1523
1523
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* @remarks
|
|
1526
|
-
*
|
|
1526
|
+
* The scaling group configuration of the node pool.
|
|
1527
1527
|
*/
|
|
1528
1528
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
1529
1529
|
/**
|
|
1530
1530
|
* @remarks
|
|
1531
|
-
*
|
|
1531
|
+
* The confidential computing cluster configuration.
|
|
1532
1532
|
*/
|
|
1533
1533
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
1534
1534
|
static names(): {
|